@media screen and (max-width: 900px) {
  .popup {
    padding-left: 6px;
    padding-right: 6px;
  }

  .popup__content {
    margin-right: auto;
    /* max-width: 328px;
    max-height: 507px; */
  }
  .popup.active {
    margin-bottom: 0;
    padding-top: 31px;
  }
}
@media (max-width: 1890px) {
  .main__img {
    max-width: 43%;
  }
}

@media (max-width: 1600px) {
  .main__img {
    max-width: 40%;
  }
}

@media (max-width: 1440px) {
  .main__img {
    max-width: 35%;
  }
}
@media (max-width: 1200px) {
  .main__img {
    max-width: 29%;
  }
  .cryptex__button {
    width: 460px;
  }
}
@media screen and (max-width: 1100px) {
  .cryptex__wrap {
    background: url(../img/cryptex-bg.png) no-repeat top center / contain;
    max-width: 956px;
    max-height: max-content;
  }
  .content {
    background: url(../img/bg-mob.png) no-repeat center / cover;
  }
  .header {
    padding: 1.7vh 2vw 0;
    display: none;
  }
  .cryptex__col li {
    height: clamp(71px, 5.359vw, 112px);
    height: 21.18% !important;
  }
  .cryptex__col li img {
    width: 55px;
  }
  .logo img {
    max-width: 882px;
  }

  .main {
    padding: 3vh 7px 0;
  }

  .main__img {
    left: 0;
    max-width: 100%;
    margin: auto auto 0;
    max-height: 873px;
    margin-top: -114px;
    margin-bottom: 33px;
    z-index: 999;
    position: relative;
  }
  @keyframes flyPlane {
    0% {
      opacity: 1;
      transform: translate(0, 0) rotate(-8deg);
    }

    15% {
      transform: translate(120px, -15px) rotate(-8deg);
    }

    30% {
      transform: translate(240px, -40px) rotate(-10deg);
    }

    45% {
      transform: translate(370px, -85px) rotate(-12deg);
    }

    60% {
      transform: translate(510px, -170px) rotate(-14deg);
    }

    75% {
      transform: translate(650px, -260px) rotate(-16deg);
    }
    90% {
      transform: translate(820px, -410px) rotate(-18deg);
    }
    100% {
      opacity: 1;
      transform: translate(790px, -370px) rotate(-2deg);
    }
  }
  .cryptex__plane {
    width: 90px;
  }
  .cryptex__button {
    height: 77px;
  }

  .cryptex__button {
    margin-top: 94px;
  }
  .main-text {
    display: none;
  }
  .footer-text {
    display: block;
  }
  .footer {
    padding: 16px 8px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .footer__list {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8px 20px;
  }

  .footer__list img {
    max-height: 20px;
  }

  .popup {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    /* padding-top: 11.5vh; */
    padding-bottom: 0;
  }
  .popup__title {
    font-size: 25px;
  }
  .popip__deposit,
  .popup__upto,
  .popup__bonus {
    font-size: 30px;
  }

  @-webkit-keyframes col {
    100% {
      -webkit-transform: translateY(clamp(-1140px, -159.5vw, -696px));
      transform: translateY(clamp(-1140px, -159.5vw, -696px));
    }
  }

  @-moz-keyframes col {
    100% {
      -moz-transform: translateY(clamp(-1140px, -159.5vw, -696px));
      transform: translateY(clamp(-1140px, -159.5vw, -696px));
    }
  }

  @-o-keyframes col {
    100% {
      -o-transform: translateY(clamp(-1140px, -159.5vw, -696px));
      transform: translateY(clamp(-1140px, -159.5vw, -696px));
    }
  }

  @keyframes col {
    100% {
      -webkit-transform: translateY(clamp(-1140px, -178.5vw, -696px));
      -moz-transform: translateY(clamp(-1140px, -178.5vw, -696px));
      -ms-transform: translateY(clamp(-1140px, -178.5vw, -696px));
      -o-transform: translateY(clamp(-1140px, -178.5vw, -696px));
      transform: translateY(clamp(-1140px, -159.5vw, -696px));
    }
  }
}
@media (max-width: 970px) {
  .cryptex__wrap {
    max-width: 100%;
    width: 750px;
    max-height: max-content;
  }

  .cryptex__main {
    max-height: 70%;
  }

  .cryptex__col {
    left: 45%;
  }

  .cryptex__plane {
    width: 56px;
    left: 35px;
    bottom: 25px;
  }

  @keyframes flyPlane {
    0% {
      opacity: 1;
      transform: translate(0, 0) rotate(-8deg);
    }

    15% {
      transform: translate(80px, -10px) rotate(-8deg);
    }

    30% {
      transform: translate(170px, -28px) rotate(-10deg);
    }

    45% {
      transform: translate(270px, -60px) rotate(-12deg);
    }

    60% {
      transform: translate(390px, -115px) rotate(-14deg);
    }

    75% {
      transform: translate(500px, -185px) rotate(-12deg);
    }

    100% {
      opacity: 1;
      transform: translate(620px, -275px) rotate(-4deg);
    }
  }
  .cryptex__plane {
    width: 75px;
  }
}
@media (max-width: 750px) {
  .cryptex__wrap {
    max-width: 100%;
    width: 600px;
    max-height: max-content;
  }

  .cryptex__main {
    max-height: 56%;
  }

  .cryptex__col {
    left: 45%;
    font-size: 50.5385px;
  }

  .cryptex__plane {
    width: 62px;
    left: 20px;
    bottom: 12px;
  }

  @keyframes flyPlane {
    0% {
      opacity: 1;
      transform: translate(0, 0) rotate(-8deg);
    }

    15% {
      transform: translate(55px, -8px) rotate(-8deg);
    }

    30% {
      transform: translate(120px, -20px) rotate(-10deg);
    }

    45% {
      transform: translate(210px, -48px) rotate(-11deg);
    }

    60% {
      transform: translate(320px, -95px) rotate(-12deg);
    }

    75% {
      transform: translate(430px, -155px) rotate(-10deg);
    }

    100% {
      opacity: 1;
      transform: translate(505px, -235px) rotate(-2deg);
    }
  }
}
@media (max-width: 600px) {
  .cryptex__wrap {
    max-width: 100%;
    width: 500px;
    max-height: max-content;

    background: url(../img/cryptex-bg.png) no-repeat top center / cover;
  }

  .cryptex__main {
    max-height: 48%;
  }

  .cryptex__col {
    left: 45%;
    font-size: 37.5385px;
    line-height: 1;
  }

  .cryptex__button {
    font-size: 22.2342px;
  }

  .cryptex__plane {
    width: 62px;
    left: 12px;
    bottom: 8px;
  }

  @keyframes flyPlane {
    0% {
      opacity: 1;
      transform: translate(0, 0) rotate(-8deg);
    }

    15% {
      transform: translate(40px, -5px) rotate(-8deg);
    }

    30% {
      transform: translate(90px, -15px) rotate(-9deg);
    }

    45% {
      transform: translate(160px, -38px) rotate(-10deg);
    }

    60% {
      transform: translate(245px, -75px) rotate(-11deg);
    }

    75% {
      transform: translate(335px, -125px) rotate(-9deg);
    }

    100% {
      opacity: 1;
      transform: translate(410px, -210px) rotate(-2deg);
    }
  }
}
@media (max-width: 510px) {
  .cryptex__wrap {
    max-width: 100%;
    width: 400px;
    max-height: max-content;
  }

  .cryptex__main {
    max-height: 38.5%;
  }

  .cryptex__col {
    font-size: 30px;
    left: 45%;
  }

  .cryptex__plane {
    width: 52px;
    left: 8px;
    bottom: 4px;
  }

  @keyframes flyPlane {
    0% {
      opacity: 1;
      transform: translate(0, 0) rotate(-8deg);
    }

    15% {
      transform: translate(28px, -4px) rotate(-8deg);
    }

    30% {
      transform: translate(65px, -12px) rotate(-9deg);
    }

    45% {
      transform: translate(115px, -28px) rotate(-10deg);
    }

    60% {
      transform: translate(180px, -58px) rotate(-10deg);
    }

    75% {
      transform: translate(250px, -98px) rotate(-8deg);
    }

    100% {
      opacity: 1;
      transform: translate(315px, -165px) rotate(-2deg);
    }
  }
}
@media (max-width: 415px) {
  .cryptex__wrap {
    max-width: 100%;
    width: 320px;
    max-height: max-content;
    margin-top: 26px;
    background: url(../img/cryptex-bg.png) no-repeat top center / contain;
  }

  .cryptex__main {
    max-height: 29%;
  }
.cryptex__wrap {
        margin-left: auto;
        margin-right: auto;
    }
  .logo img {
    max-width: 42%;
  }

  .cryptex__button {
    font-size: 14px;
    margin-top: 24px;
  }

  .cryptex__col {
    font-size: 26px;
    left: 45%;
    line-height: 1;
  }

  .cryptex__plane {
    width: 42px;
    left: 4px;
    bottom: 2px;
  }

  @keyframes flyPlane {
    0% {
      opacity: 1;
      transform: translate(0, 0) rotate(-8deg);
    }

    15% {
      transform: translate(20px, -3px) rotate(-8deg);
    }

    30% {
      transform: translate(45px, -8px) rotate(-8deg);
    }

    45% {
      transform: translate(82px, -20px) rotate(-9deg);
    }

    60% {
      transform: translate(130px, -42px) rotate(-9deg);
    }

    75% {
      transform: translate(185px, -72px) rotate(-7deg);
    }

    100% {
      opacity: 1;
      transform: translate(255px, -130px) rotate(-2deg);
    }
  }
}

@media screen and (max-width: 380px) {
  .main__img {
    max-width: 50%;
  }

  .cryptex__wrap {
    width: 300px;
  }

  .cryptex__col {
    width: 38px;
  }

  .cryptex__col li {
    height: 38px;
  }

  .cryptex__button {
    font-size: 12px;
    height: 46px;
    margin-top: 17px;
  }

  .footer__list {
    gap: 8px;
  }

  .footer__list img {
    max-height: 18px;
  }

  @-webkit-keyframes col {
    100% {
      -webkit-transform: translateY(-577px);
      transform: translateY(-577px);
    }
  }

  @-moz-keyframes col {
    100% {
      -moz-transform: translateY(-577px);
      transform: translateY(-577px);
    }
  }

  @-o-keyframes col {
    100% {
      -o-transform: translateY(-577px);
      transform: translateY(-577px);
    }
  }

  @keyframes col {
    100% {
      -webkit-transform: translateY(-577px);
      -moz-transform: translateY(-577px);
      -ms-transform: translateY(-577px);
      -o-transform: translateY(-577px);
      transform: translateY(-577px);
    }
  }
}

@media (min-width: 700px) {
  .header {
    display: none;
  }
}
@media (max-width: 1100px) {
  .main {
    padding: 3vh 7px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 900px) {
  .logo img {
    max-width: 57%;
  }
}
@media (max-width: 600px) {
  .cryptex__col li {
    height: 21.48% !important;
  }
  .cryptex__button {
    margin-top: 35px;
  }
  .cryptex__col li img {
    width: 33px;
  }
  .cryptex__button {
    width: max-content;
    padding: 0 24px;
  }
}

@media (max-width: 460px) {
  .main__img {
    max-width: 100%;
    max-height: 873px;
    margin-top: -50px;
         margin-bottom: 10px;
  }
  .cryptex__button {
    font-size: 18px;
    height: 46px;
  }

  .cryptex__col li {
    height: 21.69% !important;
  }
}
@media (max-width: 410px) {
  .cryptex__col li {
    height: 21.7% !important;
  }
}
@media (max-width: 400px) {
  .popup__content {
    max-width: 320px;
    max-height: 610px;
  }
  .popup__button {
    width: 274px;
    margin-top: 40px;
  }
  .popup__info {
    margin-top: 35px;
  }
  .popup__title {
    margin-top: 90px;
  }
}
@media (max-width: 380px) {
  .cryptex__col li {
    height: 22.1% !important;
  }
}
