#calendarGrid {
  display: flex;
  justify-content: center;
}
#calendarGrid .calendarGrid-intro p {
  color: #93BF21;
  margin-bottom: 0;
}
#calendarGrid .calendarGrid-intro h2 {
  margin-bottom: 1rem;
}
#calendarGrid .calendarGrid {
  width: 96vw;
}
#calendarGrid .calendarGrid .calendar-grid-item {
  flex-shrink: 0;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 600px;
  color: white;
  overflow: hidden;
  border-radius: 1.5rem;
  display: flex;
  justify-content: end;
  padding: 2rem;
  visibility: hidden;
}
@media screen and (max-width: 768px) {
  #calendarGrid .calendarGrid .calendar-grid-item {
    height: 400px;
  }
}
#calendarGrid .calendarGrid .calendar-grid-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.57);
  z-index: 0;
}
#calendarGrid .calendarGrid .calendar-grid-item .calendar-grid-title {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  max-width: calc(100% - 4rem);
  z-index: 1;
  transition: transform 0.3s ease, bottom 0.3s ease; /* Add top to the transition */
}
#calendarGrid .calendarGrid .calendar-grid-item .calendar-grid-title h3 {
  font-size: calc(1.375rem + 1.5vw);
}
@media (min-width: 1200px) {
  #calendarGrid .calendarGrid .calendar-grid-item .calendar-grid-title h3 {
    font-size: 2.5rem;
  }
}
#calendarGrid .calendarGrid .calendar-grid-item .calendar-grid-date {
  position: absolute;
  z-index: 1;
  background: #E0F5FF;
  padding: 0.5rem 1rem;
  color: #0C3642;
  display: inline-block;
  border-radius: 0.5rem;
  top: 2rem;
  left: 2rem;
}
#calendarGrid .calendarGrid .calendar-grid-item .calendar-grid-desc {
  position: absolute;
  bottom: -100%; /* Initially positioned below */
  left: 2rem;
  right: 2rem;
  color: white;
  opacity: 0;
  transition: bottom 0.3s ease, opacity 0.3s ease;
}
#calendarGrid .calendarGrid .calendar-grid-item .calendar-grid-desc i {
  font-size: 2rem;
  margin-top: 3rem;
  transform: rotate(-45deg);
}
@media screen and (min-width: 992px) {
  #calendarGrid .calendarGrid .calendar-grid-item:hover .calendar-grid-desc {
    bottom: 2rem;
    opacity: 1;
  }
  #calendarGrid .calendarGrid .calendar-grid-item:hover .calendar-grid-title {
    bottom: 13rem;
  }
}
#calendarGrid .calendarGrid-togglebutton {
  padding: 0.5rem 2rem;
  background-color: #dfdfdf;
  border-radius: 2rem;
  color: #0C3642;
  border: none;
  font-family: "Lexend Deca", sans-serif;
  transition: all 0.2s ease;
}
#calendarGrid .calendarGrid-togglebutton.inactive {
  background-color: #F1F4F3;
  color: #AEBDBF;
}
#calendarGrid .calendarGrid-togglebutton.inactive:hover {
  background-color: #dfdfdf;
  color: #0C3642;
  transform: scale(1.03);
}
#calendarGrid .calendarGridContainer {
  width: 60%;
}
@media screen and (max-width: 1600px) {
  #calendarGrid .calendarGridContainer {
    width: 90%;
  }
}
@media screen and (max-width: 992px) {
  #calendarGrid .calendarGridContainer {
    width: 100%;
  }
}
#calendarGrid .calendar {
  display: none;
  justify-content: center;
}
#calendarGrid .calendar #home-calendar {
  height: 600px;
}
@media screen and (max-width: 1400px) {
  #calendarGrid .calendar #home-calendar {
    height: 655px;
  }
}
@media screen and (max-width: 1342px) {
  #calendarGrid .calendar #home-calendar {
    height: 685px;
  }
}
@media screen and (max-width: 767px) {
  #calendarGrid .calendar #home-calendar {
    height: 600px;
  }
}
#calendarGrid .calendar #home-calendar a {
  color: #0C3642;
  text-decoration: none;
}
#calendarGrid .calendar.visible {
  visibility: visible; /* Makes it visible */
  height: 100%; /* Allow enough space for the calendar content */
  opacity: 1; /* Makes it fully visible */
}

.calendar-grid-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.57);
  z-index: 0;
}

.morebtn {
  margin-right: 8vw;
}

.pagination {
  display: flex;
  justify-content: flex-end;
}
.pagination .page-numbers:not(.next):not(.prev) {
  display: none;
}
.pagination .page-numbers {
  text-decoration: none;
}
.pagination .next, .pagination .prev {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e7e7e7;
  border-radius: 50%;
  border: none;
  transition: 0.2s ease;
}
.pagination .next i, .pagination .prev i, .pagination .next a, .pagination .prev a {
  color: #0C3642;
  font-size: 1.3rem;
  text-decoration: none;
}
.pagination .next:hover, .pagination .prev:hover {
  background-color: #0C3642;
}
.pagination .next:hover i, .pagination .prev:hover i {
  color: white;
}
.pagination .prev {
  margin-right: 0.5rem;
}

.homeCalendar__calendar-items h3 {
  margin-bottom: 1rem;
}
.homeCalendar__calendar-items .homeCalendar__calendar-item {
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  position: relative;
  background: #FFF2D5;
}
.homeCalendar__calendar-items .homeCalendar__calendar-item:nth-child(2) {
  background: #E0F5FF;
}
.homeCalendar__calendar-items .homeCalendar__calendar-item:nth-child(3) {
  background: #FFF2D5;
}
.homeCalendar__calendar-items .homeCalendar__calendar-item:nth-child(4) {
  background: #F3FFD5;
}
.homeCalendar__calendar-items .homeCalendar__calendar-item:last-child {
  margin-bottom: 0;
  background: #FFF2D5;
}
.homeCalendar__calendar-items .homeCalendar__calendar-item .homeCalendar__calendar-item-date {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.8rem;
  color: #888888;
}
.homeCalendar__calendar-items .homeCalendar__calendar-item .homeCalendar__calendar-item-content {
  margin-top: 2.5rem;
  justify-content: space-between;
}
.homeCalendar__calendar-items .homeCalendar__calendar-item .homeCalendar__calendar-item-content h5 {
  margin: 0;
}
.homeCalendar__calendar-items .homeCalendar__calendar-item .homeCalendar__calendar-item-content a {
  color: #0C3642;
  text-decoration: none;
  display: inline-flex;
}
.homeCalendar__calendar-items .homeCalendar__calendar-item .homeCalendar__calendar-item-content a:hover i {
  transform: translateX(0.5rem);
}
.homeCalendar__calendar-items .homeCalendar__calendar-item .homeCalendar__calendar-item-content a i {
  transition: transform 0.2s ease;
  align-content: center;
}
@media (max-width: 768px) {
  .homeCalendar__calendar-items .homeCalendar__calendar-item .homeCalendar__calendar-item-content {
    flex-direction: column;
    gap: 1rem;
  }
}

/*# sourceMappingURL=style.css.map */
