@import url("https://fonts.googleapis.com/css2?family=Epilogue:wght@400;600;800&display=swap");
*, html, body, a {
  font-family: "Epilogue", sans-serif;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.hidden {
  display: none;
}

.header {
  padding: 20px 0px;
  transition: all 0.6s ease-in-out 0.1s;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0.9;
}
@media (max-width: 575px) {
  .header {
    padding: 10px 0px;
  }
}
.header::after {
  content: "";
  width: 0%;
  height: 2px;
  background-color: #707070;
  display: block;
  position: absolute;
  bottom: 0;
  transition: width 0.8s ease-in-out 0.1s;
}
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__logo {
  transition: all 0.3s ease 0s;
}
.header__logo img {
  transition: all 0.3s ease 0s;
}
.header__logo:hover {
  transform: scale(1.1);
}
.header__menu {
  display: flex;
  gap: 32px;
  align-items: center;
}
.header__btn {
  color: var(--white, #FFF);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
  padding: 8px 20px;
  background: #2D2C2C;
  border: 2px solid black;
  cursor: pointer;
  transition: all 0.3s ease-in-out 0s;
}
.header__btn:hover {
  background-color: #fff;
  color: #000;
}

.header-fixed {
  position: fixed;
  background-color: #fff;
  transition: all 0.6s ease-in-out 0s;
  z-index: 20;
  top: 0;
}
.header-fixed::after {
  content: "";
  width: 100%;
}

.header-fixed .header:after {
  width: 100%;
}

.menu__socials {
  display: none;
}
@media (max-width: 575px) {
  .menu__socials {
    display: flex;
    gap: 12px;
  }
}
@media (max-width: 575px) {
  .menu__body {
    position: fixed;
    width: 100%;
    height: 330px;
    left: 0;
    top: -100%;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    padding-left: 26px;
    background: #F1F1F1;
    transition: all 0.3s ease-in-out 0s;
    opacity: 0;
    row-gap: 37px;
    z-index: 10;
  }
}
.menu__list {
  display: flex;
  align-items: center;
  gap: 32px;
}
@media (max-width: 575px) {
  .menu__list {
    flex-direction: column;
    align-items: start;
  }
}
.menu__link {
  text-decoration: none;
  color: #2D2C2C;
  font-size: 16px;
  line-height: 150%; /* 24px */
  transform: translate(-30px, 0px);
  transition: all 0.3s ease 0s;
  position: relative;
}
.menu__link::after {
  content: "";
  background-color: #2D2C2C;
  height: 3px;
  width: 0%;
  position: absolute;
  left: 0;
  bottom: -3px;
  transition: width 0.3s ease 0s;
}
@media (max-width: 575px) {
  .menu__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #828282;
    width: 238px;
    height: 1px;
  }
}
.menu__link:hover::after {
  width: 100%;
}
.icon-menu {
  display: none;
  z-index: 20;
  border: none;
  background-color: #fff;
}
@media (max-width: 575px) {
  .icon-menu {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
  }
}
.icon-menu span {
  width: 30px;
  height: 3px;
  background: #000;
}

.open-menu .icon-menu {
  background-color: #F1F1F1;
}

.open-menu .menu__body {
  top: 0;
  opacity: 1;
  transition: all 0.3s ease 0s;
}

.main {
  padding-top: 222px;
}
@media (max-width: 768px) {
  .main {
    padding-top: 100px;
  }
}
.main__container {
  display: flex;
  position: relative;
}
@media (max-width: 1070px) {
  .main__container {
    flex-direction: column;
    align-items: center;
    row-gap: 35px;
  }
}
.main__content {
  display: flex;
  flex-direction: column;
  position: relative;
}
.main__title {
  color: #2D2C2C;
  font-size: 150px;
  font-style: normal;
  font-weight: 800;
  line-height: 117.5%; /* 176.25px */
  max-width: 661px;
  opacity: 0;
  transform: translate(0px, 40%);
  transition: all 1s ease-in-out 0s;
}
@media (max-width: 768px) {
  .main__title {
    font-size: 100px;
    max-width: 440px;
  }
}
@media (max-width: 425px) {
  .main__title {
    font-size: 75px;
    line-height: 117.5%; /* 88.125px */
  }
}
@media (max-width: 365px) {
  .main__title {
    font-size: 60px;
  }
}
.main__text {
  opacity: 0;
  transform: translate(-100px, 0px);
  transition: all 1.2s ease 0.3s;
}
@media (max-width: 768px) {
  .main__text {
    width: 100%;
  }
}
@media (max-width: 1070px) {
  .main__images {
    position: relative;
  }
}
.main__cube {
  width: 570px;
  height: 570px;
  display: block;
  position: absolute;
  top: -19px;
  right: -49px;
  z-index: -1;
  background: #E7E7E7;
  transform: rotate(-8.699deg);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease 0s;
}
@media (max-width: 1070px) {
  .main__cube {
    top: 30px;
    left: 35px;
  }
}
@media (max-width: 650px) {
  .main__cube {
    display: none;
  }
}
.main__image {
  position: absolute;
  top: -22px;
  right: -86px;
  z-index: -1;
  transition: all 0.8s ease 0.3s;
  opacity: 0;
  transform: scale(0.1);
}
@media (max-width: 1070px) {
  .main__image {
    position: sticky;
  }
}
@media (max-width: 650px) {
  .main__image {
    width: 100%;
  }
}

.second {
  margin-top: 225px;
  margin-bottom: 50px;
  padding-top: 102px;
  padding-bottom: 124px;
  background: #000;
}
.second__container {
  display: flex;
  flex-direction: column;
  row-gap: 59px;
  max-width: 1336px;
  margin: 0 auto;
  padding: 0px 15px;
}
@media (max-width: 1165px) {
  .second__container {
    flex-wrap: wrap;
    row-gap: 80px;
  }
}
.second__row {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 1165px) {
  .second__row {
    flex-wrap: wrap;
    justify-content: space-evenly;
    row-gap: 80px;
  }
}
@media (max-width: 930px) {
  .second__row {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
}
.second__column {
  display: flex;
  opacity: 0;
  transform: translate(-20px, 0px);
  gap: 35px;
}
@media (max-width: 930px) {
  .second__column {
    flex-direction: column;
    text-align: center;
  }
}

.second-column__number {
  padding-top: 17px;
  color: #FFF;
  font-size: 70px;
  font-weight: 100;
  line-height: normal;
}
.second-column__info {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
}
.second-column__title {
  color: #FFF;
  font-size: 40px;
  font-weight: 300;
}
.second-column__text {
  color: #FFF;
  font-size: 18px;
  font-weight: 200;
  line-height: 123%; /* 22.14px */
  max-width: 325px;
}

.second__row:first-child .second-column:first-child {
  transition: all 0.8s ease-in-out 0s;
}

.second__row:first-child .second-column:nth-child(2) {
  transition: all 1s ease-in-out 0.2s;
}

.second__row:first-child .second-column:last-child {
  transition: all 1.2s ease-in-out 0.4s;
}

.second__row:last-child .second-column:first-child {
  transition: all 1.4s ease-in-out 0.6s;
}

.second__row:last-child .second-column:nth-child(2) {
  transition: all 1.6s ease-in-out 0.8s;
}

.second__row:last-child .second-column:last-child {
  transition: all 1.8s ease-in-out 1s;
}

.projects {
  margin-bottom: 170px;
  padding-top: 130px;
}
.projects__title {
  color: #2D2C2C;
  font-size: 120px;
  font-weight: 800;
  line-height: 93.5%; /* 112.2px */
  max-width: 770px;
  opacity: 0;
  transform: translate(-80px, 0px);
  transition: all 1s ease 0.1s;
}
@media (max-width: 768px) {
  .projects__title {
    font-size: 65px;
  }
}
@media (max-width: 375px) {
  .projects__title {
    font-size: 55px;
  }
}
.projects__list {
  display: flex;
  flex-direction: column;
  row-gap: 78px;
  padding-top: 78px;
}
.projects__item {
  position: relative;
  height: 447px;
  width: 100%;
}
@media (max-width: 768px) {
  .projects__item {
    height: 620px;
  }
}

.projects-item__image {
  position: absolute;
  z-index: -1;
  opacity: 0;
  transform: scale(0.1);
  transition: all 1s ease-in-out 0s;
}
@media (max-width: 1065px) {
  .projects-item__image {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
}
.projects-item__content {
  padding-top: 92px;
  padding-left: 46px;
  display: flex;
  gap: 81px;
}
@media (max-width: 1065px) {
  .projects-item__content {
    height: 100%;
    padding: 10px;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .projects-item__content {
    flex-direction: column;
    row-gap: 22px;
  }
}
.projects-item__name {
  color: var(--white, #FFF);
  font-weight: 600;
  line-height: 150%; /* 24px */
  padding-bottom: 16px;
  opacity: 0;
  transform: translate(-150px, 0px);
  transition: all 1.2s ease 0.6s;
}
@media (max-width: 900px) {
  .projects-item__name {
    font-size: 15px;
  }
}
.projects-item__title {
  color: var(--white, #FFF);
  font-family: Epilogue;
  font-size: 45px;
  font-style: normal;
  font-weight: 200;
  line-height: 120%; /* 54px */
  opacity: 0;
  transform: translate(-150px, 0px);
  transition: all 1.2s ease 1s;
  max-width: 423px;
}
@media (max-width: 900px) {
  .projects-item__title {
    font-size: 43px;
  }
}
.projects-item__title span {
  font-weight: 800;
}
.projects-item__info {
  padding-top: 40px;
}
.projects-item__text {
  max-width: 443px;
  color: var(--white, #FFF);
  font-size: 18px;
  line-height: 150%; /* 27px */
  padding-bottom: 48px;
  opacity: 0;
  transform: translate(0px, 30px);
  transition: all 1.3s ease 1.5s;
}
@media (max-width: 900px) {
  .projects-item__text {
    font-size: 17px;
    max-width: 410px;
    padding-bottom: 15px;
  }
}
.projects-item__btn {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  opacity: 0;
  transform: translate(0px, -50px);
  transition: all 1.4s ease 2s;
}
.projects-item__btn span {
  color: var(--white, #FFF);
  line-height: 150%; /* 24px */
  text-decoration: none;
}

.about {
  background: #000;
  padding-top: 110px;
  padding-bottom: 205px;
  color: #FFF;
}
.about__container {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 1010px) {
  .about__container {
    flex-direction: column;
    align-items: center;
  }
}
.about__row {
  display: flex;
  flex-direction: column;
}
.about__name {
  padding-bottom: 16px;
  color: var(--gray-6, #F2F2F2);
  font-weight: 900;
  line-height: 150%; /* 24px */
  opacity: 0;
  transition: all 0.8s ease 0.3s;
  transform: translate(-150px, 0px);
}
.about__title {
  padding-bottom: 238px;
  color: var(--gray-6, #F2F2F2);
  font-size: 48px;
  font-weight: 254;
  line-height: 120%; /* 57.6px */
  font-variant: all-small-caps;
  max-width: 300px;
  opacity: 0;
  transition: all 0.8s ease 0.5s;
  transform: translate(0px, -150px);
}
@media (max-width: 1010px) {
  .about__title {
    padding-bottom: 30px;
  }
}
.about__row-right img {
  width: 440px;
  height: 411px;
}
.about__text {
  padding-bottom: 204px;
  max-width: 419px;
  color: var(--gray-6, #F2F2F2);
  font-size: 18px;
  line-height: 150%; /* 27px */
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}
@media (max-width: 1010px) {
  .about__text {
    padding-top: 41px;
    padding-bottom: 61px;
  }
}
.about__text span {
  transform: translate(0px, 20px);
}

@media (max-width: 1010px) {
  .about img {
    width: 305px;
    height: 300px;
  }
}

.about__text span:first-child {
  opacity: 0;
  transition: all 1s ease 0.7s;
}

.about__text span:nth-child(2) {
  opacity: 0;
  transition: all 1s ease 0.8s;
}

.about__text span:last-child {
  opacity: 0;
  transition: all 1s ease 0.9s;
}

._active-image {
  opacity: 1;
  transform: scale(1);
}

._active {
  opacity: 1 !important;
  transform: translate(0px, 0px) !important;
}

.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}

.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin: -4px 0 0 -4px;
  background: #000;
}

.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}

.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}

.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}

.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}

.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}

.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}

.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}

.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}

@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.footer {
  padding-top: 327px;
  padding-bottom: 56px;
  opacity: 0;
  transition: all 0.6s ease-in-out 0.25s;
}
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }
}
.footer__container {
  display: flex;
  flex-direction: column;
  row-gap: 70px;
}
@media (max-width: 768px) {
  .footer__container {
    flex-direction: column;
    align-items: center;
  }
}
.footer__top {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .footer__top {
    flex-direction: column;
    align-items: center;
    row-gap: 50px;
  }
}
.footer__line {
  width: 100%;
  height: 1px;
  background: #000;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    row-gap: 25px;
  }
}

