@charset "UTF-8";
.header {
  padding-top: 31px;
  padding-bottom: 32px;
  border-radius: 0 0 30px 30px;
  background-color: var(--secondary-bg-color);
  z-index: 9;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
@media (max-width: 525px) {
  .header {
    border-radius: 0 0 17px 17px;
    padding-top: 53px;
    padding-bottom: 11px;
  }
}
.header__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header__logo {
  width: 278px;
  height: 60px;
}
@media (max-width: 525px) {
  .header__logo {
    width: 117px;
    height: 25px;
  }
}
.header__link {
  padding: 9.5px 18px;
  border-radius: 30px;
  border: 2px solid var(--primary-text-dark);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  margin-top: -10px;
}
.header__link-group {
  gap: 53px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header__link span {
  font-family: "Atyp-Display";
  font-style: normal;
  font-weight: 400;
  font-size: 18.9474px;
  line-height: 27px;
  margin-top: 2px;
}
.header__link img {
  width: 12px;
  height: 27px;
}
@media (max-width: 525px) {
  .header__link {
    border-radius: 14px;
    padding: 4px 7px;
    border: 1px solid var(--primary-text-dark);
  }
  .header__link-group {
    gap: 22px;
  }
  .header__link span {
    font-size: 8px;
    line-height: 11px;
  }
  .header__link img {
    width: 6px;
    height: 11px;
  }
}

.hero {
  width: 100%;
  padding-top: 172px;
  padding-bottom: 94px;
  background-color: var(--primary-bg-color);
  border-radius: 0 0 30px 30px;
}
@media (max-width: 525px) {
  .hero {
    padding-top: 101px;
    padding-bottom: 29px;
    border-radius: 0 0 17px 17px;
  }
}
.hero__links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 27px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.hero__links-item {
  padding: 18px 30px;
  font-family: "Atyp-Display";
  font-style: normal;
  font-weight: 400;
  font-size: 34.2016px;
  line-height: 49px;
  border: 4px solid var(--primary-text-dark);
  border-radius: 50px;
  opacity: 0.3;
  -webkit-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
}
.hero__links-item--active {
  opacity: 1;
}
.hero__links-item:hover {
  opacity: 1;
}
@media (max-width: 1024px) {
  .hero__links {
    gap: 13px;
  }
  .hero__links-item {
    padding: 12px 20px;
    font-size: 20px;
    line-height: 30px;
  }
}
@media (max-width: 525px) {
  .hero__links {
    gap: 9px;
  }
  .hero__links-item {
    border: 1.4px solid #10151c;
    border-radius: 25px;
    padding: 6px 9px;
    font-size: 11px;
    line-height: 16px;
  }
}
.hero__title {
  margin-top: 76px;
  max-width: 1021px;
  font-family: "Atyp-Display";
  font-style: normal;
  font-weight: 600;
  font-size: 167px;
  line-height: 70.9%;
}
.hero__title span {
  color: var(--primary-text-light);
}
@media (max-width: 1024px) {
  .hero__title {
    font-size: 100px;
  }
}
@media (max-width: 525px) {
  .hero__title {
    margin-top: 19px;
    font-family: "Atyp-Display";
    font-style: normal;
    font-weight: 600;
    font-size: 71px;
    line-height: 50px;
    position: relative;
    color: var(--primary-text-dark);
  }
  .hero__title span {
    color: var(--primary-text-light);
  }
  .hero__title::after {
    content: "";
    display: block;
    width: 122px;
    height: 116px;
    background: url("./img/title-image-mobile.png") no-repeat center/contain;
    position: absolute;
    bottom: -50px;
    right: 15.5px;
  }
  .hero__title br {
    display: none;
  }
}
.hero__subtitle {
  margin-top: 71px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
}
.hero__subtitle img {
  width: 114px;
  height: 105px;
}
.hero__subtitle p {
  max-width: 525px;
  font-family: "Atyp-Display";
  font-style: normal;
  font-weight: 500;
  font-size: 36px;
  line-height: 51px;
}
.hero__subtitle::after {
  content: "";
  display: block;
  width: 439px;
  height: 382px;
  background: url("./img/title-image.png") no-repeat center/contain;
  position: absolute;
  bottom: -150px;
  right: 0;
}
@media (max-width: 1024px) {
  .hero__subtitle::after {
    display: none;
  }
}
@media (max-width: 525px) {
  .hero__subtitle::after {
    display: none;
  }
}
@media (max-width: 1024px) {
  .hero__subtitle {
    margin-top: 40px;
  }
  .hero__subtitle img {
    width: 80px;
    height: 70px;
  }
  .hero__subtitle p {
    font-size: 20px;
    line-height: 30px;
  }
}
@media (max-width: 525px) {
  .hero__subtitle {
    margin-top: 19px;
    gap: 4px;
  }
  .hero__subtitle img {
    width: 44px;
    height: 40px;
  }
  .hero__subtitle p {
    font-size: 14px;
    line-height: 20px;
  }
}
.hero__cta {
  margin-top: 43px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 48px;
}
@media (max-width: 1024px) {
  .hero__cta {
    gap: 30px;
  }
}
@media (max-width: 525px) {
  .hero__cta {
    margin-top: 19px;
    gap: 20px;
  }
}
.hero__cases-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.hero__cases-link img {
  width: 321px;
}
@media (max-width: 1024px) {
  .hero__cases-link img {
    width: 200px;
  }
}
@media (max-width: 525px) {
  .hero__cases-link img {
    width: 134px;
  }
}
.hero__cases-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 19px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.hero__cases-top img {
  width: 55px;
  height: 55px;
}
.hero__cases-top p {
  font-family: "Atyp-Display";
  font-style: normal;
  font-weight: 500;
  font-size: 28px;
  line-height: 40px;
}
@media (max-width: 1024px) {
  .hero__cases-top img {
    width: 40px;
    height: 40px;
  }
  .hero__cases-top p {
    font-size: 20px;
  }
}
@media (max-width: 525px) {
  .hero__cases-top {
    gap: 8px;
  }
  .hero__cases-top img {
    width: 23px;
    height: 23px;
  }
  .hero__cases-top p {
    font-size: 12px;
    line-height: 17px;
  }
}

.contact-form {
  z-index: 1;
  margin-top: 24px;
  border-radius: 30px;
  background-color: var(--third-bg-color);
  padding-bottom: 233px;
  position: relative;
  width: 100%;
  top: 0;
  left: 0;
}
@media (max-width: 525px) {
  .contact-form {
    border-radius: 17px;
    margin-top: 5px;
    padding-bottom: 56px;
  }
}
.contact-form__title {
  padding-top: 92px;
  font-family: "Atyp-Display";
  font-style: normal;
  font-weight: 600;
  font-size: 120px;
  line-height: 70.9%;
}
.contact-form__title span {
  color: var(--primary-bg-color);
}
.contact-form__title br {
  display: none;
}
@media (max-width: 1024px) {
  .contact-form__title {
    padding-top: 51px;
    font-size: 60px;
    line-height: 70.9%;
  }
  .contact-form__title br {
    display: block;
  }
}
@media (max-width: 525px) {
  .contact-form__title {
    font-size: 44px;
    line-height: 70.9%;
  }
}
.contact-form__subs-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 36px;
  gap: 76px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: var(--primary-bg-color);
}
.contact-form__subs-group p {
  font-weight: 500;
  font-size: 18px;
  line-height: 70.9%;
}
@media (max-width: 1024px) {
  .contact-form__subs-group {
    gap: 30px;
  }
}
@media (max-width: 600px) {
  .contact-form__subs-group {
    display: none;
  }
}
.contact-form__subtitle {
  margin-top: 13px;
  color: var(--primary-bg-color);
  font-family: "Atyp-Display";
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 70.9%;
  display: none;
}
@media (max-width: 600px) {
  .contact-form__subtitle {
    display: block;
  }
}
.contact-form__form {
  margin-top: 56px;
  max-width: 904px;
}
.contact-form__form label {
  position: relative;
  margin-top: 5px;
  display: block;
}
.contact-form__form label:first-child {
  margin-top: 0;
}
@media (max-width: 1024px) {
  .contact-form__form {
    margin-top: 35px;
  }
}
@media (max-width: 525px) {
  .contact-form__form {
    margin-top: 24px;
  }
}
.contact-form__placeholder {
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  font-family: "Atyp-Display";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  pointer-events: none;
  color: rgba(16, 21, 28, 0.45);
}
.contact-form__submit {
  margin-top: 51px;
}
@media (max-width: 1024px) {
  .contact-form__submit {
    margin-top: 30px;
  }
}
@media (max-width: 525px) {
  .contact-form__submit {
    margin-top: 19px;
  }
}

.contacts {
  position: relative;
  z-index: 5;
  background-color: var(--secondary-bg-color);
  border-radius: 30px;
  top: -134px;
  padding-bottom: 400px;
}
@media (max-width: 525px) {
  .contacts {
    padding-bottom: 170px;
  }
}
@media (max-width: 400px) {
  .contacts {
    padding-bottom: 170px;
    background: url("./img/svg/contacts-decore.svg") no-repeat right 90px, var(--secondary-bg-color);
  }
}
@media (max-width: 525px) {
  .contacts {
    border-radius: 17px;
    top: -22px;
    z-index: 5;
  }
}
.contacts__content {
  background: url("./img/svg/contacts-bg-desc.svg") no-repeat right 118%;
  padding-bottom: 20px;
}
@media (max-width: 768px) {
  .contacts__content {
    background: none;
  }
}
.contacts__title {
  padding-top: 102px;
  font-family: "Atyp-Display";
  font-style: normal;
  font-weight: 600;
  font-size: 120px;
  line-height: 70.9%;
}
@media (max-width: 1024px) {
  .contacts__title {
    padding-top: 51px;
    font-size: 60px;
    line-height: 70.9%;
  }
}
@media (max-width: 525px) {
  .contacts__title {
    font-size: 33px;
    line-height: 70.9%;
  }
}
.contacts__links {
  margin-top: 58px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
  position: relative;
}
.contacts__links-item {
  padding: 20px 35px;
  font-family: "Atyp-Display";
  font-style: normal;
  font-weight: 500;
  font-size: 58px;
  line-height: 49px;
  border: 7px solid var(--primary-text-dark);
  border-radius: 70px;
}
.contacts__links-item:hover {
  -webkit-animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
          animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@-webkit-keyframes shake {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  25% {
    -webkit-transform: translateX(-5px);
            transform: translateX(-5px); /* Влево */
  }
  50% {
    -webkit-transform: translateX(5px);
            transform: translateX(5px); /* Вправо */
  }
  75% {
    -webkit-transform: translateX(-5px);
            transform: translateX(-5px); /* Влево */
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
@keyframes shake {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  25% {
    -webkit-transform: translateX(-5px);
            transform: translateX(-5px); /* Влево */
  }
  50% {
    -webkit-transform: translateX(5px);
            transform: translateX(5px); /* Вправо */
  }
  75% {
    -webkit-transform: translateX(-5px);
            transform: translateX(-5px); /* Влево */
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
.contacts__links-mobile {
  display: none;
}
@media (max-width: 525px) {
  .contacts__links-mobile {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 83px;
    font-family: "Atyp-Display";
    font-style: normal;
    font-weight: 400;
    font-size: 29.2941px;
    line-height: 70.9%;
  }
}
@media (max-width: 1200px) {
  .contacts__links {
    gap: 20px;
    margin-top: 30px;
  }
  .contacts__links-item {
    padding: 10px 20px;
    font-size: 30px;
    line-height: 49px;
  }
}
@media (max-width: 640px) {
  .contacts__links {
    gap: 11px;
    margin-top: 15px;
    margin-top: 23px;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .contacts__links-item {
    border: 3px solid var(--primary-text-dark);
    padding: 3px 19px;
    font-size: 24px;
  }
}
@media (max-width: 525px) {
  .contacts__links-item:nth-child(1) {
    margin-left: 0;
  }
  .contacts__links-item:nth-child(2) {
    margin-left: 64px;
  }
  .contacts__links-item:nth-child(3) {
    margin-left: 122px;
  }
}
.contacts__decore {
  margin-top: 72px;
  display: block;
  max-width: 316px;
  font-family: "Atyp-Display";
  font-style: normal;
  font-weight: 600;
  font-size: 111.529px;
  line-height: 70.9%;
}
.contacts__decore span {
  color: var(--primary-bg-color);
}
@media (max-width: 768px) {
  .contacts__decore {
    max-width: 100%;
    font-size: 96px;
  }
}
@media (max-width: 525px) {
  .contacts__decore {
    display: none;
  }
}

.footer {
  border-radius: 30px 30px 0 0;
  background-color: var(--primary-bg-color);
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 99;
}
.footer__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 145px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-bottom: 86px;
  padding-top: 54px;
}
@media (max-width: 525px) {
  .footer__content {
    padding-top: 37px;
    padding-bottom: 25px;
  }
}
.footer__title {
  font-family: "Atyp-Display";
  font-style: normal;
  font-weight: 600;
  font-size: 120px;
  line-height: 70.9%;
  position: relative;
}
.footer__title a {
  color: var(--primary-text-light);
}
@media (max-width: 525px) {
  .footer__title::after {
    content: "";
    display: block;
    width: 54px;
    height: 54px;
    background: url("./img/svg/footer-decore.svg") no-repeat center/contain;
    position: absolute;
    bottom: 0;
    right: 60px;
    display: none;
  }
}
.footer img {
  width: 284px;
  height: 284px;
}
@media (max-width: 1024px) {
  .footer img {
    display: none;
  }
}
@media (max-width: 600px) {
  .footer__title {
    font-size: 44px;
    line-height: 79.9%;
  }
  .footer__title br {
    display: none;
  }
}

.main__title {
  padding-top: 185px;
  padding-bottom: 50px;
  font-family: "Atyp-Display";
  font-style: normal;
  font-weight: 600;
  font-size: 120px;
  line-height: 70.9%;
  color: var(--primary-text-light);
}
@media (max-width: 1024px) {
  .main__title {
    padding-top: 150px;
    font-size: 100px;
  }
}
@media (max-width: 525px) {
  .main__title {
    padding-top: 115px;
    padding-bottom: 15px;
    font-size: 44px;
  }
}

.case {
  border-radius: 30px 30px 0 0;
  overflow: hidden;
  font-size: 20px;
}
.case__content {
  padding-top: 86px;
  padding-bottom: 405px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .case__content {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
@media (max-width: 525px) {
  .case__content {
    padding-top: 28px;
    padding-bottom: 350px;
    gap: 40px;
  }
}
.case__title {
  font-size: 28px;
  line-height: 70.9%;
}
.case__title br {
  display: none;
}
@media (max-width: 525px) {
  .case__title {
    font-size: 44px;
    line-height: 70.9%;
  }
  .case__title br {
    display: block;
  }
}
@media (max-width: 365px) {
  .case__title {
    word-wrap: break-word;
    word-break: break-all;
  }
}
.case__image {
  margin-top: 43px;
  height: 313px;
  border-radius: 17px;
  background-color: #727272;
  overflow: hidden;
}
@media (max-width: 525px) {
  .case__image {
    height: 185px;
    margin-top: 20px;
  }
}
.case__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.case__link {
  margin-top: 23px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.case__link p:first-child {
  padding: 8px 14px;
  border: 2px solid var(--primary-text-dark);
  border-radius: 25px;
  font-size: 16px;
  line-height: 23px;
}
@media (max-width: 525px) {
  .case__link p:first-child {
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 19px;
  }
}
.case__link img {
  margin-left: 19px;
  width: 219px;
}
@media (max-width: 525px) {
  .case__link img {
    width: 156px;
    margin-left: 15px;
  }
}
.case__link p:last-child {
  margin-left: 10px;
  font-size: 16px;
  line-height: 23px;
}
@media (max-width: 525px) {
  .case__link p:last-child {
    font-size: 11px;
  }
}
.case__link:hover p:last-child {
  -webkit-animation: moveAnimation 2s infinite;
          animation: moveAnimation 2s infinite;
}
@-webkit-keyframes moveAnimation {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  50% {
    -webkit-transform: translateX(10px);
            transform: translateX(10px);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
@keyframes moveAnimation {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  50% {
    -webkit-transform: translateX(10px);
            transform: translateX(10px);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

.last-section {
  padding-bottom: 50px;
}

.modal__form {
  background-color: rgba(16, 21, 28, 0.45);
  position: fixed;
  top: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 999;
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}
.modal__form--active {
  opacity: 1;
  pointer-events: all;
}
.modal__form-bg {
  padding: 3rem;
  background: var(--primary-text-light);
  max-width: 500px;
  border-radius: 30px;
  z-index: 999;
  -webkit-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
  -webkit-transform: translateX(-500%);
          transform: translateX(-500%);
  opacity: 0;
  position: relative;
}
.modal__form-bg img {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
@media (max-width: 525px) {
  .modal__form-bg {
    max-width: 100%;
    width: 100%;
    height: 100%;
    border-radius: 0;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}
.modal__form-bg--active {
  -webkit-transform: translateX(0);
          transform: translateX(0);
  opacity: 1;
}
.modal__form .contact-form__title {
  font-size: 44px;
  width: 300px;
}
.modal__form form {
  width: 300px;
}
.modal__form .contact-form__submit {
  font-size: 16px;
  padding: 10px 40px;
  margin-top: 30px;
}

.single-case__content {
  padding-bottom: 200px;
}
@media (max-width: 525px) {
  .single-case__content {
    padding-bottom: 50px;
  }
}
.single-case__hashtag {
  padding-top: 86px;
}
.single-case__title {
  margin-top: 20px;
  font-weight: 600;
  font-size: 28px;
  line-height: 70.9%;
}
.single-case__title br {
  display: none;
}
@media (max-width: 525px) {
  .single-case__title {
    padding-top: 28px;
    font-size: 44px;
    line-height: 70.9%;
  }
  .single-case__title br {
    display: block;
  }
}
@media (max-width: 365px) {
  .single-case__title {
    word-wrap: break-word;
    word-break: break-all;
  }
}
.single-case__image {
  margin-top: 43px;
  width: 100%;
  height: 100%;
  border-radius: 17px;
  overflow: hidden;
}
.single-case__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 525px) {
  .single-case__image {
    margin-top: 20px;
  }
  .single-case__image img {
    height: 185px;
  }
}
.single-case__descr {
  margin-top: 29px;
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
}
.single-case__details {
  margin-top: 29px;
}
.single-case__additional p {
  margin-top: 19px;
}
.single-case__summary {
  margin-top: 29px;
}
.single-case .case__link {
  margin-top: 62px;
}
.single-case .case__link img {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.sending {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 21, 28, 0.45);
  z-index: 999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
}

.sending--active {
  opacity: 1;
  pointer-events: all;
}

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

.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  -webkit-animation-timing-function: cubic-bezier(0, 1, 1, 0);
          animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 8px;
  -webkit-animation: lds-ellipsis1 0.6s infinite;
          animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 8px;
  -webkit-animation: lds-ellipsis2 0.6s infinite;
          animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 32px;
  -webkit-animation: lds-ellipsis2 0.6s infinite;
          animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 56px;
  -webkit-animation: lds-ellipsis3 0.6s infinite;
          animation: lds-ellipsis3 0.6s infinite;
}

@-webkit-keyframes lds-ellipsis1 {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes lds-ellipsis1 {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@-webkit-keyframes lds-ellipsis3 {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
}
@-webkit-keyframes lds-ellipsis2 {
  0% {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
  }
  100% {
    -webkit-transform: translate(24px, 0);
            transform: translate(24px, 0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
  }
  100% {
    -webkit-transform: translate(24px, 0);
            transform: translate(24px, 0);
  }
}
.failure-sending {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 21, 28, 0.45);
  z-index: 999;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  pointer-events: none;
}
.failure-sending--active {
  opacity: 1;
  pointer-events: all;
}
.failure-sending__bg {
  padding: 3rem;
  background: var(--primary-text-light);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
  opacity: 0;
  position: relative;
}
.failure-sending__bg img {
  cursor: pointer;
}
.failure-sending__bg--active {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
}

.succes-sending {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 21, 28, 0.45);
  z-index: 999;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  pointer-events: none;
}
.succes-sending--active {
  opacity: 1;
  pointer-events: all;
}
.succes-sending__bg {
  padding: 3rem;
  background: var(--primary-text-light);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
  opacity: 0;
  position: relative;
}
.succes-sending__bg img {
  cursor: pointer;
}
.succes-sending__bg--active {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
}

.thx-page__title {
  font-size: 44px;
}
@media (max-width: 525px) {
  .thx-page__title {
    font-size: 24px;
    line-height: 79.9%;
  }
}