@media screen and (max-width: 1400px) {
  .cover {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media screen and (max-width: 1024px) and (orientation: landscape) {
  .footer {
    padding: 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    opacity: 1;
    overflow: unset;
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
  }
  .footer.active {
    position: relative;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
  }

  .footer__arrow {
    padding: 0 !important;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 3.9vw;
    -ms-flex: 0 0 3.9vw;
    flex: 0 0 5vw;
    display: block !important;
    width: 5vw;
    height: 5vw;
    top: -4.9vw;
    left: 0;
    position: absolute;
    background-color: #2db155;
    z-index: 100;
    cursor: pointer;
  }
  .footer__arrow img {
    position: absolute;
    display: block;
    width: 3vw;
    height: 3vw;
    left: calc(50% - 3vw / 2);
    bottom: calc(50% - 3vw / 2);
    z-index: 1;
    -webkit-transition: all 0.15s linear;
    -o-transition: all 0.15s linear;
    transition: all 0.15s linear;
  }
  .footer.active .footer__arrow img {
    -webkit-transform: scale(-1);
    -ms-transform: scale(-1);
    transform: scale(-1);
  }

  .footer__text-main {
    padding-right: 12vh;
  }
  .footer__text-main .footer__icon {
    right: 2.5vh;
  }
}

@media screen and (max-height: 768px) and (orientation: landscape) {
  .logo img {
    height: 10vh;
  }

  .prime__title {
    max-width: 30vh;
    font-size: 8vh;
  }

  .prime__title > span:first-child {
    font-size: 10vh;
  }
  .prime__title > span:nth-of-type(2) {
    font-size: 6.5vh;
  }
  .prime__title > span:nth-of-type(5) {
    font-size: 6.6vh;
  }
  .prime__title .contrast:first-of-type {
    font-size: 11.25vh;
    letter-spacing: 0.22vh;
  }
  .prime__title .contrast:last-of-type {
    font-size: 7.35vh;
    letter-spacing: 0.15vh;
  }

  .prime__form {
    margin-top: -20vh;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 70vh;
    -ms-flex: 0 0 70vh;
    flex: 0 0 70vh;
  }
  .prime__form > * {
    margin-bottom: 1.5vh;
  }

  .prime-form__title {
    margin-bottom: 2.85vh;
    font-size: 4.5vh;
  }

  .prime__form input,
  .prime-form__select .list-title > span {
    padding: 1.7vh 4vh;
    font-size: 2.2vh;
    border-radius: 7.05vh;
    border: 0.15vh solid #5f898c;
  }

  .prime__form input::-webkit-input-placeholder {
    font-size: 2.2vh;
  }

  .prime__form input::-moz-placeholder {
    font-size: 2.2vh;
  }

  .prime__form input:-ms-input-placeholder {
    font-size: 2.2vh;
  }

  .prime__form input::-ms-input-placeholder {
    font-size: 2.2vh;
  }

  .prime__form input::placeholder {
    font-size: 2.2vh;
  }

  .prime-form__select .list-box {
    padding: 8vh 2.85vh 2.55vh 2.85vh;
    border-radius: 4.5vh;
  }

  .prime-form__country label > img {
    width: 4.44vh;
    height: 4.44vh;
    left: -1.38vh;
    bottom: calc(50% - 2.22vh);
  }

  .prime-form__country .list-title.selected > span {
    padding-left: 6vh;
  }

  .prime-form__country .list-title span > img,
  .prime-form__select .list-title > span > img {
    width: 4.44vh;
    height: 4.44vh;
    left: 0.92vh;
    bottom: calc(50% - 2.22vh);
  }

  .prime-form__date:hover label {
    padding: 1.5vh 4vh;
  }

  .prime-form__date {
    padding: 1.7vh 4vh;
    font-size: 2.2vh;
    border-radius: 7vh;
    border: 0.15vh solid #5f898c;
  }

  .prime-form__date label {
    padding: 0 4vh;
    font-size: 2.2vh;
    border-radius: 7.05vh;
  }

  .prime-form__date input {
    padding: 0 1.2vh !important;
  }

  .prime-form__date input#day {
    margin-left: -1.2vh;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 10.5vh;
    -ms-flex: 0 0 10.5vh;
    flex: 0 0 10.5vh;
  }

  .prime-form__date input#month {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 12vh;
    -ms-flex: 0 0 12vh;
    flex: 0 0 12vh;
  }

  .prime-form__date input#year {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 15vh;
    -ms-flex: 0 0 15vh;
    flex: 0 0 15vh;
  }

  .prime-form__select label {
    padding: 1.2vh 0;
    font-size: 2.2vh;
  }

  .prime-form__country label,
  .prime-form__country input {
    padding-left: 4vh;
  }

  .prime-form__check {
    padding: 0 3.3vh;
    margin-top: 1.5vh;
    margin-bottom: 3vh;
    font-size: 1.8vh;
  }

  .prime-form__check > input {
    margin: 0.3vh 2.25vh 0.3vh 0.3vh !important;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 3.6vh;
    -ms-flex: 0 0 3.6vh;
    flex: 0 0 3.6vh;
    height: 3.6vh;
    width: 3.6vh;
  }

  .prime-form__check > input::after {
    width: 4.8vh;
    height: 4.8vh;
    border: 0.45vh solid #4a8ebf;
  }

  .prime-form__button {
    padding: 3.06vh 4.44vh;
    font-size: 3.33vh;
    border-radius: 7vh;
    -webkit-box-shadow: 0 0.7vh 0 0 #229244;
    box-shadow: 0 0.7vh 0 0 #229244;
  }

  .popup-success {
    font-size: 3.2vh;
  }
  .popup__title {
    font-size: 4vh;
  }
  .popup__log,
  .popup__pass {
    font-size: 4vh;
  }
}

