/* Reset some default styling */


/* Events section */
.events {
    padding: 40px 20px;
    text-align: center;
}

.events h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

/* Card styling */
.event-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 20px;
    transition: transform 0.3s ease;
    max-width: 800px; /* Add max-width for large screens */
    margin-left: auto; /* Center card */
    margin-right: auto; /* Center card */
	color: #000000;
}

.event-card:hover {
    transform: scale(1.05);
}

.event-card img {
    width: 100%;
    height: auto;
}

.event-details {
    padding: 20px;
}

.event-details h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.event-details p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.event-details .social-link {
    text-decoration: none;
    color: #007bff;
    font-size: 1rem;
    margin-right: 20px;
}

.event-details .social-link:hover {
    text-decoration: underline;
}

.add-to-calendar {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-calendar:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Adjusting the layout for smaller screens */
    .events {
        padding: 30px 15px;
    }

    .event-card {
        margin: 20px;
    }

    .event-details h3 {
        font-size: 1.6rem;
    }

    .event-details p {
        font-size: 0.9rem;
    }

    .event-details .social-link {
        font-size: 0.9rem;
    }

    .event-details .add-to-calendar {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* Stack the cards in a single column on very small screens */
    .events {
        padding: 20px 10px;
    }

    .event-card {
        margin: 15px;
    }

    .event-details h3 {
        font-size: 1.4rem;
    }

    .event-details p {
        font-size: 0.85rem;
    }

    .event-details .social-link {
        font-size: 0.85rem;
    }

    .event-details .add-to-calendar {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}
