:root {
  --fontcolor: #333333;
  --bgcolor: #ffffff;
  --visitedcolor: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  font-family: Arial, sans-serif;
  background-color: var(--bgcolor);
  color: var(--fontcolor);
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 960px;
  min-width: 540px;
}

h1 {
  font-size: 24px;
}
h2 {
  font-size: 20px;
}

p {
  font-size: 18px;
}

ul,
li,
ol {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: var(--fontcolor);
}
a:hover {
  text-decoration: underline;
}
a:visited {
  color: var(--visitedcolor);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}
.info h1 {
  font-size: 28px;
}

.info p {
  font-size: 20px;
  margin: 10px 0;
}

.avator {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  overflow: hidden;
  transition: 0.5s;
}
.avator img {
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: 0.5s;
}
.avator:hover img {
  transform: scale(3);
}

section {
  /* border: 1px solid #eaeaea; */
  /* border-radius: 5px; */
  padding: 20px 0;
  margin: 10px;
  transition: all 0.3s;
}

section ul li {
  border: 1px solid #eaeaea;
  border-radius: 5px;
  padding: 20px;
  margin: 10px 0;
}

section ul li:hover {
  background-color: #fefefe;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}
section ul li:nth-child(even) {
  background-color: #fdfdfd;
}

.about {
  border: none;
}

.experience ul li {
  display: flex;
  align-items: center;
}

.experience ul li img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
}

.education ul {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.education ul li {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background-color: #eaeaea; */
  border-bottom: 1px solid #eaeaea;
}

.education ul li img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.skills ul li {
  list-style: circle;
}

.workslist {
  height: 100%;
  margin: 20px 0;
}

.workslist .swiper {
  width: 100%;
  margin: 20px 0;
}

.workslist .swiper-slide img {
  width: 100%;
  object-fit: contain;
}
.swiper-lazy-preloader{
  height: 400px;
  width: 100%;
}

footer {
  text-align: center;
  padding: 20px;
}

footer p {
  font-size: 14px;
}

@media screen and (max-width: 960px) {
  body {
    width: 100%;
    padding: 0 20px;
  }
}
