
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.calendar-header h2 {
  margin: 0;
  font-size: 28px;
}

.calendar-header button {
  font-size: 20px;
  padding: 5px 10px;
  border: none;
  background: #ff16aa;
  border-radius: 10px;
  cursor: pointer;
  color: white;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.day-name, .day {
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-size: 16px;
}

.day-name {
  font-weight: bold;
  background-color: #e6e6e6;
}

.day {
  background-color: rgba(34, 239, 212, 0.59);
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 5px;
  cursor: pointer;
}

.day strong {
  font-size: 18px;
}

.event-text {
  font-size: 12px;
  margin-top: 4px;
  color: #000;
  text-align: center;
  max-width: 90%;
  word-wrap: break-word;
}

#event-list {
  margin-top: 20px;
  padding-left: 20px;
}

#event-list li {
  margin-bottom: 5px;
}

body.dark .calendar-header button {
  background-color: #444;
  color: white;
}

body.dark .calendar-header button:hover {
  background-color: #666;
}

body.dark .day-name {
  background-color: #333;
  color: #ddd;
}

body.dark .day {
  background-color: #2e2e2e43;
  color: #eee;
}

body.dark .day strong {
  color: #fff;
}

body.dark .event-text {
  color: #ccc;
}
.calendar-header button {
  font-family: 'Fredoka One', sans-serif;
  font-size: 18px;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background-color: #4ecbff;
  color: black;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.calendar-header button:hover {
  background-color: #2cb7e6;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
