.e2-background-timer {
    position: relative;
    isolation: isolate;
    display: grid;
    box-sizing: border-box;
    width: 100vw;
    max-width: none;
    min-height: 100svh;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    background: #111;
}

.e2-background-timer__layer,
.e2-background-timer__shade {
    position: absolute;
    inset: 0;
}

.e2-background-timer__layer {
    z-index: -3;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 1.4s ease, transform 5s ease;
}

.e2-background-timer__layer--active {
    opacity: 1;
    transform: scale(1);
}

.e2-background-timer__shade {
    z-index: -2;
    background-color: #000;
    opacity: .25;
    transition: background-color 1.2s ease, opacity 1.2s ease;
    pointer-events: none;
}

.e2-background-timer__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto;
    max-width: none;
    height: auto;
    margin: 0;
    padding: clamp(28px, 6vw, 90px);
    text-align: center;
}

.e2-background-timer__motto {
    box-sizing: border-box;
    width: min(1050px, 100%);
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-size: clamp(2.15rem, 5.8vw, var(--e2-font-size, 92px));
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.035em;
    text-wrap: balance;
    overflow-wrap: anywhere;
    text-shadow: 0 3px 24px rgba(0, 0, 0, .42);
    opacity: 1;
    transform: translateY(0);
    transition: opacity .42s ease, transform .42s ease;
}

.e2-background-timer__motto--out {
    opacity: 0;
    transform: translateY(12px);
}

@media (max-width: 767px) {
    .e2-background-timer__content {
        padding: 26px 22px;
    }

    .e2-background-timer__motto {
        font-size: clamp(2rem, 10vw, var(--e2-font-size, 92px));
        line-height: 1.08;
    }
}

@media (prefers-reduced-motion: reduce) {
    .e2-background-timer__layer,
    .e2-background-timer__motto {
        transition-duration: .01ms;
    }
}
