img {
    max-width: 100%;
}

body {
    background-image: url('../img/bg.jpg');
    background-repeat: no-repeat;
}

/* montserrat-regular - cyrillic_latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/montserrat-v26-cyrillic_latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-700 - cyrillic_latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/montserrat-v26-cyrillic_latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.main {
    padding: 137px 0 117px 0;
}

.main-timer {
    margin: 0 auto 75px;
    display: flex;
    justify-content: center;
}

.timer__number {
    width: 98px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 63px;
    line-height: 100%;
    color: #4e37f0;
    border: 2.65px solid rgba(0, 0, 0, 0.2);
    border-radius: 13px;
    background: #fff;
}

.timer__dots {
    margin: 0 10px;
    display: flex;
    align-items: center;
    font-size: 50px;
}

.form-block {
    position: relative;
    margin: 0 auto;
    max-width: 1193px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.form-block::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 40px 0 rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    z-index: -1;
}

.form {
    width: 455px;
    padding: 107px 102px;
}

.form__title {
    margin: 0 auto 24px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 120%;
    text-align: center;
    color: #000;
}

.prices {
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.old-price {
    margin: 0 20px 0 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 120%;
    text-decoration: line-through;
    text-align: center;
    color: #000;
}

.new-price {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 120%;
    text-transform: uppercase;
    text-align: center;
    color: #e20000;
}

.form__input {
    padding: 20px 15px;
    display: block;
    width: 423px;
    margin: 0 0 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #2e2e2e;
    border: 1px solid #000;
    border-radius: 3px;
}

.form__btn {
    padding: 20px 0;
    width: 100%;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 140%;
    text-align: center;
    color: #fff;
    border-radius: 1000px;
    background: #4e37f0;
    border: none;
    cursor: pointer;
}

.form-block__img {
    padding: 111px 49px;
    display: block;
    background-color: #fff;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

@media (max-width: 1200px) {
    .form-block {
        max-width: 1065px;
    }

    .form {
        padding: 80px 70px;
    }

    .form-block__img {
        padding: 164px 24px;
    }
}

@media (max-width: 985px) {
    .main {
        padding: 50px 20px;
    }

    .main-timer {
        margin: 0 auto 35px;
    }

    .timer__number {
        width: 55px;
        height: 53px;
        font-size: 35px
    }

    .timer__dots {
        font-size: 40px;
    }

    .form-block {
        max-width: 320px;
        flex-direction: column-reverse;
    }
    
    .form-block__img {
        padding: 50px 0 0;
        margin: 0 auto;
        max-width: 170px;
        background-color: transparent;
    }
    
    .form {
        margin: 0 auto;
        padding: 30px 20px 40px;
        width: 280px;
    }

    .form__title {
        font-size: 20px;
        margin: 0 auto 16px;
    }

    .prices {
        flex-direction: column;
        margin: 0 auto 16px;
    }

    .form__input {
        padding: 15px;
        width: 248px;
    }
}