.countdown-container {
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'SourceSans';
}

.countdown-digits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 0%;
    gap: 6%;
}

@media (min-width: 768px) { /* Adjust the screen width as needed */
    .countdown-digits {
        gap: 2%; /* Gap for desktop */
    }
}
.countdown-section {
    text-align: center;
    flex: 1;
    min-width: 50px;
}

.countdown-description {
    font-weight: 700;
    font-size: 15px;
    line-height: 19px;
    padding-bottom: 20px;
}

.countdown-label {
    margin-top: 5px;
    font-size: 12px;
    color: #000;
    font-weight: normal;
}

.countdown-link a {
    /*display: inline-block;*/
    /*font-size: 1rem;*/
    text-decoration: underline;
    font-size: 14px;
}

.countdown-link a:hover {
    text-decoration: none;
}
/*******************/

.flip-box {
    display: flex; /* Ensure digits are side by side */
    justify-content: center; /* Center digits within the section */
    gap: 5px; /* Add space between tens and ones digits */
}

.flip {
    position: relative;
    width: 40px; /* Fixed width for each digit */
    height: 60px; /* Fixed height for each digit */
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    background:  #fee000;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    line-height: 60px; /* Center text vertically */
}
/*******************/


.flip::before,
.flip::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 50%;
    background:  #fee000;
    z-index: 2;
    border-radius: 5px;
}

.flip::before {
    top: 0;
    transform-origin: center bottom;
    background: #e5c100;
    transform: rotateX(90deg);
}

.flip::after {
    bottom: 0;
    transform-origin: center top;
    background:  #fee000;
    transform: rotateX(-90deg);
}

.flip.animate {
    animation: flip 0.2s linear forwards;
}

@keyframes flip {
    0% {
        transform: rotateX(0deg);
    }
    50% {
        transform: rotateX(70deg);
    }
    100% {
        transform: rotateX(0deg);
    }
}
