.countdown-container {
    padding-inline: 20px;
    position: relative;
    z-index: 1;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-inline: auto;
    max-width: 600px;
    max-height: 165px;
    border-radius: 24px;
    border: 1px solid #866EE9;
    background-image: linear-gradient(151deg, rgba(217, 217, 217, 0.40) 2.5%, rgba(255, 255, 255, 0.10) 48.48%);
    padding: 12px;
}

#countdownTimer {
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    place-items: center;
}

.time {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -2.16px;
    background: white;
    text-align: center;
    border-radius: 20px;
    background: var(--Foundation-Gray-gray-300, #E6E6E6);

    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
    padding: 8px;
    max-width: 110px;
    max-height: 116px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.unit {
    font-size: 16px;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: -0.36px;
}

.time-color {
    background: var(--Gradient-Purple-Blue-Gradient-Horizontal, linear-gradient(90deg, #866EE9 0%, #49AED4 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media screen and (min-width: 400px) {
    .time {
        font-size: 52px;
    }
}

@media screen and (min-width: 900px) {
    .countdown-timer {
        margin-top: -80px;
        padding: 24px 80px;
        max-width: 736px;
    }

    .time {
        font-size: 72px;
    }

    .unit {
        font-size: 18px;
    }
}
