.countdown {
    position: relative; /* Set position to relative to position the overlay */
    background-image: url('../images/backgrounds/Bushcraft01.jpg'); 
    background-size: cover;
    background-position: center;
    text-align: center; 
    padding: 50px;
    color: white; /* Ensure text is visible against the overlay */
}

.countdown::before {
    content: ""; /* Required for pseudo-elements */
    position: absolute; /* Position it absolutely within the countdown section */
    top: 0; /* Align to the top */
    left: 0; /* Align to the left */
    right: 0; /* Align to the right */
    bottom: 0; /* Align to the bottom */
    background-color: rgba(0, 0, 0, 0.632); /* Black with 50% opacity */
    z-index: 1; /* Ensure the overlay is above the background but below the text */
}

.countdown > * {
    position: relative; /* Position child elements above the overlay */
    z-index: 2; /* Ensure text is above the overlay */
}


#timer {
    display: flex; /* Use flexbox for alignment */
    justify-content: center; /* Center items horizontally */
    width: 100%;

}

@media (max-width: 768px) {
    #timer {
        width: 100%;
        margin-bottom: 15px; /* Adjust space for smaller screens if needed */
    }
}

#timer .time {
    width: 90%;
    font-size: 60px;
    font-weight: 500;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    color: #82ae46;
}

@media (max-width: 991.98px) {
    #timer .time {
        font-size: 40px;
    }
}

#timer .time:first-child {
    border-left: transparent;
}

#timer .time span {
    font-size: 12px;
    display: block;
    color: #ffffff;
    text-transform: uppercase;
}

.countdown h3 {
    font-size: 24px; /* Set the font size */
    font-weight: 600; /* Set the font weight */
    color: #fff30a; /* Set the text color */
    margin: 20px 0; /* Add margin above and below the heading */
    text-transform: uppercase; /* Transform text to uppercase */
    text-align: center; /* Center the text */
}

@media (max-width: 768px) {
    .countdown h3 {
        font-size: 20px; /* Adjust font size for smaller screens */
        margin: 15px 0; /* Adjust margin for smaller screens */
    }
}

.event-starts {
    font-size: 36px !important; 
    font-weight: 700 !important; 
    color: #FFA500 !important; 
    margin: 20px 0 !important; 
    text-align: center !important; 
    text-transform: uppercase !important; 
}

@media (max-width: 768px) {
    .event-starts {
        font-size: 28px; /* Adjust font size for smaller screens */
        margin: 15px 0; /* Adjust margin for smaller screens */
    }
}

.title-heading {
    font-size: 36px; /* Set a large font size */
    font-weight: 700; /* Set the font weight to bold */
    color: #FF0000 !important; /* Set the text color to red */
    margin: 20px 0; /* Add margin above and below the heading */
    text-align: center; /* Center the text */
}

@media (max-width: 768px) {
    .title-heading {
        font-size: 36px; /* Adjust font size for smaller screens */
        margin: 15px 0; /* Adjust margin for smaller screens */
    }
}