/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #1e1e1e;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
}

/* Intro Section */
.intro {
    text-align: center;
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
}

.intro h1 {
    font-size: 2.5em;
    color: #66c27b;
    margin-bottom: 15px;
}

.intro p {
    font-size: 1.2em;
    color: #c9d1d9;
}

/* Event Grid Layout */
.events {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
    padding: 40px;
    max-width: 1100px;
    width: 100%;
}

.event {
    background-color: #161b22;
    border: 2px solid #66c27b;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event h2 {
    font-size: 1.4em;
    color: #66c27b;
    margin-bottom: 10px;
}

.event p {
    font-size: 1em;
    color: #c9d1d9;
    margin-bottom: 15px;
}

.event-button {
    display: inline-block;
    padding: 10px 20px;
    color: #ffffff;
    background-color: #66c27b;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.event-button:hover {
    background-color: #5ba06b;
}

.event:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .events {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .events {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .events {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }
	.event-button{
		font-size: small;
		padding: 13px;
	}

    .intro {
        padding: 20px;
    }

    .intro h1 {
        font-size: 2em;
    }

    .intro p {
        font-size: 1em;
    }

    /* Event Section */
.event {
    padding: 15px;
}

.event h2 {
    font-size: 1.2em;
}

.event p {
    font-size: 0.9em;
}

/* Optional: Add media query for responsive design if needed */
@media (max-width: 768px) {
    .event-button a {
        padding: 10px 18px; /* Slightly smaller padding on smaller screens */
        font-size: 0.9em; /* Adjust font size on smaller screens */
    }
}

}

@media (max-width: 375px) {
    .intro h1 {
        font-size: 1.8em;
    }

    .intro p {
        font-size: 0.9em;
    }
}
