#timer_box {
    position: relative;
    overflow: hidden;
}

.timer_wrapper {
    max-width: 1920px;
    width: 100%;
    position: relative;
    height: 740px;
    display: flex;
    align-items: end;
    padding: 30px 0;
    margin: 0 auto;
}

.timer_wrapper::before {
    content: '';
    position: absolute;
    bottom: 245px;
    right: -170px;
    height: 224px;
    width: 741px;
    background: url(../assets/pattern.png) center / contain no-repeat;
    pointer-events: none;
    z-index: 0;
}

.timer_wrapper::after {
    content: '';
    position: absolute;
    bottom: 245px;
    left: -215px;
    height: 224px;
    width: 741px;
    background: url(../assets/pattern.png) center / contain no-repeat;
    pointer-events: none;
    z-index: 0;
}

.timer_wrapper::before,
.timer_wrapper::after {
    content: "";
    position: absolute;
    opacity: 0;
    transform: translateY(20px) rotate(90deg);
    transition:
        transform 0.6s ease,
        opacity 0.6s ease;
    will-change: transform, opacity;
}

#timer_box.is-visible .timer_wrapper::before,
#timer_box.is-visible .timer_wrapper::after {
    opacity: 1;
    transform: translateY(0) rotate(90deg);
    transition-delay: 0.15s;
}

.rabit {
    position: absolute;
    bottom: 0;
    left: 50%;
    opacity: 0;
    transform: translateY(30px) translateX(-47%);
    transition:
        transform 0.6s ease,
        opacity 0.6s ease;
    will-change: transform, opacity;
}

#timer_box.is-visible .rabit {
    opacity: 1;
    transform: translateY(0) translateX(-47%);
    transition-delay: 0.35s;
}

.timer_body {
    height: fit-content;
    margin: 0 auto;
    display: flex;
    width: 100%;
    max-width: 1692px;
    padding: 38px 16px;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    border-top: 2.749px solid rgba(255, 255, 255, 0.00);
    border-bottom: 2.749px solid rgba(255, 255, 255, 0.00);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.00) 0%, rgba(245, 245, 245, 0.90) 20%, #EAEAEA 50%, rgba(245, 245, 245, 0.90) 80%, rgba(255, 255, 255, 0.00) 100%);
    z-index: 10;
    position: relative;
    justify-self: right;
    opacity: 0;
    transform: translateY(30px);
    transition:
        transform 0.6s ease,
        opacity 0.6s ease;
    will-change: transform, opacity;
}

#timer_box.is-visible .timer_body {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.55s;
}

.timer_title {
    font-family: Colus;
    font-size: 46px;
    font-weight: 400;
    line-height: 51.424px;
    letter-spacing: -0.46px;
    text-align: center;
}

.timer_title span {
    color: #AA0909;
}

.timer_for {
    text-align: center;
    font-family: Evolventa Bold;
    font-size: 18px;
    line-height: 24px;
    padding-top: 26px;
}

.timer {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: row;
    gap: 56px;
}

.timer>span {
    display: flex;
    position: relative;
    text-align: center;
    width: 95px;
    flex-direction: column;
    gap: 12px;
}

