/* Upcoming Events Page Styling */
.events-container {
    padding: 50px 20px;
    max-width: 900px;
    margin: 50px auto;
    text-align: center;
}

/* Calendar Styling */
.calendar-container {
    background-color: #3a3a3a;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
    color: white;
}

.calendar {
  margin: 0 auto;
}

.calendar-header h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.calendar th, .calendar td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    color: white;
}

.event-date {
    background-color: #ff9800;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    transition: transform 0.2s;
}

.event-date a {
    color: white;
    text-decoration: none;
}

.event-date:hover {
    transform: scale(1.1);
    background-color: #f57c00;
}

/* Navigation Controls */
.calendar-controls {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.calendar-button {
    background-color: #074f57;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.calendar-button:hover {
    background-color: #ff9800;
}

/* Event List Styling */
.events-list {
    background-color: #3a3a3a;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 30px;
    margin: 40px auto 60px; /* Added margin at the bottom for spacing from the footer */
    max-width: 800px; /* Restrict the chalkboard width */
    text-align: left; /* Align content to the left */
}

.events-list h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.events-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.event-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    margin-right: 15px;
    object-fit: cover;
}

.event-info {
    color: white;
    font-size: 1.2rem;
}

.event-info a {
    color: #ff9800;
    text-decoration: none;
}

.event-info a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
  .calendar-container {
    padding: 10px;
    max-width: 95%;
    font-size: 0.9rem;
  }

  .event-list h2 {
    font-size: clamp(1.2rem, 4vw, 2rem)
  }

  .event-info a,
  .event-info strong {
    font-size: clamp(.8rem, 3vw, 1rem);
  }
