body {
  background-color: #111723;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  color: white;
  margin: 0;
  padding-top: env(safe-area-inset-top, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.container {
  margin: 0 auto;
  max-width: 1280px;
}
@media screen and (max-width: 1439px) {
  .container {
    max-width: 1000px;
  }
}
@media screen and (max-width: 1023px) {
  .container {
    max-width: 730px;
  }
}
@media screen and (max-width: 767px) {
  .container {
    max-width: 430px;
  }
}
@media screen and (max-width: 480px) {
  .container {
    max-width: 360px;
  }
}
.button {
  color: #fff;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  background: transparent;
  overflow: visible;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  background: linear-gradient(
    90deg,
    rgb(244 42 139 / 56%) 0%,
    rgb(59 154 227) 100%
  );
}
.subtitle {
  font-size: 48px;
  line-height: 52px;
  font-weight: 400;
  background: linear-gradient(90deg, #f42a8b 0%, #1f89db 100%);
  text-transform: uppercase;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin: 0 0 100px 0;
}
@media screen and (max-width: 1023px) {
  .subtitle {
    font-size: 36px;
    line-height: 40px;
    margin: 0 0 50px 0;
  }
}

.header {
  background-color: #111723;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 34px;
  border: 1px solid #414a5a;
  border-radius: 20px;
  z-index: 25;
}
@media screen and (max-width: 1023px) {
  .header {
    padding: 14px;
  }
}

.header__link {
  text-transform: uppercase;
  font-size: 20px;
  line-height: 24px;
  color: white;
  text-decoration: none;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  .header__link {
    font-size: 16px;
    line-height: 20px;
  }
}
.header__nav {
  display: flex;
  align-items: center;
  z-index: 1;
}
@media screen and (max-width: 1023px) {
  .header__nav {
    position: absolute;
    right: 110px;
  }
}
.header__nav.active {
  position: relative;
  right: 125px;
}
@media screen and (max-width: 1023px) {
  .header__nav.active {
    position: absolute;
    right: 110px;
  }
}
@media screen and (max-width: 1023px) {
  .header__nav.active .header__list {
    position: absolute;
    display: flex;
    flex-direction: column;
    text-align: start;
    top: 26px;
    right: -85px;
    background: linear-gradient(
      45deg,
      rgb(20, 27, 42) 0%,
      rgb(14, 20, 30) 100%
    );
    gap: 20px;
    padding: 20px 15px;
    border-radius: 20px;
  }
  .header__nav.active .header__list:hover {
    color: #1f89db;
    transition: all 0.3s ease;
  }
}
.header__nav-btn {
  position: relative;
  display: none;
  background: none;
  border: none;
  padding: 0;
}
@media screen and (max-width: 1023px) {
  .header__nav-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }
  .header__nav-btn span {
    height: 2px;
    background: #fff;
    border-radius: 3px;
    min-width: 27px;
    display: block;
  }
}
.header__list {
  list-style: none;
  display: flex;
  gap: 32px;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 20px;
  margin: 0;
  padding: 0;
}
@media screen and (max-width: 1023px) {
  .header__list {
    display: none;
    font-size: 14px;
    line-height: 18px;
  }
}
.header__item-link {
  text-decoration: none;
  cursor: pointer;
  color: #fff;
}
.header__item-link:hover {
  color: #1f89db;
  transition: all 0.3s ease;
}
.header__button-lang {
  width: 71px;
  padding: 6px 32px 6px 8px;
  position: relative;
}
.header__button-lang:hover {
  color: #1f89db;
  transition: all 0.3s ease;
}
.header__button-lang::after {
  content: '';
  position: absolute;
  background-image: url(../img/icon-lang.svg);
  background-repeat: no-repeat;
  top: 2px;
  left: 43px;
  right: 0;
  bottom: 0;
}
.header__dropdown {
  position: relative;
  display: inline-block;
}
.header__dropdown .header__dropdown-list {
  position: absolute;
  display: none;
  left: 0px;
  width: 71px;
  background: #111723;
  border-radius: 20px;
  list-style-type: none;
  padding: 6px 32px 6px 8px;
  margin: 0;
  z-index: 0;
}
.header__dropdown .header__dropdown-list li {
  padding: 5px;
}
.header__dropdown .header__dropdown-list li a {
  text-decoration: none;
  color: #ffffff;
  display: block;
  text-transform: uppercase;
}
.header__dropdown .header__dropdown-list li a:hover {
  color: #1f89db;
  transition: all 0.3s ease;
}
.header__dropdown.active .header__dropdown-list {
  display: block;
}
#polylang-languages {
  display: none;
}
.main {
  border-bottom: 1px solid #414a5a;
}
.main__block {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  overflow: hidden;
  min-height: 100vh;
  width: 100%;
  padding: 0 20px;
}
@media screen and (max-width: 1024px) {
  .main__block {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
}
.main__gradient {
  position: absolute;
  bottom: 0;
  right: 50px;
  height: auto;
  z-index: 0;
}
@media screen and (max-width: 1023px) {
  .main__gradient {
    opacity: 52%;
    left: -23%;
  }
}
@media screen and (max-width: 767px) {
  .main__gradient {
    left: -30%;
  }
}
.main__title {
  display: inline-block;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 100px;
  line-height: 104px;
  background: linear-gradient(90deg, #f42a8b 0%, #1f89db 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin: 200px 0 40px 0;
}
@media screen and (max-width: 1599px) {
  .main__title {
    font-size: 80px;
    line-height: 84px;
  }
}
@media screen and (max-width: 1439px) {
  .main__title {
    font-size: 70px;
    line-height: 74px;
  }
}
@media screen and (max-width: 1023px) {
  .main__title {
    margin: 130px 0 30px 0;
  }
}
@media screen and (max-width: 767px) {
  .main__title {
    font-size: 55px;
    line-height: 64px;
    margin: 85px 0 25px 0;
  }
}
@media screen and (max-width: 480px) {
  .main__title {
    font-size: 50px;
    line-height: 54px;
  }
}
.main__text {
  display: inline-block;
  position: relative;
  font-size: 24px;
  line-height: 30px;
  margin: 0 0 40px 0;
  z-index: 16;
}
@media screen and (max-width: 1023px) {
  .main__text {
    max-width: 650px;
  }
}
@media screen and (max-width: 767px) {
  .main__text {
    font-size: 20px;
    line-height: 24px;
    margin: 0 0 25px 0;
  }
}
@media screen and (max-width: 480px) {
  .main__text {
    font-size: 18px;
    line-height: 22px;
  }
}
.main__text span.highlight {
  color: #ffcdf8;
}
.main__photo-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
}
.main__photo {
  align-self: flex-end;
  max-width: 100%;
  height: auto;
  z-index: 5;
}
.main__button {
  padding: 18px 36px;
  text-decoration: none;
  z-index: 15;
  max-width: fit-content;
  display: block;
}
.main__button:hover {
  background: linear-gradient(
    90deg,
    rgb(162 6 81 / 56%) 0%,
    rgb(0 104 184) 100%
  );
  transition: all 0.3s ease;
}
.main__text-block.loaded {
  left: 0 !important;
  position: relative;
  opacity: 1;
}
body .main__text-block {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  left: -100%;
  opacity: 0;
  transition: left 1s ease-out, opacity 1s ease-out;
}

.services__subtitle {
  margin-top: 130px;
}
@media screen and (max-width: 767px) {
  .services__subtitle {
    margin-top: 100px;
  }
}
/* Анимация */
.services__cards {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 80px;
  flex-wrap: wrap;
  opacity: 1;
  transition: opacity 1s ease-in-out;
  margin: 0 0 65px 0;
}
@media screen and (max-width: 1023px) {
  .services__cards {
    gap: 30px;
    margin: 0 0 40px 0;
  }
}
@media screen and (max-width: 480px) {
  .services__cards {
    margin: 0 0 25px 0;
  }
}
.services__card {
  position: relative;
  background: linear-gradient(45deg, rgb(20, 27, 42) 0%, rgb(14, 20, 30) 100%);
  max-width: 730px;
  border: 1px solid #414a5a;
  border-radius: 20px;
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 1s ease-out, opacity 1s ease-out;
  padding: 40px 45px;
}
.services__cards.loaded {
  opacity: 1;
}
.services__card.loaded {
  opacity: 1;
  transform: translateX(0);
}
.services__card:nth-child(1) {
  transition-delay: 0.2s;
}
.services__card:nth-child(2) {
  transition-delay: 0.4s;
}
.services__card:nth-child(3) {
  transition-delay: 0.6s;
}
.services__card:first-child::before {
  content: '';
  position: absolute;
  width: 1px;
  height: 80px;
  bottom: -81px;
  left: 75%;
  background: #414a5a;
}
@media screen and (max-width: 1023px) {
  .services__card:first-child::before {
    height: 31px;
    bottom: -32px;
  }
}
.services__card:last-child::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 80px;
  top: -81px;
  left: 75%;
  background: #414a5a;
}
@media screen and (max-width: 1023px) {
  .services__card:last-child::after {
    height: 30px;
    top: -31px;
  }
}
.services__card-item {
  align-self: flex-end;
}
@media screen and (max-width: 767px) {
  .services__card {
    padding: 25px 30px;
  }
}
.services__card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px 0;
}
.services__icon {
  filter: drop-shadow(0 0 10px rgba(166, 185, 200, 0.7));
}
.services__card-subtitle {
  font-size: 36px;
  line-height: 40px;
  font-weight: 400;
  margin: 0;
}
@media screen and (max-width: 1439px) {
  .services__card-subtitle {
    font-size: 26px;
    line-height: 30px;
  }
}
.services__card-text {
  margin: 0;
}
.services__card-text span {
  font-size: 21px;
  line-height: 25px;
  color: #1f89db;
}
.skills {
  display: flex;
  flex-direction: column;
  padding: 0 0 130px 0;
}
/* @media screen and (max-width: 1023px) {
  padding: 0 0 100px 0;
} */
.skills__subtitle {
  margin-top: 130px;
}
@media screen and (max-width: 767px) {
  .skills__subtitle {
    margin-top: 100px;
  }
}
.skills__content-subtitle {
  text-align: center;
  font-size: 36px;
  line-height: 40px;
  font-weight: 400;
  margin: 0 0 80px 0;
}
@media screen and (max-width: 767px) {
  .skills__content-subtitle {
    font-size: 28px;
    line-height: 32px;
    margin: 0 0 50px 0;
  }
}
.skills__icons {
  max-width: 670px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  align-self: center;
  gap: 50px;
}
@media screen and (max-width: 1023px) {
  .skills__icons {
    gap: 30px;
    margin: 0;
  }
}
@media screen and (max-width: 1023px) {
  .skills__icons img {
    width: 50px;
  }
}
.portfolio {
  background-image: url(../img/portfolio-bg.png);
  background-repeat: no-repeat;
  background-size: contain;
  border-top: 1px solid #414a5a;
  padding: 130px 0 130px 0;
}
@media screen and (max-width: 1023px) {
  .portfolio {
    padding: 100px 0 100px 0;
  }
}
@media screen and (max-width: 480px) {
  .portfolio {
    background-image: url(../img/portfolio-bg-mobile.png);
    background-size: cover;
  }
}
.portfolio__block {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
@media screen and (max-width: 1023px) {
  .portfolio__block {
    gap: 10px;
    row-gap: 20px;
  }
}
@media screen and (max-width: 767px) {
  .portfolio__block {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 480px) {
  .portfolio__block {
    grid-template-columns: 1fr;
  }
}
/* Анимация */
.portfolio__box {
  position: relative;
  max-width: 400px;
  width: 100%;
  border-radius: 20px;
  border: 1px solid #414a5a;
  background: linear-gradient(45deg, rgb(20, 27, 42) 0%, rgb(14, 20, 30) 100%);
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 1s ease-out, opacity 1s ease-out;
}
.portfolio__block.loaded .portfolio__box {
  opacity: 1;
  transform: translateX(0);
}
@media screen and (max-width: 1439px) {
  .portfolio__box {
    max-width: 350px;
  }
}
.portfolio__box:hover {
  transform: scale(1.05);
}
.portfolio__img {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  width: 100%;
  height: auto;
}
.portfolio__link {
  position: absolute;
  bottom: 20px;
  right: 20px;
}
@media screen and (max-width: 1023px) {
  .portfolio__link {
    bottom: 10px;
    right: 10px;
  }
}
.portfolio__link:hover {
  filter: invert(36%) sepia(63%) saturate(4055%) hue-rotate(184deg)
    brightness(94%) contrast(94%);
  transition: all 0.3s ease;
}
.portfolio__box-text {
  text-align: center;
  font-size: 23px;
  line-height: 27px;
  font-weight: 400;
  padding: 30px 30px 50px 30px;
  margin: 0;
}
@media screen and (max-width: 1023px) {
  .portfolio__box-text {
    font-size: 19px;
    line-height: 23px;
    padding: 20px 20px 50px 20px;
    margin: 0;
  }
}
.contact {
  position: relative;
  padding: 0 0 130px 0;
}
@media screen and (max-width: 1023px) {
  .contact {
    padding: 0 0 100px 0;
  }
}
@media screen and (max-width: 767px) {
  .contact {
    flex-direction: row;
    padding: 0 0 70px 0;
  }
}
.contact::after {
  content: '';
  position: absolute;
  background-image: url(../img/blue-gradient.png);
  background-repeat: no-repeat;
  left: 0;
  top: 35px;
  bottom: 0;
  right: 0;
  z-index: -1;
}
@media screen and (max-width: 767px) {
  .contact::after {
    top: 170px;
  }
}
.contact__block {
  display: flex;
}
@media screen and (max-width: 767px) {
  .contact__block {
    flex-direction: column;
  }
}
.contact__box {
  width: 50%;
}
@media screen and (max-width: 767px) {
  .contact__box {
    width: 100%;
  }
}
.contact__subtitle {
  max-width: 550px;
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
  text-transform: uppercase;
  position: relative;
  margin: 0 0 70px 40px;
}
@media screen and (max-width: 1023px) {
  .contact__subtitle {
    font-size: 26px;
    line-height: 30px;
  }
}
.contact__subtitle::after {
  content: '';
  position: absolute;
  background-image: url(../img/contact-icon.svg);
  background-repeat: no-repeat;
  top: 5px;
  left: -38px;
  right: 0;
  bottom: 0;
}
.contact__subtitle-gradient {
  max-width: 550px;
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
  background: linear-gradient(90deg, #f42a8b 0%, #1f89db 100%);
  text-transform: uppercase;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin: 0 0 25px 0;
}
@media screen and (max-width: 1023px) {
  .contact__subtitle-gradient {
    max-width: 320px;
    font-size: 26px;
    line-height: 30px;
  }
}
.contact__info {
  display: flex;
  gap: 35px;
}
@media screen and (max-width: 1443px) {
  .contact__info {
    flex-direction: column;
  }
}
@media screen and (max-width: 767px) {
  .contact__info {
    margin: 0 0 60px 0;
  }
}
@media screen and (max-width: 480px) {
  .contact__info {
    gap: 30px;
    margin: 0 0 30px 0;
  }
}
.contact__contact {
  display: flex;
  flex-direction: column;
}
.contact__info-subtitle {
  font-size: 24px;
  line-height: 28px;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 12px 0;
}
.contact__link {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  margin: 0 0 16px 0;
}
.contact__link:hover {
  color: #1f89db;
  transition: all 0.3s ease;
}
.contact__social-icons {
  display: flex;
  align-items: center;
  gap: 13px;
}
@media screen and (max-width: 1023px) {
  .contact__social-icons {
    gap: 8px;
  }
}
.contact__social-icons img {
  cursor: pointer;
}
.contact__social-icons img:hover {
  filter: invert(36%) sepia(63%) saturate(4055%) hue-rotate(184deg)
    brightness(94%) contrast(94%);
  transition: all 0.3s ease;
}
.contact__form-block {
  display: flex;
  flex-direction: column;
  width: 50%;
}
@media screen and (max-width: 767px) {
  .contact__form-block {
    width: 100%;
  }
}
.contact__form-subtitle {
  font-size: 24px;
  line-height: 28px;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 44px 0;
}
.contact__form {
  padding: 36px 22px;
  border: 1px solid #414a5a;
  border-radius: 20px;
}
.contact__form-box {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  max-width: 654px;
  width: 100%;
  text-align: left;
}
.contact__form-box input,
.contact__form-box textarea {
  border: 1px solid #414a5a;
  border-radius: 20px;
  background: transparent;
  color: #fff;
  margin: 0 0 26px 0;
  padding: 20px 25px;
  outline: none;
  resize: none;
}
@media screen and (max-width: 1023px) {
  .contact__form-box input,
  .contact__form-box textarea {
    margin: 0 0 16px 0;
    padding: 15px 20px;
  }
}
.contact__form-box input::placeholder,
.contact__form-box textarea::placeholder {
  font-size: 20px;
  line-height: 24px;
  opacity: 70%;
}
@media screen and (max-width: 767px) {
  .contact__form-box input::placeholder,
  .contact__form-box textarea::placeholder {
    font-size: 16px;
    line-height: 20px;
  }
}
/* .contact__form-box label {
  margin: 0 0 17px 0;
} */
.contact__button {
  padding: 16px 48px;
  border-radius: 20px;
}
.contact__button:hover {
  background: linear-gradient(
    90deg,
    rgb(162 6 81 / 56%) 0%,
    rgb(0 104 184) 100%
  );
  transition: all 0.3s ease;
}
.contact__form-btn {
  margin-top: 15px;
}
.footer {
  padding: 35px 0;
}
.footer__text {
  text-align: left;
  margin: 0;
}
.footer__privacy {
  display: block;
  text-decoration: none;
  color: white;
  text-align: left;
  margin-bottom: 15px;
}
.footer__privacy:hover {
  color: #1f89db;
  transition: all 0.3s ease;
}
