@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

:root {
    --font-family: "Inter", sans-serif;
}

.modal__content {
    font-family: var(--font-family);
    color: #111827;
}


.modal2 {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1000;
    overflow-y: auto;
}

.modal2.is-open {
    display: block;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.modal__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    width: calc(100% - 20px);
    max-width: 888px;
    margin: 150px auto;
    background: #ffffff;
    border-radius: 30px;
    padding: 40px;
    max-height: calc(100vh - 26px);
    overflow-y: auto;
}

.modal__close {
    position: absolute;
    top: 35px;
    right: 35px;
    width: 49px;
    height: 49px;
    cursor: pointer;
    background: none;
    border: none;
}

.modal__img {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
}

.modal__wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
}

.modal__text {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.modal__text-title {
    font-weight: 700;
    font-size: 50px;
    text-align: center;
    line-height: 93%;
    margin: 0;
    color: #e96b05;
    text-shadow: 0 6px 6px 0 #fff;
}

.modal__text-desc {
    font-weight: 600;
    font-size: 35px;
    line-height: 55%;
    /* margin: 0; */
    color: #323b42;
    text-shadow: 0 5px 5px 0 #fff;
}

.modal__timer {
    width: 100%;
}

/* Контейнер таймера */
[id^="timer369aec774d848426add02d50465c4161"] {
    display: flex !important;
    justify-content: center;
    gap: 35px !important;
    width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
}

[id^="timer-separator-369aec774d848426add02d50465c4161"] {
    display: none !important;
}

/* Числа */
[id^="timer-number-value-369aec774d848426add02d50465c4161"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 18px 11px 12px !important;
    width: 100px;
    height: 100px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25) !important;
    background: #fff;
    font-family: var(--font-family) !important;
    font-weight: 600 !important;
    font-size: 40px !important;
    line-height: 93% !important;
    color: #0664b3 !important;
    text-shadow: 0 3px 3px 0 #fff !important;
}

/* Подписи */
[id^="timer-text-369aec774d848426add02d50465c4161"] {
    display: block !important;
    margin-top: 12px !important;
    text-align: center !important;
    font-family: var(--font-family) !important;
    font-weight: 600 !important;
    font-size: 30px !important;
    line-height: 93% !important;
    color: #323b42 !important;
    text-shadow: 0 2px 2px 0 #fff !important;
}

@media (max-width: 1440px) {
    .modal__content {
        max-width: 1024px;
    }

    .modal__img {
        max-width: 400px;
    }

    .modal__text-title {
        font-size: 100px;
    }

    .modal__text-desc {
        font-size: 32px;
    }

    [id^="timer369aec774d848426add02d50465c4161"] {
        gap: 20px !important;
    }

    [id^="timer-number-value-369aec774d848426add02d50465c4161"] {
        width: 100px;
        height: 100px;
        padding: 20px 14px !important;
        font-size: 42px !important;
    }

    [id^="timer-text-369aec774d848426add02d50465c4161"] {
        font-size: 24px !important;
    }
}

@media (max-width: 1024px) {
    .modal__content {
        flex-direction: column;
        gap: 28px;
        padding: 28px;
    }

    .modal__img {
        max-width: 430px;
    }

    .modal__wrap {
        width: 100%;
        align-items: center;
        gap: 40px;
    }

    .modal__text {
        align-items: center;
        text-align: center;
        gap: 18px;
    }

    .modal__text-title {
        font-size: 88px;
    }

    .modal__text-desc {
        font-size: 32px;
    }

    [id^="timer369aec774d848426add02d50465c4161"] {
        flex-wrap: wrap;
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .modal__content {
        width: calc(100% - 20px);
        padding: 18px;
        border-radius: 18px;
    }

    .modal__close {
        top: 14px;
        right: 14px;
        width: 38px;
        height: 38px;
    }

    .modal__text-title {
        font-size: 56px;
    }

    .modal__text-desc {
        font-size: 24px;
    }

    [id^="timer-number-value-369aec774d848426add02d50465c4161"] {
        width: 92px;
        height: 92px;
        padding: 20px 14px !important;
        font-size: 42px !important;
    }

    [id^="timer-text-369aec774d848426add02d50465c4161"] {
        margin-top: 8px !important;
        font-size: 24px !important;
    }
}

@media (max-width: 480px) {
    .modal__content {
        width: calc(100% - 12px);
        padding: 14px;
        margin: 25px auto;
    }

    .modal__img {
        max-width: 200px;
    }

    .modal__wrap {
        gap: 24px;
    }

    .modal__text-title {
        font-size: 44px;
    }

    .modal__text-desc {
        font-size: 24px!important;
    }

    [id^="timer369aec774d848426add02d50465c4161"] {
        gap: 10px;
    }

    [id^="timer-number-value-369aec774d848426add02d50465c4161"] {
        width: 65px;
        height: 65px;
        font-size: 30px !important;
    }

    [id^="timer-text-369aec774d848426add02d50465c4161"] {
        font-size: 18px !important;
    }
}



