/* INFO */
.calendar_info_content {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.calendar_info_content h1 {
  color: var(--color-mainGreen);
  font-size: 50px;
}
.calendar_info_content p {
  padding-left: 10px;
  padding-right: 10px;
}

.calendar_info_content strong {
  padding-left: 10px;
  padding-right: 10px;
  color: var(--color-mainGreen);
}

@media only screen and (max-width: 768px) {
  .calendar_info_content h1 {
    font-size: 40px;
  }
}
/* END INFO */

/* CALENDARI */
.calendar-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  /* min-height: 100vh; */
}

.calendar {
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  overflow: hidden;
  width: 600px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-mainGreen);
  color: #fff;
  padding: 10px;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid #ddd;
}

.day {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.day:last-child {
  border-right: none;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid #ddd;
}

.day {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box; /* Añadido para que el borde no afecte el tamaño total */
  flex-shrink: 0; /* Añadido para prevenir que las celdas se encogen */
}

.event-day {
  background-color: var(--color-mainGreen);
  cursor: pointer;
  color: white;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.modal {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 95%;
  overflow: auto;
}

.close-modal {
  float: right;
  font-size: 24px;
}

.modal img {
  max-width: 600px;
  /* max-width: 100%; */
  height: auto;
  margin-top: 10px;
}

.modal h2 {
  color: var(--color-mainGreen);
}

.modal_image_container {
  display: flex;
}

.arrowButton {
  margin-top: 10px;
  width: fit-content;
  height: 600px;
  background-color: var(--color-mainGreen);
  user-select: none;
}
.arrowButton:first-child {
  padding-left: 3px;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}
.arrowButton:last-child {
  padding-right: 3px;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}
.arrowIcon {
  width: 20px;
  height: 20px;
  position: relative;
  top: 50%;
  background-color: blac;
}

@media only screen and (max-width: 768px) {
  .calendar-section {
    padding-left: 10px;
    padding-right: 10px;
  }
  .modal {
    padding: 10px;
  }
  .modal img {
    max-width: 300px;
  }
  .arrowButton {
    height: 300px;
  }
}
/* END CALENDARI */

/* CONTACT US */
.contactUs {
  display: flex;
  justify-content: center;
}
.contactUs_content {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--color-mainGreen);
  /* color: var(--color-white); */
  /* background-color: var(--color-mainGreen); */
  padding: 25px;
  border-radius: 25px;
}

.contactUs_content span {
  display: flex;
}

.contactUs_content a img {
  margin-left: 15px;
  width: 35px;
  height: 35px;
  filter: invert(56%) sepia(21%) saturate(1224%) hue-rotate(93deg)
    brightness(92%) contrast(87%);
  animation: jump-shaking 1.5s infinite;
}

.greenText {
  font-family: "Rancho", cursive;
  color: var(--color-mainGreen);
}
.greenTextBigger {
  font-family: "Rancho", cursive;
  color: var(--color-mainGreen);
  font-size: 20px;
}

@keyframes jump-shaking {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateY(-9px);
  }
  35% {
    transform: translateY(-9px) rotate(17deg);
  }
  55% {
    transform: translateY(-9px) rotate(-17deg);
  }
  65% {
    transform: translateY(-9px) rotate(17deg);
  }
  75% {
    transform: translateY(-9px) rotate(-17deg);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
