.timer {
    min-height: 100vh;
    background-image: url("../img/timer/hero-bg.png");
    /* background-position: 4%; */
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 2;
    /* background-position: bottom; */
}

.timer_container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    gap: 20px;
}

.text-faint {
    font-size: 40px;
    font-family: "Work Sans 800";
    font-weight: 700;
    color: rgba(255, 199, 0, 0.05);
    letter-spacing: 35px;
    z-index: 1;
    position: relative;
    top: 12px;
    user-select: none;
    /* Запрещает выделение текста */
}

.text-highlight {
    font-size: 22px;
    font-family: "Work Sans 800";
    font-weight: 700;
    color: rgba(255, 199, 0, 1);
    z-index: 2;
    text-shadow: 0 0 20px rgba(255, 199, 0, 0.8), 0 0 40px rgba(255, 199, 0, 0.6);
    letter-spacing: 25px;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.countdown_block {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 20px 50px;
    border-radius: 10px;
    gap: 15px;
    width: 150px;
    height: 100px;
}

.countdown_block_1 {
    background: linear-gradient(90deg, rgba(171, 103, 206, 0.5) 0%, rgba(150, 67, 243, 0.5) 100%);
}

.countdown_block_2 {
    background: linear-gradient(90deg, rgba(150, 67, 243, 0.5) 0%, rgba(150, 67, 243, 0.5) 100%);
}

.countdown_block_3 {
    background: linear-gradient(90deg, rgba(150, 67, 243, 0.5) 0%, rgba(111, 60, 255, 0.5) 100%);
}

.countdown_numbers {
    color: #FFC700;
    font-size: 40px;
    font-weight: 700;
}

.countdown_text {
    color: #fff;
    font-size: 20px;
}

.bottom-bg {
    position: absolute;
    bottom: -100px;
    background: linear-gradient(to bottom,
            rgba(26, 1, 51, 0) 0%,
            /* Полностью прозрачный вверху */
            rgba(26, 1, 51, 1) 50%,
            /* Полностью непрозрачный в центре */
            rgba(26, 1, 51, 0) 100%
            /* Полностью прозрачный внизу */
        );
    height: 200px;
    width: 100%;
    z-index: 2;
    filter: blur(20px);
    /* Размытие */
    overflow: hidden;
    /* Обрезает размытие, выходящее за границы блока */
}

@media screen and (max-width: 1439px) {}

@media screen and (max-width: 1100px) {}

@media screen and (max-width: 790px) {
    .countdown_block {
        padding: 0px 0px;
        justify-content: center;
        gap: 0px;
        width: 100px;
        height: 70px;
    }

    .text-faint {
        font-size: 18px;
        letter-spacing: 25px;
        top: 20px;
    }

    .text-highlight {
        font-size: 18px;
        letter-spacing: 25px;
        text-shadow: 0 0 10px rgba(255, 199, 0, 0.8), 0 0 40px rgba(255, 199, 0, 0.6);
    }

    .countdown_numbers {
        font-size: 20px;
    }

    .countdown_text {
        font-size: 12px;
    }
}

@media screen and (max-width: 479px) {
    .countdown {
        gap: 5px;
    }

    .countdown_block {
        padding: 0px 0px;
        justify-content: center;
        gap: 0px;
        width: 80px;
        height: 60px;
    }

    .text-faint {
        top: 55px;
    }

    .countdown_numbers {
        font-size: 16px;
    }

    .countdown_text {
        font-size: 12px;
    }
}