.countdown-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the content */
    width: 100%;
    background-color: #5b7b2c;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 15px; /* Adds spacing between title and countdown */
}

.countdown-title {
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-transform: none;
    color: #fff;
    white-space: nowrap;
}

#countdown-timer {
    display: flex;
    justify-content: center;
    gap: 10px; /* Adds consistent spacing */
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    align-items: center;
    background: #fff;
    color: #5b7b2c;
    padding: 6px 12px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    min-width: auto;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .countdown-container {
        flex-direction: column;
        text-align: center;
        max-width: 100%;
    }

    .countdown-title {
        text-align: center;
    }

    #countdown-timer {
        justify-content: center;
    }
}