@media screen and (orientation: portrait) {
  .header {
    padding: 6vw 4vw;
  }
  .header__logo img {
    height: 18vw;
  }

  .main {
    padding: 30vw 4vw 14vw;
    overflow: hidden;
    position: relative;
    height: -webkit-calc(100% + 30vw);
    height: calc(100% + 30vw);
    margin-top: -30vw;
  }

  .main__title {
    padding: 0;
    margin-bottom: 9vw;
  }

  .main__title img {
    height: 26vw;
  }

  .main__title::before,
  .main__title::after {
    display: none;
  }

  .main-wheel__wrap {
    padding: 3vw;
    width: 86vw;
    height: 86vw;
  }
  .main-wheel__arrow {
    top: -2vw;
    width: 9.2vw;
    height: 9.2vw;
    -webkit-filter: drop-shadow(0 1vw 1vw rgba(0, 0, 0, 0.25));
    filter: drop-shadow(0 1vw 1vw rgba(0, 0, 0, 0.25));
  }
  .main-wheel__button {
    width: 24vw;
    height: 24vw;
    bottom: -webkit-calc(50% - 24vw / 2);
    bottom: calc(50% - 24vw / 2);
    right: -webkit-calc(50% - 24vw / 2);
    right: calc(50% - 24vw / 2);
  }
  .main-wheel__button > span {
    font-size: 5vw;
  }

  .main-de .main-wheel__button > span,
  .main-pt .main-wheel__button > span,
  .main-it .main-wheel__button > span {
    font-size: 4.1vw;
  }
  .main-gr .main-wheel__button > span,
  .main-fi .main-wheel__button > span {
    font-size: 2.6vw;
  }
  .main-hu .main-wheel__button > span,
  .main-cz .main-wheel__button > span {
    font-size: 3.3vw;
  }

  .main__background img {
    display: none;
  }

  .main__background img ~ img {
    display: block;
  }

  .main__image {
    position: absolute;
    z-index: 100;
  }
  .main__image img {
    display: none;
  }
  .main__image img ~ img {
    display: block;
  }

  .main__image-bottom {
    bottom: -42vw;
    bottom: unset;
    top: 112vw;
    height: 96vw;
  }
  .main__image-top {
    top: 55vw;
    z-index: -1;
  }
  .main__image-top.main__image-left {
    height: 50vw;
  }
  .main__image-top.main__image-right {
    height: 42vw;
  }

  .main-wheel__wrap::before {
    width: 60vw;
    height: 60vw;
    bottom: -webkit-calc(50% - 60vw / 2);
    bottom: calc(50% - 60vw / 2);
    left: -webkit-calc(50% - 60vw / 2);
    left: calc(50% - 60vw / 2);
    -webkit-filter: blur(28vw);
    filter: blur(28vw);
  }

  .footer {
    padding: 10vw 8vw;
    -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: 9vw;
  }

  .footer__payment {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 5vw;
    max-width: 65vw;
  }

  .footer ul {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .footer__payment img {
    height: 5vw;
  }

  .footer__crypto {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .footer-crypto__title {
    margin-right: 0;
    margin-bottom: 5vw;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    text-align: center;
    font-size: 2.6vw;
  }

  .footer__crypto ul {
    gap: 4.5vw;
  }

  .footer__crypto img {
    height: 7vw;
  }

  .popup {
    position: absolute;
    max-height: 100%;
  }

  .popup__content {
    padding: 0;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    position: absolute;
    width: 92vw;
    height: unset;
    min-height: 83vw;
  }

  .popup__content::before {
    width: 100%;
    height: 60vw;
    bottom: 3vw;
  }

  .popup__content::after {
    width: 50%;
    height: 50%;
    bottom: 15%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    -webkit-box-shadow: 0px 4px 100px rgba(219, 76, 255, 0.6);
    box-shadow: 0px 4px 100px rgba(219, 76, 255, 0.6);
  }

  .popup__content > * + * {
    margin-top: 9vw;
  }

  .popup__title .line-first {
    font-size: 9.5vw;
    -webkit-filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
  }
  .popup__title .line-second {
    margin-top: 0.5vw;
    font-size: 5.5vw;
  }
  .popup__title .line-third {
    margin-left: auto;
    margin-right: auto;
    margin-top: 20vw;
    font-size: 9vw;
    max-width: 75vw;
  }

  .popup__title .line-first > span {
    display: none;
  }
  .popup__title .line-first > span ~ span {
    display: inline;
  }
  .popup__title .line-third br ~ br {
    display: block;
  }

  .main-it .popup__title .line-first {
    font-size: 9vw;
  }
  .main-cz .popup__title .line-third {
    max-width: 80vw;
  }
  .main-cz .popup__title .line-third br {
    display: block;
  }
  .main-fi .popup__title .line-third {
    margin-top: 25vw;
    margin-bottom: 6vw;
    max-width: 78vw;
    font-size: 8.5vw;
  }
  .main-fi .popup__title .line-third > span ~ span {
    font-size: 6.2vw;
  }

  .popup__button {
    width: 65vw;
    height: 12.5vw;
    font-size: 6vw;
    -webkit-border-radius: 2vw;
    border-radius: 2vw;
  }

  .popup__close {
    padding: 4vw;
    width: 14.5vw;
    height: 14.5vw;
  }
}
