body {
  font-family: "Open Sans", sans-serif;
  text-align: center;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

.calendar-container {
  width: 100%;
  max-width: 1100px;
  margin: 10px 10px 10px 15%;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  text-align: center;
}

.header {
  font-size: 32px;
  font-weight: bold;
  font-family: "Verdana", Geneva, Tahoma, sans-serif;
  color: #0a3767;
  text-transform: uppercase;
  display: flex;
  justify-content: flex-start;
  margin-top: 0%;
  margin-left: 10%;
}

/* Filter Section */
.filter-section {
  display: flex;
  justify-content: flex-end; /* Moves content to the right */
  align-items: center; /* Aligns items vertically */
  text-align: right;
  margin-bottom: 20px;
  font-family: "Roboto", sans-serif;
  color: #0a3767e6;
  margin: 5%;
}

.calendar-filter {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #333;
  cursor: pointer;
  background-color: #ffffff;
  color: #333;
  transition: 0.3s;
}

.calendar-filter:hover {
  border-color: #007bff;
}

.filter-section button {
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 5px;
  border: none;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  margin-left: 10px;
}

.filter-container button:hover {
  background-color: #0056b3;
}

/* Ensure the layout remains intact */
.calendar-section {
  display: flex;
  align-items: flex-start; /* Keeps elements aligned to the top */
  justify-content: space-between;
  gap: 40px;
  padding: 20px;
  flex-wrap: nowrap; /* Prevents wrapping */
  width: 100%;
  max-width: 1100px;
  margin-bottom: 20%;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  text-align: center;
  transition: height 0.3s ease-in-out;
}

/* Calendar Image Styling */
.calendar-img {
  margin-top: 5%;
  width: auto;
  max-width: 500px;
  height: auto;
  border: 3px solid #333;
  border-radius: 8px;
}

/* Event Details Section */
.event-details {
  margin: 0% 0 10% 10%;
  font-size: 20px;
  text-align: left;
  width: 45%; /* Fixed width */
  height: auto; /* Allow height to expand dynamically */
  color: #333;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 8px;
}

/* Event Title */
.event-details h2 {
  color: #0a3767;
  font-size: 24px;
  margin-bottom: 10px;
}

/* Event Description */
.event-details p {
  font-size: 16px;
  font-weight: bold;
  color: black;
  display: inline-block;
  text-align: justify; /* Ensures text is evenly spaced */
  margin: 10px 0; /* Provides spacing between paragraphs */
  line-height: 1.6; /* Improves readability */
}

/* Buttons */
.buttons {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding: 5px;
}

button {
  padding: 12px 24px;
  font-size: 18px;
  margin: 0 10px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
  transition: background 0.3s;
}

button:hover {
  background-color: #0056b3;
}

.prev-btn {
  background-color: #28a745;
}

.prev-btn:hover {
  background-color: #1e7e34;
}
