@media screen and (orientation: landscape) and (min-aspect-ratio: 7/2.5) {
  .main {
    padding-left: 30vh;
    padding-right: 30vh;
  }
}
@media screen and (orientation: landscape) and (max-aspect-ratio: 2/1) {
  .main {
    padding-left: 6vh;
    padding-right: 6vh;
  }
}

@media screen and (orientation: portrait) {
  body {
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  body::-webkit-scrollbar {
    display: none;
  }

  .background img {
    display: none;
  }

  .background img ~ img {
    display: block;
  }

  .logo {
    margin-bottom: 8vw;
  }

  .logo img {
    height: 16vw;
  }

  .background {
    position: absolute;
  }

  .background img {
    -o-object-position: center top;
    object-position: center top;
  }

  .main {
    padding: 6vw 6vw 9vw;
    max-width: 100%;
    overflow: hidden;
  }

  .prime {
    margin: 0 auto 2vw;
    max-width: 100%;
  }

  .prime__title {
    margin-bottom: 6.8vw;
    gap: 6.5vw 0;
    width: unset;
    font-size: 6.6vw;
  }

  .prime-title__bonus {
    padding: 4vw 5vw;
    min-width: 73vw;
  }

  .prime-title-bonus__header {
    padding: 1vw;
    min-width: 24vw;
    height: 4vw;
    font-size: 2.7vw;
  }

  .prime-title-bonus__summ {
    gap: 0 5.5vw;
  }

  .prime-title-bonus__summ > span::after {
    width: 2.7vw;
    height: 2.7vw;
    right: -4vw;
  }

  .prime__button {
    width: 45vw;
    height: 12vw;
    z-index: 1000;
  }

  .prime__button::after {
    width: -webkit-calc(100% - 0.7vw * 2);
    width: calc(100% - 0.7vw * 2);
    height: -webkit-calc(100% - 0.7vw * 2);
    height: calc(100% - 0.7vw * 2);
    -webkit-border-radius: 11vw;
    border-radius: 11vw;
  }

  .prime__button > span {
    font-size: 4.5vw;
  }

  .image {
    display: block;
    width: 100vw;
    z-index: 10;
    -webkit-animation: scale-animation 5s linear infinite;
    animation: scale-animation 5s linear infinite;
  }

  .image img {
    display: block;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }

  .footer {
    padding: 6vw 9vw;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-flow: column;
    -ms-flex-flow: column;
    flex-flow: column;
    position: static;
  }

  .footer > *:not(:last-child) {
    margin-right: 0;
    margin-bottom: 4.5vw;
  }

  .footer ul.footer__payment {
    gap: 2vw 4vw;
    max-width: 82vw;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .footer__payment img {
    height: 3.5vw;
  }

  .footer__title {
    margin-right: 0;
    font-size: 2.6vw;
  }

  .footer__crypto {
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    gap: 0 2vw;
    width: 100%;
  }

  .footer-crypto__title {
    margin-right: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 29vw;
    height: 4.5vw;
    font-size: 1.7vw;
    letter-spacing: 0.02em;
    background-image: url(../images/footer-element.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
  }

  .footer__crypto ul {
    gap: 2vw 3.5vw;
  }

  .footer__crypto img {
    height: 4vw;
  }
}
