/* General Styles */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
}

.main-image img {
    width: 100%;
    height: auto;
}

h1 {
    font-family: sans-serif;
    font-size: 28px;
    padding-left: 40px;
}

hr{
    border-width: 2px;
    color: black;
    padding-left: 40px;
}

/* Countdown Section */
.countdown-section {
    text-align: center;
    margin: 40px 0;
    background-color: #223965;
    padding: 40px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.countdown-item {
    background-color: #0E2248;
    color: white;
    padding: 20px;
    border-radius: 10px;
    width: 100px;
}

.countdown-item span {
    font-size: 36px;
    font-weight: bold;
}

.countdown-item p {
    margin: 5px 0 0;
    font-size: 14px;
}

/* Upcoming Events Section */
.upcoming-events {
    display: flex; 
    flex-wrap: wrap;
    margin: auto;
    padding: 5px;
    align-items: center;
    justify-content: center;
}

.event-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    border-radius: 8px;
    width: 100%;
    margin-left: 35px;
    margin-right: 35px;
}

.event-date p {
    font-size: 18px;
    font-weight: bold;
}

.event-date{
    width: 20%;
}
.event-details {
    width: 40%;
}
.event-time{
    width: 20%;
    text-align: right;
}
.event-details h3 {
    margin: 5px;
    font-size: 20px;
}


@media (max-width: 768px) {
    .event-item {
        flex-direction: column; 
        margin-left: 3px;
        margin-right: 3px;
        align-items: center;
        
    }
    
    .container {
        flex-direction: column;
    }
    
    h1 {
        font-size: 20px; /* Adjust the font size as needed */
        text-align: center;
        padding: 0;
    }
    
    h3 {
        font-size: 18px; /* Adjust the font size as needed */
        text-align: center;
        padding: 0;
    }
    p {
        font-family: sans-serif;
        font-size: 14px;
    }
    
    .event-date{
        width: 100%;
        text-align: left;
    }
    
    .event-details {
        width: 100%;
        text-align: left;
    }
    
    .event-time{
        width: 100%;
        text-align: right;
    }
    
    .event-details h3 {
    margin: 5px;
    font-size: 20px;
     text-align: left;
}
 .countdown-item {
        padding: 12px;
    }

    .countdown-item span {
        font-size: 20px;
    }

    .countdown-item p {
        font-size: 12px;
    }

}