.footer-top__content {
  display: flex;
  flex-direction: column;
  align-items: start;
  row-gap: 20px;
}
@media (max-width: 768px) {
  .footer-top__content {
    flex-direction: column;
    align-items: center;
  }
}
.footer-top__list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.footer-top__link {
  color: var(--black, #000);
  line-height: 150%; /* 24px */
  text-decoration: none;
}
.footer-top__info {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}
.footer-top__title {
  color: var(--black, #000);
  font-weight: 700;
  line-height: 150%; /* 24px */
}
.footer-top__form {
  display: flex;
  gap: 16px;
}
@media (max-width: 426px) {
  .footer-top__form {
    flex-direction: column;
  }
}
.footer-top__input {
  padding: 12px;
  padding-right: 0;
  color: var(--neutral-dark-gray, #505050);
  line-height: 150%; /* 24px */
  width: 257px;
  outline: none;
  border: 1px solid var(--black, #000);
  background: var(--white, #FFF);
}
.footer-top__input::-moz-placeholder {
  color: var(--neutral-dark-gray, #505050);
  line-height: 150%; /* 24px */
}
.footer-top__input::placeholder {
  color: var(--neutral-dark-gray, #505050);
  line-height: 150%; /* 24px */
}
@media (max-width: 426px) {
  .footer-top__input {
    width: 295px;
  }
}
.footer-top__btn {
  border: 1px solid var(--black, #000);
  padding: 12px 24px;
  color: var(--black, #000);
  line-height: 150%; /* 24px */
  background-color: #fff;
  transition: all 0.3s ease 0s;
}
.footer-top__btn:hover {
  background: #000;
  color: #fff;
  cursor: pointer;
}
@media (max-width: 426px) {
  .footer-top__btn {
    width: 100%;
  }
}
.footer-top__subtext {
  color: var(--black, #000);
  font-size: 12px;
  line-height: 150%; /* 18px */
}
.footer-top__subtext a {
  text-decoration: underline;
  color: #000;
}

.footer-bottom__copyright {
  color: var(--black, #000);
  font-size: 14px;
  line-height: 150%; /* 21px */
}
.footer-bottom__socials {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-bottom__socials a {
  transition: all 0.3s ease 0s;
  text-decoration: none;
}
.footer-bottom__socials a:hover {
  transform: scale(1.3);
}

.modal {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3490196078);
  z-index: 20;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.modal form {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
}
.modal input {
  padding: 12px;
  padding-right: 0;
  color: var(--neutral-dark-gray, #505050);
  line-height: 150%; /* 24px */
  outline: none;
  border: 1px solid var(--black, #000);
  background: var(--white, #FFF);
}
.modal input::-moz-placeholder {
  color: var(--neutral-dark-gray, #505050);
  line-height: 150%; /* 24px */
}
.modal input::placeholder {
  color: var(--neutral-dark-gray, #505050);
  line-height: 150%; /* 24px */
}
.modal__content {
  margin: 10px;
  padding: 20px;
  background-color: #fff;
  width: 400px;
  height: 300px;
  box-shadow: 0 0 35px 1px #000;
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 35px;
}
.modal__title {
  color: var(--Gray-6, #000);
  text-align: center;
  padding-top: 20px;
  font-size: 24px;
  font-weight: 900;
  line-height: 150%; /* 24px */
}
@media (max-width: 362px) {
  .modal__title {
    font-size: 18px;
  }
}
.modal__inputs {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}
.modal__btn {
  color: var(--White, #FFF);
  line-height: 150%; /* 24px */
  padding: 14px 0px;
  font-size: 18px;
  background: #333232;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  border: 2px solid #000;
}
.modal__btn:hover {
  background-color: #000;
}

._modal-open .modal {
  display: flex;
}

._modal-open body {
  overflow: hidden;
}

.material-symbols-outlined {
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 2px;
  transition: all 0.3s ease 0s;
  border: 2px solid #302f2f;
  border-radius: 10px;
}
.material-symbols-outlined:hover {
  transform: scale(1.05);
}