.countdown-wrapper {
    justify-content: center;
    background-image: url('/static/images/background/background1.jpg');
    padding: 20vh 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#section-countdown {
    margin: 10vh auto;
}

.countdown-invite-box {
    width: min(100vw, 740px);
    background-color: white;
    margin: 0 20px;
    color:  #4f4f4f;
    justify-content: center;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.countdown-main-text {
    font-family: Parisienne;
    margin: max(min(2vh, 2vw), 10px);
    font-size: max(15px, 4vw, 5vh);
}

.countdown-invite {
    font-family: Luthier Reg;
    margin: max(min(2.5vh, 2.5vw), 12px);
    font-size: max(15px, 1.5vw);
    text-align: justify;
    line-height: 1.5;
}

.countdown-wrapper-inner {
    display: flex;
    justify-content: center;
    padding: 5vh max(min(2vh, 2vw), 10px);
}

.countdown-box {
    width: min(17vw, 150px);
    height: min(17vw, 150px);
    background-color: white;
    margin: 0 1.5vw;
    font-family: Cinzel Decorative;
    color: #4f4f4f;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.countdown-number {
    font-size: max(15px, 4vw);
    display: flex;
    justify-content: center;
}

.countdown-text {
    font-size: max(10px, 1vw);
    display: flex;
    justify-content: center;
}

@media (max-width: 800px) {    
    .countdown-invite-box {
        width: 90%;
        background-color: white;
        margin: 0 min(10px, 5vw);
        color:  #4f4f4f;
        justify-content: center;
        margin: auto;
        display: flex;
        flex-direction: column;
    }
    .countdown-box {
        width: 20vw;
        height: 20vw;
        background-color: white;
        margin: 0 2vw;
        font-family: Cinzel Decorative;
        color: #4f4f4f;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}