/* -------- Colors -------- */

:root {
  /* Principal */
  --red: #e3646e;
  --purple: #bb72e9;
  --blue: #3996db;
  --green: #82bc4f;
  --yellow: #eabd5f;

  /* Base */
  --gray-100: #e2e4e9;
  --gray-200: #c0c4ce;
  --gray-300: #878ea1;
  --gray-400: #292c34;
  --gray-500: #16181d;
  --gray-600: #0d0e11;
}

/* -------- Colors -------- */

/* -------- Fonts -------- */

:root {
  --font-family: 'Maven Pro', sans-serif;
  --second-family: 'Asap', sans-serif;
  --third-family: 'Inconsolata', sans-serif;
}

/* -------- Fonts -------- */

/* -------- General -------- */

html {
  min-height: 100%;
  font-size: 10px;
}

body {
  background-color: var(--gray-400);
  color: var(--gray-200);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 140%;
  font-family: var(--font-family);
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

[class*='__container'] {
  margin: 0 auto;
  padding: 0 15px;
  max-width: 918px;
}

/* -------- General -------- */

/* -------- Components -------- */

.highlight-text {
  color: var(--red);
}

.name-of-section {
  margin-bottom: 8px;
  color: var(--purple);
  font-weight: 400;
  font-size: 2rem;
  line-height: 120%;
  font-family: var(--third-family);
  text-align: center;
}

.title-of-section {
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 120%;
  text-align: center;
}

/* -------- Components -------- */

/* -------- Header -------- */

.header {
  background: url(../image/backgrounds/background-Intro.webp) no-repeat center
    center / cover;
  padding: 120px 0 140px;
}

/* .header__container {
} */

/* .header__myself {
} */

.myself {
  text-align: center;
}

.myself__image {
  margin-bottom: 56px;
}

.myself__image img {
  border: 2px solid var(--red);
  border-radius: 50%;
  padding: 5px;
  width: 100%;
  max-width: 112px;
  height: 112px;
  object-fit: cover;
}

/* .myself__info {
} */

.myself__subtitle {
  margin-bottom: 8px;
  font-size: 2rem;
  line-height: 120%;
  font-family: var(--third-family);
}

.myself__position {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 5.6rem;
  line-height: 120%;
  font-family: var(--second-family);
}

.myself__description {
  margin: 0 auto 80px;
  max-width: 608px;
  color: var(--gray-300);
  font-size: 1.4rem;
  line-height: 140%;
}

/* .myself__technologies {
} */

.technologies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 120px;
}

/* .technologies__item {
} */

.technologies__link {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: 0.2s ease-in-out all;
  border-radius: 50px;
  background-color: var(--gray-400);
  padding: 8px 16px;
}

.technologies__link:hover {
  transform: translateY(-3px);
}

.technologies__link:active {
  opacity: 0.8;
}

/* .technologies__icon {
} */

/* .technologies__name {
} */

/* .myself__scroll {} */

.myself__scroll img {
  animation: scroll-icon 2s infinite;
}

@keyframes scroll-icon {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (max-width: 769px) {
  .header {
    padding: clamp(50px, 2vw, 80px) 0 clamp(90px, 2vw, 110px);
  }

  .myself__image {
    margin-bottom: 50px;
  }

  .myself__subtitle {
    font-size: clamp(16px, 3vw, 18px);
  }

  .myself__position {
    font-size: clamp(36px, 10vw, 56px);
  }

  .myself__description {
    margin-bottom: 50px;
  }

  .technologies {
    margin-bottom: 70px;
  }
}

/* -------- Header -------- */

/* -------- Projects -------- */

.projects {
  background-color: var(--gray-500);
  padding-bottom: clamp(80px, 10vw, 144px);
}

.projects__container {
  max-width: calc(1040px + 15px);
}

/* .projects__name-section {
} */

.projects__title {
  margin-bottom: 56px;
}

.projects__row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  /* flex-wrap: wrap; */
}

/* .projects__item {
} */

.project {
  flex: 1 1 25%;
  border-radius: 12px;
  background-color: var(--gray-400);
  padding: 17px 12px;
  transition: 0.3s ease-in-out all;
}

.project:hover {
  transform: translateY(-5px);
  background-color: #22252c;
}

.project__screenshot {
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  height: auto;
  max-width: 306px;
  width: 100%;
  object-fit: cover;
  max-height: 156px;
}

.project__title {
  margin-bottom: 8px;
  color: var(--gray-100);
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
}

.project__description {
  font-size: 14px;
}

@media (max-width: 768px) {
  .projects__row {
    flex-direction: column;
  }

  .project__screenshot {
    max-width: initial;
  }
}

/* -------- Projects -------- */

/* -------- Services -------- */

.services {
  background-color: var(--gray-600);
  padding: clamp(58px, 8vw, 88px) 0 clamp(60px, 8vw, 120px);
}

.services__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* .services__name-section {
} */

.services__title {
  margin-bottom: clamp(45px, 8vw, 56px);
}

/* .services__list {
} */

.services-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

/* .services-list__item {
} */

.services-item {
  flex: 0 1 280px;
  transition: 0.3s ease-in-out transform;
  border: 2px solid var(--gray-500);
  border-radius: 12px;
  padding: 20px;
}

.services-item:hover {
  transform: translateY(-5px);
}

.services-item__image {
  margin-bottom: 27px;
}

.services-item__title {
  margin-bottom: 8px;
  color: var(--gray-100);
  font-weight: 700;
  line-height: 120%;
}

/* .services-item__description {
} */

@media (max-width: 640px) {
  .services-list {
    flex-direction: column;
    width: 100%;
  }

  .services-item {
    flex: 1 1 auto;
    width: 350px;
  }
}

@media (max-width: 400px) {
  .services-item {
    width: auto;
  }
}

/* -------- Services -------- */

/* -------- Footer -------- */

.footer {
  background: url(../image/backgrounds/background-contacts.webp) no-repeat
    center center / cover;
  padding: 128px 0 200px;
}

.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__name-section {
  margin-bottom: 8px;
}

.footer__title {
  margin-bottom: 8px;
}

.footer__description {
  margin-bottom: 48px;
}

/* .footer__social {
} */

.social {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* .social__item {
} */

.social__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s ease-in-out all;
  margin: 0 auto;
  border-radius: 8px;
  background-color: var(--gray-400);
  padding: 20px;
  max-width: 400px;
}

.social__link:hover {
  transform: translateX(5px);
}

.social__link:active {
  opacity: 0.8;
}

.social__content {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* .social__name {
} */

/* -------- Footer -------- */
