@media screen and (max-aspect-ratio: 3/4){
  html {
    font-size: 2vw;
  }
  body {
    background-image: url(../img/bg-mob.webp);
    background-position: top;
  }
  .main {
    gap: 35px;
    padding: 0px 2rem 6rem 2rem;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .header {
    padding: 4rem 2rem;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 40px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: row-reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }
  .info__title span {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .info {
    width: 100%;
    margin: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: column-reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    text-align: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .info__label {
    margin-bottom: 0.7rem;
  }
  .timer {
    max-width: 56rem;
  }
  .form {
    width: 90%;
    margin-top: 0;
  }
  .error-list {
    font-size: 14px;
  }
}


@media screen and (max-width: 700px) {
  html {
    font-size: 2vw;
  }
  body {
    background-image: url(../img/bg-mob.webp);
    background-position: top;
  }
  .main {
    gap: 35px;
    padding: 0px 2rem 6rem 2rem;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .header {
    padding: 4rem 2rem;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 40px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: row-reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }
  .info__title span {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .info {
    width: 100%;
    margin: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: column-reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    text-align: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .info__label {
    margin-bottom: 0.7rem;
  }
  .timer {
    max-width: 56rem;
  }

  .header {
    padding: 16px;
  }
  .main {
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 90px;
    gap: 0;
  }
  .header {
    gap: 20px;
  }
  .header__logo {
    max-width: 142px;
  }
  .info__bonus {
    width: 100%;
    margin-bottom: 11px;
    -webkit-border-radius: 22px;
            border-radius: 22px;
    padding: 16px;
    font-size: 8.2vw;
  }
  .info__bonus small{
    font-size: 5.7vw;
  }
  .info__title {
    display: none;
  }
  .info__timer {
    width: 100%;
    padding: 0;
    background: none;
    border: none;
    margin-bottom: 16px;
  }
  .timer__items {
    gap: 8px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-grid-columns: minmax(0, 64px) 8px minmax(0, 64px) 8px minmax(0, 64px) 8px minmax(0, 64px);
    grid-template-columns: repeat(4, minmax(0, 64px));
  }
  .timer__item {
    padding: 10px 5px;
    -webkit-border-radius: 8px;
            border-radius: 8px;
  }

  .timer__label {
    display: none;
  }
  .timer__value {
    font-size: 30px;
  }
  .timer__item small {
    font-size: 12px;
  }
  .form {
    width: 100%;
    margin-top: 0;
    padding: 0;
    -webkit-border-radius: 32px;
            border-radius: 32px;
  }

  .form__title{
    font-size: 20px;
    margin-bottom: 18px;
  }
  .form-step {
    padding: 32px;
  }
  .error-list {
    font-size: 14px;
    margin-top: 12px;
  }
  .steps {
    gap: 50px;
    margin-bottom: 16px;
  }
  .steps__item {
    width: 32px;
    font-size: 15px;
    height: 32px;
  }
  .steps__item.is-active {
    font-size: 15px;
  }
  .steps__item.is-complete {
    background-size: 16px 16px;
  }
  .button:hover {
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
  }
  .form__field--phone .form__field-inner:first-child {
    width: 33%;
  }
  .form__field--phone .form__field-inner:last-child {
    width: 67%;
  }
  .form__field--country, .form__field--phone {
    gap: 10px;
  }
  .form-step .form__field--country .form__field-inner {
    width: 100%;
  }
  .form__field--split {
    gap: 8px;
    -ms-grid-columns: -webkit-calc(40% - 4px) 8px -webkit-calc(60% - 4px);
    -ms-grid-columns: calc(40% - 4px) 8px calc(60% - 4px);
    grid-template-columns: -webkit-calc(40% - 4px) -webkit-calc(60% - 4px);
    grid-template-columns: calc(40% - 4px) calc(60% - 4px);
  }

  .form__field--split .form__input {
    padding: 15px 16px;
  }
  .form__group-label {
    margin-bottom: 6px;
    font-size: 11px;
  }
  .form__date-fields {
    gap: 10px;
  }
  .form__field-inner--select::before {
    width: 16px;
    height: 16px;
    right: 16px;
    top: 16px;
  }
  .form__select {
    font-size: 14px;
    padding: 15px 40px 15px 16px;
  }
  .form__field--country .form__select {
    padding: 15px 40px 15px 16px;
  }
  .form__input {
    font-size: 14px;
    padding: 15px 16px 15px 40px;
  }
  .form__input.form__input--pass {
    padding-right: 40px;
  }
  .form__input-icon{
    width: 20px;
    height: 20px;
    left: 12px;
    top: 14px;
  }
  .form__field--select::before {
    right: 12px;
    width: 20px;
    height: 20px;
    top: 15px;
  }

  .form__field-icon {
    right: 12px;
    width: 20px;
    height: 20px;
    top: 15px;
  }
  .form__field {
    margin-bottom: 12px;
  }
  .form__field--country .form__field-inner:first-child {
    width: 67%;
  }
  .form__field--country .form__field-inner:last-child {
    width: 33%;
  }
  .form-step .form__field--country .form__field-inner {
    width: 100%;
  }
  .form__input.form__input--promo {
    padding: 17px;
    font-size: 14px;
  }
  .form__date-fields .form__input {
    padding: 15px 10px;
  }
  .form__actions {
    gap: 12px;
    -ms-grid-columns: -webkit-calc(40% - 6px) 12px -webkit-calc(60% - 6px);
    -ms-grid-columns: calc(40% - 6px) 12px calc(60% - 6px);
    grid-template-columns: -webkit-calc(40% - 6px) -webkit-calc(60% - 6px);
    grid-template-columns: calc(40% - 6px) calc(60% - 6px);
  }
  .radio-group {
    padding: 12px;
  }
  .radio-option span {
    gap: 12px;
    padding: 0;
    font-size: 14px;
  }
  .radio-option span::before {
    width: 20px;
    height: 20px;
    border-width: 2px;
  }
  .radio-option span::after {
    left: 5px;
    width: 10px;
    height: 10px;
  }
  .check-option {
    gap: 12px;
    font-size: 11px;
  }
  .form__field--checks {
    gap: 16px;
    -webkit-border-radius: 14px;
            border-radius: 14px;
    padding: 16px;
  }
  .check-option__box {
    width: 16px;
    height: 16px;
  }
  .check-option__box img {
    width: 10px;
  }
  .form__actions {
    gap: 10px;
  }
  .button {
    font-size: 14px;
    padding: 14px;
  }
}

@media screen and (max-width: 380px){
  .form-step {
    padding: 15px;
  }
  .form__input, .form__select {
    font-size: 12px;
  }
  .form__input-icon {
    width: 18px;
    height: 18px;
    top: 13px;
  }

  .form__field--select::before {
    right: 12px;
    width: 18px;
    height: 18px;
    top: 14px;
  }

  .form__field-icon {
    right: 12px;
    width: 18px;
    height: 18px;
    top: 14px;
  }
}
