/* Colors */

:root {
  --background: #0c151d;
  --primary-color: #ffe071;
  --font-color: #ffffff;
  --secondary-font-color: #b0b0b0;
}

/* Colors */

/* General */

/* html {
} */

body {
  background-color: var(--background);
  color: var(--secondary-font-color);
  font-size: 22px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

a {
  color: inherit;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

[class*='container'] {
  margin: 0 auto;
  max-width: 787px;
  padding: 0 15px;
}

/* General */

/* Header */

.header {
  padding-top: clamp(50px, 10vw, 178px);
}

/* .header__container {
} */

/* .header__inner {
} */

.header__row {
  display: flex;
  align-items: center;
}

.header__avatar {
  max-width: clamp(124px, 20vw, 215px);
  max-height: 215px;
  width: 100%;
  margin-right: 40px;
  border: 5px solid var(--primary-color);
  border-radius: 50%;
}

/* .avatar {
} */

.avatar__image {
  border-radius: 50%;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 10px solid #ffffff;
}

/* .header__content {
} */

.header__title {
  font-size: 46px;
  display: block;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--font-color);
}

.header__position {
  color: var(--secondary-font-color);
  margin-bottom: 12px;
}

.header__social-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* .social-links {
} */

/* .social-links__item {
} */

.social-links__item a {
  transition: all 0.2s ease-in-out;
  height: 100%;
}

.social-links__item a:hover {
  opacity: 0.7;
}

@media (max-width: 1100px) {
  .header__row {
    flex-direction: column;
    text-align: center;
  }

  .header__avatar {
    margin-right: 0;
    margin-bottom: 40px;
    border-width: 3px;
  }

  .avatar__image {
    border-width: 5px;
  }

  .header__title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .header__position {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .header__social-links {
    justify-content: center;
  }
}

/* Header */

/* Stats */

.stats {
  margin-top: 50px;
}

/* .stats__container {
} */

/* .stats__inner {
} */

.stats__row {
  display: flex;
  justify-content: space-between;
}

.stats__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* gap: 8px; */
  max-width: 148px;
  text-align: center;
  line-height: 150%;
}

.stats__title {
  font-size: 24px;
}

/* .stats__text {
} */

@media (max-width: 1100px) {
  .stats__row {
    max-width: 400px;
    margin: 0 auto;
  }

  .stats__item {
    max-width: 102px;
    line-height: initial;
  }

  .stats__title {
    font-size: 16px;
  }

  .stats__text {
    font-size: 14px;
  }
}

/* Stats */

/* Projects */

.projects {
  margin-top: 67px;
}

/* .projects__container {
} */

/* .projects__inner {
} */

.project__row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(30px, 5vw, 48px) 32px;
}

.project__item {
  flex: 0 1 auto;
  position: relative;
}

.project__item:first-child::after {
  content: '';
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 45px;
  height: 45px;
  background: url('../images/icons/cursor.svg') no-repeat center;
  /* z-index: ; */
}

.item-project__image {
  border-radius: 15px;
  overflow: hidden;
  max-width: 362px;
}

.item-project__image > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.item-project__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  gap: 7px;
  transition: all 0.3s ease-in-out;
  background: rgba(255, 224, 113, 88%);
  border-radius: 15px;
  opacity: 0;
  z-index: 5;
}

.item-project__content:hover {
  opacity: 1;
}

.projects__item--active {
  opacity: 1;
}

.project__title {
  color: var(--background);
  margin-bottom: 5px;
}

.project__description {
  font-size: 14px;
  max-width: 287px;
  font-weight: 400;
  color: var(--background);
  margin-bottom: 15px;
}

.project__link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  transition: all 0.2s ease-in-out;
}

.project__link:hover {
  opacity: 0.7;
}

.project__study-projects {
  margin-top: clamp(30px, 5vw, 60px);
}

.study-projects {
  display: flex;
  justify-content: center;
}

.study-projects__link {
  /* display: block; */
  padding: 16px 30px;
  background: #16212b;
  border-radius: 15px;
  font-size: 18px;
  font-weight: 400;
  transition: all 0.2s ease-in-out;
}

.study-projects__link:hover {
  background: var(--primary-color);
  color: var(--background);
}

@media (max-width: 1100px) {
  .project__row {
    justify-content: center;
    gap: 30px 20px;
  }

  .project__item {
    flex: 0 1 100%;
    max-width: 362px;
  }
}

/* Projects */

/* Footer */

.footer {
  padding: clamp(50px, 5vw, 80px) 0;
}
*/

/* .footer__container {
} */

.footer__inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__copyright {
  text-align: center;
  font-size: clamp(14px, 4vw, 22px);
}

/* Footer */