@media screen and (orientation: portrait) {
  body::before {
    background-image: -o-linear-gradient(
        top,
        #1b242c 0%,
        rgba(27, 36, 44, 0.87) 17.71%,
        rgba(27, 36, 44, 0.12) 36.98%,
        rgba(27, 36, 44, 0.88) 55.21%,
        rgba(27, 36, 44, 0) 100%
      ),
      -o-linear-gradient(287deg, rgba(0, 51, 55, 0.63) 21.13%, rgba(
              2,
              56,
              60,
              0.01
            )
            42.08%, rgba(2, 57, 61, 0.03) 53.02%, #054146 98.1%),
      url(../images/background-mob.png);
    background-image: -o-linear-gradient(
        top,
        #1b242c 0%,
        rgba(27, 36, 44, 0.87) 17.71%,
        rgba(27, 36, 44, 0.12) 36.98%,
        rgba(27, 36, 44, 0.88) 55.21%,
        rgba(27, 36, 44, 0) 100%
      ),
      -o-linear-gradient(287deg, rgba(0, 51, 55, 0.63) 21.13%, rgba(
              2,
              56,
              60,
              0.01
            )
            42.08%, rgba(2, 57, 61, 0.03) 53.02%, #054146 98.1%),
      url(../images/background-mob.png);
    background-image: -o-linear-gradient(
        top,
        #1b242c 0%,
        rgba(27, 36, 44, 0.87) 17.71%,
        rgba(27, 36, 44, 0.12) 36.98%,
        rgba(27, 36, 44, 0.88) 55.21%,
        rgba(27, 36, 44, 0) 100%
      ),
      -o-linear-gradient(287deg, rgba(0, 51, 55, 0.63) 21.13%, rgba(
              2,
              56,
              60,
              0.01
            )
            42.08%, rgba(2, 57, 61, 0.03) 53.02%, #054146 98.1%),
      url(../images/background-mob.png);
    background-image: linear-gradient(
        180deg,
        #1b242c 0%,
        rgba(27, 36, 44, 0.87) 17.71%,
        rgba(27, 36, 44, 0.12) 36.98%,
        rgba(27, 36, 44, 0.88) 55.21%,
        rgba(27, 36, 44, 0) 100%
      ),
      linear-gradient(
        163deg,
        rgba(0, 51, 55, 0.63) 21.13%,
        rgba(2, 56, 60, 0.01) 42.08%,
        rgba(2, 57, 61, 0.03) 53.02%,
        #054146 98.1%
      ),
      url(../images/background-mob.png);
    background-position: center top;
  }
  body::after {
    display: none;
  }

  .cover {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .header {
    padding-top: 3vw;
    padding-bottom: 3vw;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .logo img {
    height: 15.4vw;
  }

  .main {
    padding-top: 5.1vw;
    padding-bottom: 17vw;
    position: relative;
    z-index: 10;
  }

  .prime {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .prime > * {
    margin-bottom: 0;
  }

  .prime__title {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    font-size: 7.2vw;
  }

  .prime__title > span {
    display: inline-block;
  }
  .prime__title > span:nth-child(n) {
    font-size: 7.2vw;
    letter-spacing: 0.02em;
  }
  .prime__title br {
    display: block;
  }
  .prime__title > .large {
    margin-top: 2vw;
    display: block;
    font-size: 6.2vw;
  }
  .prime__title > .large .contrast {
    font-size: 14.9vw;
    text-shadow: 0 0 3.1vw rgba(0, 0, 0, 0.5);
    text-shadow: 0.3vw 0 0 rgba(255, 230, 0, 0.6),
      0 -0.3vw 0 rgba(255, 230, 0, 0.6), 0 0.3vw 0 rgba(255, 230, 0, 0.6),
      -0.3vw 0 0 rgba(255, 230, 0, 0.6);
  }

  .prime__form {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    padding: 4.1vw;
    margin-left: 0;
    border-radius: 8.2vw;
    background: -o-linear-gradient(
      top,
      #1b242c 0%,
      rgba(27, 36, 44, 0.9) 39.06%,
      rgba(27, 36, 44, 0) 100%
    );
    background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(#1b242c),
      color-stop(39.06%, rgba(27, 36, 44, 0.9)),
      to(rgba(27, 36, 44, 0))
    );
    background: linear-gradient(
      180deg,
      #1b242c 0%,
      rgba(27, 36, 44, 0.9) 39.06%,
      rgba(27, 36, 44, 0) 100%
    );
  }

  .prime-form__title {
    margin-bottom: 5.1vw !important;
    font-size: 7.2vw;
  }

  .prime__form > * {
    margin-bottom: 2.6vw;
  }

  .prime__form input::-webkit-input-placeholder {
    font-size: 4vw;
  }

  .prime__form input::-moz-placeholder {
    font-size: 4vw;
  }

  .prime__form input:-ms-input-placeholder {
    font-size: 4vw;
  }

  .prime__form input::-ms-input-placeholder {
    font-size: 4vw;
  }

  .prime__form input,
  .prime-form__select .list-title > span,
  .prime__form input::placeholder,
  .prime-form__select label {
    font-size: 4vw;
  }

  .prime__form input,
  .prime-form__select .list-title > span {
    padding: 3.6vw 6.2vw;
    border-radius: 13vw;
    border: 0.3vw solid #5f898c;
  }

  .prime-form__select .list-box.expanded {
    max-height: 50vw;
  }

  .prime-form__select .list-box {
    padding: 15.5vw 6.2vw 6.2vw 6.2vw;
    border-radius: 9vw 9vw 5vw 5vw;
  }

  .prime-form__select {
    min-height: 15.5vw;
  }

  .prime-form__date {
    padding: 3.6vw 6.2vw;
    font-size: 4vw;
    border-radius: 13vw;
    border: 0.3vw solid #5f898c;
  }

  .prime-form__date label {
    padding: 0 6.2vw;
    font-size: 4vw;
    border-radius: 13vw;
  }

  .prime-form__date:hover label {
    padding: 2vw 6.2vw;
  }

  .prime-form__date input {
    padding: 0 2vw !important;
  }

  .prime-form__date input#day {
    margin-left: -2vw;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 15vw;
    -ms-flex: 0 0 15vw;
    flex: 0 0 15vw;
  }
  .prime-form__date input#month {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 17vw;
    -ms-flex: 0 0 17vw;
    flex: 0 0 17vw;
  }
  .prime-form__date input#year {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 21vw;
    -ms-flex: 0 0 21vw;
    flex: 0 0 21vw;
  }

  .prime-form__country .list-title.selected span {
    padding-left: 12.3vw;
  }
  .prime-form__country .list-title span > img,
  .prime-form__select .list-title > span > img,
  .prime-form__country label > img {
    width: 8.2vw;
    height: 8.2vw;
    bottom: calc(50% - 8.2vw / 2);
  }
  .prime-form__country .list-title span > img,
  .prime-form__select .list-title > span > img {
    left: 2vw;
  }
  .prime-form__country label > img {
    left: -3.5vw;
  }
  .prime-form__select label {
    padding: 3.1vw 0;
  }
  .prime-form__country label,
  .prime-form__country input {
    padding-left: 6.2vw;
  }

  .prime-form__select .list-title::after {
    width: 3.1vw;
    height: 2.05vw;
    right: 6.4vw;
    bottom: calc(50% - 2.05vw / 2);
  }

  .prime-form__check {
    padding: 0;
    margin-top: 2.5vw;
    font-size: 3.6vw;
  }
  .prime-form__check > input {
    margin: 1.8vw 4.7vw 1.8vw 1.8vw !important;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 4.6vw;
    -ms-flex: 0 0 4.6vw;
    flex: 0 0 4.6vw;
    height: 4.6vw;
    width: 4.6vw;
  }
  .prime-form__check > input::after {
    width: 6.6vw;
    height: 6.6vw;
    border: 0.8vw solid #4a8ebf;
  }

  input.error {
    border: 0.3vw solid #b40600;
  }

  .prime-form__button {
    padding: 5.5vw 6vw;
    font-size: 6.2vw;
    border-radius: 13vw;
    -webkit-box-shadow: 0 1.3vw 0 0 #229244;
    box-shadow: 0 1.3vw 0 0 #229244;
  }

  .prime__image {
    margin-top: 2vw;
    position: static;
    height: auto;
    width: 100%;
  }
  .prime__image img {
    height: unset;
    max-width: 100%;
    width: 100%;
    -o-object-position: center;
    object-position: center;
    -o-object-fit: contain;
    object-fit: contain;
  }

  .popup {
    padding: 3.6vw 6.2vw;
    width: calc(100% - 4.1vw * 2);
    left: 4.1vw;
    font-size: 4.5vw;
    border-radius: 6vw;
  }

  .popup-success {
    font-size: 4.5vw;
    border: 0.5vw solid #229244;
  }

  .popup__title {
    font-size: 7vw;
  }

  .popup-success > span {
    margin-bottom: 5vw;
  }

  .popup__log,
  .popup__pass {
    padding: 0 8vw;
    font-size: 4.7vw;
  }
  .popup__log::after,
  .popup__pass::after {
    width: 5vw;
    height: 5vw;
    bottom: calc(50% - 5vw / 2);
  }

  .footer {
    padding: 0;
    -webkit-flex-wrap: wrap-reverse;
    -ms-flex-wrap: wrap-reverse;
    flex-wrap: wrap-reverse;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    opacity: 1;
    overflow: unset;
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: all 0.15s linear;
    -o-transition: all 0.15s linear;
    transition: all 0.15s linear;
  }
  .footer.active {
    position: relative;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
  }

  .footer__arrow {
    padding: 0 !important;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 13.3vw;
    -ms-flex: 0 0 13.3vw;
    flex: 0 0 13.3vw;
    display: block !important;
    width: 13.3vw;
    height: 13.3vw;
    top: -13.1vw;
    left: 0;
    position: absolute;
    background-color: #2db155;
    z-index: 100;
    cursor: pointer;
  }
  .footer__arrow img {
    position: absolute;
    display: block;
    width: 7.9vw;
    height: 7.9vw;
    left: calc(50% - 7.9vw / 2);
    bottom: calc(50% - 7.9vw / 2);
    z-index: 1;
    -webkit-transition: all 0.15s linear;
    -o-transition: all 0.15s linear;
    transition: all 0.15s linear;
  }
  .footer.active .footer__arrow img {
    -webkit-transform: scale(-1);
    -ms-transform: scale(-1);
    transform: scale(-1);
  }
  .footer > * {
    padding: 5.3vw;
    -webkit-box-flex: 0 !important;
    -webkit-flex: 0 0 100% !important;
    -ms-flex: 0 0 100% !important;
    flex: 0 0 100% !important;
    font-size: 3.7vw;
    font-weight: 400;
    line-height: 1.8;
    z-index: 10;
  }

  .footer__text-additional::after,
  .footer__text-main::after {
    display: none;
  }

  .footer__text-additional {
    background-color: #000;
  }
  .footer__text-main {
    padding-top: 8vw;
    padding-bottom: 8vw;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 28%;
    -ms-flex: 0 0 28%;
    flex: 0 0 28%;
    background-color: #fff;
  }
  .footer__text-main .footer-text__desc {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 calc(100% - 19.7vw - 7vw);
    -ms-flex: 0 0 calc(100% - 19.7vw - 7vw);
    flex: 0 0 calc(100% - 19.7vw - 7vw);
  }
  .footer__text-main .footer__icon {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 19.7vw;
    -ms-flex: 0 0 19.7vw;
    flex: 0 0 19.7vw;
    width: 19.7vw;
    height: 19.7vw;
    position: static;
  }
}