.timer span span:nth-child(1) {
    display: block;
    text-align: center;
    font-family: Evolventa Bold;
    color: #000;
    font-size: 40px;
    line-height: normal;
    text-transform: uppercase;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(0deg, #00000005 0%, #00000005 100%);
    box-shadow: 0 -1.25px 0.833px 0 #FFF inset, 0 -2.508px 0.502px 0 #ffffff4d inset, 0 1.254px 2.508px 0 #00000066 inset, 0 0.833px 0 0 #FFF, 0 -0.833px 0 0 #00000040;
}

.timer-title {
    color: #898989;
    text-align: center;
    font-family: Evolventa Bold;
    font-size: 15px;
    line-height: normal;
    letter-spacing: 0.54px;
    text-transform: uppercase;
}

.timer>span::after {
    position: absolute;
    content: ":";
    top: 13px;
    right: -32px;
    font-family: Evolventa Bold;
    font-size: 33px;
    line-height: normal;
    color: #898989;
}

.timer>span:last-child::after {
    content: none;
}


.banner_timer {
    gap: 24px;
}

.banner_timer>span {
    display: flex;
    position: relative;
    text-align: center;
    width: 48px;
    flex-direction: column;
    gap: 0;
}

.banner_timer>span::after {
    position: absolute;
    content: "|";
    top: 10px;
    right: -15px;
    font-family: Evolventa;
    font-size: 20px;
    line-height: normal;
    color: #D6D6D6;
}

.banner_timer span span:nth-child(1) {
    display: block;
    text-align: center;
    color: #000;
    font-family: Evolventa Bold;
    font-size: 20px;
    line-height: normal;
    padding: 0;
    background: none;
    box-shadow: none;
}

.banner_timer .timer-title {
    color: #898989;
    text-align: center;
    font-family: Evolventa;
    font-size: 12px;
    line-height: normal;
    letter-spacing: 0.36px;
    text-transform: capitalize;
}

.timer_block,
.timer_block_v2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.timer_block_v2 {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.32);
    display: flex;
    padding: 12px 24px;
    align-items: center;
    gap: 28px;
    border: 0.5px solid #fefefe;
}

.timer_what {
    color: #000;
    text-align: center;
    font-family: Evolventa Bold;
    font-size: 14px;
    line-height: normal;
}

@media (max-width: 1430px) {

    .rabit {
        max-width: 575px;
    }

    .timer_title {
        font-size: 32px;
        line-height: 51.424px;
        letter-spacing: -0.32px;
    }

    .timer span span:nth-child(1) {
        font-size: 24px;
        line-height: normal;
    }

    .timer_body {
        padding: 29px 16px;
        gap: 26px;
    }

    .timer>span {
        width: 84px;
    }

    .timer {
        gap: 37px;
    }

    .timer>span::after {
        top: 3px;
        right: -25px;
    }

    .timer_wrapper::before {
        right: -262px;
    }

    .timer_wrapper::after {
        left: -286px;
    }
}

@media (max-width: 1400px) {
    .banner_timer span span:nth-child(1) {
        font-size: 20px;
        line-height: normal;
    }

    .banner_timer.timer {
        gap: 10px;
    }

    .banner_timer.timer>span {
        width: 56px;
    }

    .banner_timer .timer-title {
        font-size: 10px;
        line-height: normal;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 950px) {

    .timer_wrapper {
        position: relative;
        top: 10px !important;
        left: auto;
        transform: none;
        margin: 0 auto;
    }

    .timer_wrapper::before {
        display: none;
    }

    .timer_wrapper::after {
        display: none;
    }
}

@media (max-width: 850px) {

    .timer_block,
    .timer_block_v2 {
        flex-direction: column;
    }

    .timer_what {
        font-size: 12px;
        line-height: normal;
    }

    .banner_timer>span::after {
        top: 6px !important;
        right: -12px !important;
        font-size: 17px !important;
    }
}

@media (max-width: 775px) {

    .timer_body {
        border-top: 2.749px solid #ffffff00;
        border-bottom: 2.749px solid #ffffff00;
        background: linear-gradient(90deg, #ffffff00 0%, #f5f5f5e6 0%, #EAEAEA 50%, #f5f5f5e6 80%, #ffffff00 150%);
    }

    .timer span span:nth-child(1) {
        font-size: 18px;
        line-height: normal;
    }

    .rabit {
        max-width: 590px;
        min-width: 590px;
        transform: translateX(-52%);
    }

    .timer>span {
        width: 60px;
    }

    .timer {
        gap: 34px;
    }

    .timer-title {
        color: var(--Grey-70, #898989);
        text-align: center;
        font-family: Evolventa;
        font-size: 12px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        letter-spacing: 0.36px;
        text-transform: uppercase;
    }

    .timer_title {
        font-size: 32px;
        line-height: 38px;
        letter-spacing: -0.32px;
    }

    .timer_body {
        padding: 29px 16px;
        gap: 19px;
    }

    .timer>span::after {
        top: 6px;
        right: -21px;
        font-size: 27px;
    }
}