/* Container for the event cards */
.event-containers {
    display: flex;
    flex-wrap: wrap; /* Allow the cards to wrap to the next line if necessary */
    gap: 10px; /* Space between the cards */
    justify-content: space-between; /* Distribute cards with space between them */
}

/* Individual event card */
.event-cards {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 48%; /* Make each card take 48% of the container width to fit two cards in a row */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
}

.event-cards:hover {
    transform: translateY(-5px); /* Slight lift effect on hover */
}

/* Event card image */
.event-cards img {
    width: 100%; /* Make image fill the entire width of the card */
    height: 400px; /* Set a fixed height for the image to make it larger */
    object-fit: cover; /* Ensure the image covers the entire width and height without distortion */
}

/* Event card info */
.event-infos {
    padding: 15px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the content horizontally */
    text-align: center; /* Center the text inside */
}

.event-infos h3 h2 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.event-infos p {
    font-size: 1.4rem;
    color: #555;
    margin: 5px 0;
}

.event-infos .event-date,
.event-infos .event-location {
    font-weight: bold;
    color: #333;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .event-cards {
        width: 100%; /* On smaller screens, each card takes full width */
    }
}




#activities {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.activity-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.activity-card {
    display: block;
    width: 300px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: scale(1.05);
}

.activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.activity-info {
    padding: 15px;
}

.activity-info h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.activity-info p {
    margin: 5px 0;
}
