nav a {
  color: #000;
}

header::after {
  background-color: #000;
}

.language-dropdown {
      color: #000 !important;
}

.hero {
  position: relative;
  width: 100%;
  overflow: visible;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 100vw;
  padding: 5vh 3vw 0vw;
  text-align: left;
}

@media (max-width: 767px) {
  .hero-content {
    max-width: 100vw;
    padding: 1vh 3vw 3vw;
  }
}

.hero h1 {
  font-size: 6em;
  margin-bottom: 10px;
  margin-top: 5px;
  font-family: 'Barrio', Arial, sans-serif;
  text-align: left;
}

@media (max-width: 767px) {
  .hero h1 {
    font-size: 3em;
  }
}

.hero h2 {
  font-size: 2em;
  margin-bottom: 20px;
  font-family: 'Barriecito', Arial, sans-serif;
  text-align: left;
}

@media (max-width: 767px) {
  .hero h2 {
    font-size: 1.5em;
  }
}

.hero h2 span {
  position: relative;
}

.hero h2 span::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #cb764e;
}

.hero p {
  font-size: 1.5em;
  font-family: "Roboto Condensed", sans-serif;
  margin-top: 0;
  text-align: left;
  margin-bottom: 0px;
}

@media (max-width: 767px) {
  .hero p {
    font-size: 1em;
  }
}

.hero-content h1,
.hero-content h2,
.hero-content p {
  color: #000;
}

.calendar {
  width: 90%;
  margin: 5px auto;
  padding-bottom: 50px;
  font-family: "Roboto Condensed", sans-serif;
}

.header {
  display: flex;
  justify-content: space-between;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-family: "Roboto Condensed", sans-serif;
  margin-bottom: 10px;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-gap: 0px;
  border: 0.5px solid #ccc;
  font-family: "Roboto Condensed", sans-serif;
}

.day {
  font-family: "Roboto Condensed", sans-serif;
  border: 0.5px solid #ccc;
  flex-direction: column;
  align-items: center; 
  justify-content: flex-start;
  padding: 5px;
  max-width: 15vw;
  min-height: 9vh;
  font-size: 0.9em;
  position: relative;
}

.day-header {
  min-width: 24px;
  font-size: 1em;
  margin-right: 6px;
}

.day-number {
  font-weight: bold;
  font-size: 1em;
  font-family: "Roboto Condensed", sans-serif;
  margin-bottom: 1px;
}

.day.event {
  background-color: #ebebeb;
  font-family: "Roboto Condensed", sans-serif;
  position: relative;
  cursor: pointer; 
}

.day.event .event-text {
  position: absolute;
  top: 8px;         
  left: 8px;         
  background-color: #4CAF50;
  color: white;
  border-radius: 50%;
  font-size: 14px;    
  width: 28px;   
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;   
  box-shadow: 0 0 4px rgba(0,0,0,0.2); 
}

.last-month,
.future-month {
    background-color: #f9f9f9;
}

.last-month .day-number,
.future-month .day-number {
    color: rgba(0, 0, 0, 0.368);
    font-weight: 300;
    font-style: italic;
}

.calendar-description-container {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 10px;
}

.submit-event-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-family: 'Roboto Condensed', sans-serif;
    transition: background-color 0.3s ease;
}

.submit-event-button:hover {
    background-color: #45a049;
    text-decoration: none;
}

.event-list {
  list-style: disc;
  padding-left: 5px;
  margin: 0;
  width: 100%;
  text-align: left;
  overflow: hidden;
}

.event-list li {
  max-width: 95%; 
  white-space: nowrap;
  display: list-item; 
  list-style-position: inside;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1em;
}

@media (max-width: 767px) {
  .event-list li {
    list-style: none;   
    list-style-position: outside; 
    white-space: normal;  
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; 
    line-clamp: 2; 
    margin-bottom: 0.4rem;
  }
}

.day.today {
  background-color: #4CAF50;
  color: white;
}

.header .prev-month, 
.header .next-month {
    border: 1px solid #e0e0e0; /* Light grey border */
    background-color: #f9f9f9; /* Very light grey fill */
    border-radius: 8px; /* Rounded corners */
    padding: 5px 10px; /* Some padding to make it look like a button */
    cursor: pointer;
    user-select: none; /* Prevent text selection */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

.header .prev-month:hover, 
.header .next-month:hover {
    background-color: #f0f0f0; /* Slightly darker on hover */
}

.event-circle {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background-color: #4CAF50;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Dim background */
}

.modal-title {
  text-align: center;
  font-family: 'Barrio', Arial, sans-serif;
  font-size: 1.5em;
  margin-bottom: 1em;
  letter-spacing: 1px;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #ccc;
}

.modal-content {
  background-color: #e9eef6;
  font-family: "Roboto Condensed", sans-serif;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 600px;
  max-height: 70vh;
  overflow-y: auto; /* Scrollable */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover {
  color: #000;
}

.modal-events-list {
  margin-top: 15px;
}

.modal-events-list .event-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px; 
  margin-top: 10px;
  padding: 10px 0; 
}

.modal-events-list .event-item:last-child {
  border-bottom: none;
    padding-bottom: 0;
}