.timer_wrapper {
    width: 533px;
    height: 408px;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translate(-50%, 0);
    background: linear-gradient(0deg, #FFF 0%, #FFF 100%), linear-gradient(180deg, #E0E0E0 0%, #e0e0e0d9 100%);
    filter: drop-shadow(0 2px 6px #00000026) drop-shadow(0 1px 2px #0000004d);
    clip-path: polygon(13% 0%, 87% 0%, 103% 20%, 104% 78%, 87% 100%, 13% 100%, 0% 84%, 0% 16%);
    z-index: 10;
}

body.dark .timer_wrapper {
    background: url(../assets/paper_black.jpg) center / cover no-repeat;
}

.timer_body {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 47px 39px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer_body::after {
    content: '';
    position: absolute;
    background: url(../assets/timer.svg) center / contain no-repeat;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.timer_union {
    background: url(../assets/timer_union.svg) center / contain no-repeat;
    width: 40px;
    height: 27px;
}

body.dark .timer_body::after,
body.dark .timer_union {
    filter: brightness(0) saturate(100%) invert(67%) sepia(3%) saturate(6906%) hue-rotate(8deg) brightness(85%) contrast(90%);
}

.timer_title {
    font-family: Colus;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: -0.32px;
    text-align: center;
    padding: 35px 0 30px;
}

.timer_title span {
    color: #AA0909;
}

body.dark .timer_title span {
    color: #BD9C49;
    background: linear-gradient(180deg, #FFE5A3 0%, #CBA74C 63.5%, #EECE7F 79%, #8C7845 98.5%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: none;
}

.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: 34px;
}

.timer>span {
    display: flex;
    position: relative;
    text-align: center;
    width: 84px;
    flex-direction: column;
    gap: 8px;
}

.timer span span:nth-child(1) {
    display: block;
    text-align: center;
    font-family: Evolventa Bold;
    color: #000;
    font-size: 36px;
    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;
}

body.dark .timer span span:nth-child(1) {
    background: #191919;
    box-shadow: -2px -2px 4px 0px rgba(255, 255, 255, 0.25) inset, 2px 2px 4px 0px rgba(0, 0, 0, 0.25) inset;
    color: #E7E7E7;
}

.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: 9px;
    right: -23px;
    font-family: Evolventa Bold;
    font-size: 33px;
    line-height: normal;
    color: #898989;
}

.timer>span:last-child::after {
    content: none;
}


@media (max-width: 950px) {

    .timer_wrapper {
        position: relative;
        top: 10px !important;
        left: auto;
        transform: none;
        margin: 0 auto;
    }
}

@media (max-width: 565px) {

    .timer_wrapper {
        width: 100%;
        height: 408px;
        top: 10px !important;
        background: none;
        filter: none;
        clip-path: none;
    }

    .timer_body::after {
        display: none;
    }

    .timer_body {
        padding: 47px 16px;
    }
}

@media (max-width: 490px) {
    .timer {
        gap: 16px;
    }

    .timer span span:nth-child(1) {
        font-size: 32px;
        padding: 8px;
        line-height: 52px;
    }

    .timer>span {
        width: 73px;
    }

    .timer>span::after {
        right: -13px;
    }
}