body {
    font-family: 'BlenderPro', sans-serif;
    background-color: #020303;
    overflow: hidden;
}

.video-bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.05;
    filter: grayscale(1);
    pointer-events: none;
    z-index: -1;
}

.main {
    position: relative;
    padding: 24px 16px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header {
    position: absolute;
    left: 50%;
    top: 17px;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
}

.header img {
    width: 92px;
    height: 37px;
}

.timer {
    position: relative;
    max-width: 375px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 10px 13px;
    background-image: url('../img/bg-decor.svg');
    background-size: 100% 100%;
}

.timer__unit {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.timer__value {
    display: inline-block;
    line-height: 107%;
    transition: color 0.25s ease, opacity 0.25s ease, text-shadow 0.25s ease;
    font-size: 44px;
    font-weight: 500;
}

.timer__name {
    display: block;
    font-size: 9px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.timer__unit.active .timer__value {
    color: #00CDAB;
    text-shadow: 0 0 30px rgba(0, 205, 171, 0.25);
}

.timer__unit.inactive .timer__value {
    color: rgba(255, 255, 255, 0.15);
    text-shadow: none;
}

.timer__separator {
    width: 1px;
    height: 58px;
    background-color: rgba(255, 255, 255, 0.15);
}

@media screen and (min-width: 768px) {
    .main {
        padding: 40px 24px;
    }

    .header {
        top: 31px;

        img {
            width: 120px;
            height: 48px;
        }
    }

    .timer {
        max-width: 100%;
        padding: 25px 32px;
        letter-spacing: -2px;
    }

    .timer__value {
        font-size: 108px;
    }

    .timer__name {
        font-size: 18px;
    }

    .timer__separator {
        height: 139px;
    }
}


@media screen and (min-width: 1440px) {
    .main {
        padding: 72px 24px;
    }

    .header {
        top: 57px;

        img {
            width: 200px;
            height: 81px;
        }
    }

    .timer {
        max-width: 1362px;
        padding: 43px 60px;
    }

    .timer__value {
        font-size: 178px;
    }

    .timer__name {
        font-size: 36px;
    }

    .timer__separator {
        height: 270px;
    }
}
