@media screen and (max-width: 900px) {
  .logo img,
  .cryptex__wrap {
    margin: 0 auto;
  }

  .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 screen and (max-width: 700px) {
  .content:before {
    background: url("../img/bg-layer-mob.png") no-repeat bottom center / 100%;
  }

  .header {
    padding: 1.7vh 2vw 0;
  }

  .logo img {
    max-width: 149px;
  }

  .main {
    padding: 3vh 7px 0;
  }

  .main__img {
    position: static;
    left: 0;
    max-width: 81%;
    margin: auto auto 0;
  }

  .cryptex__wrap {
    width: clamp(376px, 85.8vw, 600px);
    padding: clamp(22px, 4vw, 30px) clamp(25px, 2.6vw, 35px)
      clamp(27px, 6.5vw, 54px);
    margin-bottom: 1.2vh;
  }

  .cryptex__main {
    max-height: clamp(205px, 47.2vw, 330px);
  }

  .cryptex__col {
    width: clamp(45px, 10.15vw, 71px);
  }

  .cryptex__col li {
    height: clamp(45px, 10.15vw, 71px);
  }

  .cryptex__button {
    font-size: clamp(16px, 2.24vw, 30px);
    width: clamp(223px, 52vw, 345px);
    height: clamp(38px, 8.77vw, 56px);
    margin: clamp(17px, 5.9vw, 41px) auto 0;
  }

  .footer {
    padding: 16px 8px;
  }

  .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 screen and (max-width: 380px) {
  .main__img {
    max-width: 50%;
  }

  .cryptex__wrap {
    width: 300px;
    padding: 11px 14px 22px;
  }

  .cryptex__main {
    max-height: 170px;
  }

  .cryptex__col {
    width: 38px;
  }

  .cryptex__col li {
    height: 38px;
  }

  .cryptex__button {
    border-radius: 5px;
    font-size: 12px;
    width: 175px;
    height: 28px;
    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 screen and (min-width: 1921px) {
  .logo img {
    height: 10vh;
  }

  .cryptex__wrap {
    width: 48.3vw;
    padding: 2.5vw 2.6vw 3.6vw;
  }

  .cryptex__main {
    max-height: 27.5vw;
  }

  .cryptex__col {
    width: 5.834vw;
  }

  .cryptex__col li {
    height: 5.834vw;
  }

  .cryptex__col li + li {
    margin-top: -0.4vw;
  }

  .cryptex__button {
    border-radius: 0.8vw;
    font-size: 1.7vw;
    width: 28.23vw;
    height: 4.8vw;
    margin: 1.9vw auto 0;
  }

  .footer__list {
    gap: 40px;
  }

  .popup__content {
    width: 53.01vw;
    height: 31vw;
  }

  .popup__title {
    font-size: 2.1vw;
  }

  .popip__deposit {
    font-size: 5.65vw;
  }

  .popup__upto {
    font-size: 2.3vw;
  }

  .popup__bonus {
    font-size: 3.6vw;
  }

  .popup__button {
    border-radius: 0.8vw;
    font-size: 2.24vw;
    width: 21.9vw;
    height: 4.8vw;
    margin: 0.6vw auto 0;
  }

  @-webkit-keyframes col {
    100% {
      -webkit-transform: translateY(-92.5vw);
      transform: translateY(-92.5vw);
    }
  }

  @-moz-keyframes col {
    100% {
      -moz-transform: translateY(-92.5vw);
      transform: translateY(-92.5vw);
    }
  }

  @-o-keyframes col {
    100% {
      -o-transform: translateY(-92.5vw);
      transform: translateY(-92.5vw);
    }
  }

  @keyframes col {
    100% {
      -webkit-transform: translateY(-92.5vw);
      -moz-transform: translateY(-92.5vw);
      -ms-transform: translateY(-92.5vw);
      -o-transform: translateY(-92.5vw);
      transform: translateY(-92.5vw);
    }
  }
}
@media (min-width: 700px) {
  .header {
    display: none;
  }
}
@media (max-width: 700px) {
  .desk-logo {
    display: none;
  }
  .main {
    padding: 3vh 7px 0;
    display: flex;
    flex-direction: column;
  }
}
