@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Zen+Kaku+Gothic+Antique:wght@400;500;700;900&display=swap");

@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot?fsx2ee");
  src: url("../fonts/icomoon.eot?fsx2ee#iefix") format("embedded-opentype"), url("../fonts/icomoon.ttf?fsx2ee") format("truetype"), url("../fonts/icomoon.woff?fsx2ee") format("woff"), url("../fonts/icomoon.svg?fsx2ee#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "avenir-next";
  src: url("../fonts/avenir-next-ultra-light.ttf") format("truetype");
}

.calendar-main-wrap {
  position: relative;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  color: #5F6477;
}

.calendar-frontend-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
}

.calendar-title {
  text-align: center;
  font-size: 24px;
  color: #8FBFCC;
  margin-bottom: 30px;
}

.calendar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 1145px;
}

@media screen and (max-width: 1200px) {
  .calendar-controls {
    width: 108rem;
  }
}

@media screen and (max-width: 991.9px) {
  .calendar-controls {
    width: 50rem;
  }
}

@media screen and (max-width: 575.9px) {
  .calendar-controls {
    width: 105%;
  }
}

.calendar-nav {
  background: transparent;
  border: none;
  color: #8FBFCC;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.2s;
  display: flex;
  gap: 8px;
  position: relative;
}

.calendar-nav:hover {
  opacity: 0.7;
}

.calendar-nav#frontPrevMonth {
  align-items: end;
  flex-direction: column;
}

.calendar-nav#frontPrevMonth::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 3px solid #8FBFCC;
  border-bottom: 3px solid #8FBFCC;
  transform: rotate(45deg);
  margin-right: 4px;
}

.calendar-nav#frontNextMonth {
  align-items: start;
  flex-direction: column-reverse;
}

.calendar-nav#frontNextMonth::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 3px solid #8FBFCC;
  border-top: 3px solid #8FBFCC;
  transform: rotate(45deg);
  margin-left: 4px;
}

.calendar-display {
  display: flex;
  justify-content: center;
  width: 90%;
  margin: 0 auto;
  gap: 68px !important;
}

@media screen and (max-width: 991.9px) {
  .calendar-display {
    flex-direction: column;
  }
}

.calendar-month-front {
  flex: 1;
  max-width: 500px;
  position: relative;
}

@media screen and (max-width: 991.9px) {
  .calendar-month-front {
    width: 100%;
    max-width: 100%;
  }
}

.month-header {
  text-align: center;
  margin-bottom: 20px;
  position: absolute;
  top: 0;
  left: -3.5em;
  font-weight: bold;
}

@media screen and (max-width: 575.9px) {
  .month-header {
    left: -2.5em;
  }
}

.month-display {
  font-size: 60px;
  color: #8FBFCC;
  margin-bottom: 0;
  line-height: 1;
  background: #fff;
}

@media screen and (max-width: 575.9px) {
  .month-display {
    font-size: 40px;
  }
}

.year-display {
  font-size: 26px;
  color: #8FBFCC;
  margin-top: 5px;
  line-height: 1;
}

@media screen and (max-width: 575.9px) {
  .year-display {
    font-size: 20px;
  }
}

.calendar-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.calendar-table thead th {
  width: 3em;
  height: 3em;
  aspect-ratio: 1;
  font-size: 18px;
  color: #5F6477;
  font-weight: bold;
  border: none;
  border-bottom: 1px solid #ddd;
}

@media screen and (max-width: 575.9px) {
  .calendar-table thead th {
    font-size: 14px;
    width: 2em;
    height: 3em;
  }
}

.calendar-table tbody td {
  padding: 0;
  text-align: center;
  border: none;
  position: relative;
}

.calendar-table tbody td:nth-child(7) .day-cell:not(.other-month) {
  color: #333;
}

.day-cell {
  position: relative;
  background: transparent;
  font-weight: 600;
  width: 3em;
  height: 3em;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin: 0 auto;
}

@media screen and (max-width: 991.9px) {
  .day-cell {
    height: 4em;
  }
}

@media screen and (max-width: 575.9px) {
  .day-cell {
    width: 2em;
    height: 3em;
  }
}

.day-cell>div:first-child {
  color: #5F6477;
}

.day-cell.other-month {
  color: #ddd;
}

.day-cell.has-event {
  background: transparent;
  position: relative;
}

.day-cell .event-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  color: #5F6477;
  font-weight: 600;
  line-height: 1;
}

.day-cell .event-label {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: #666;
  font-weight: 600;
  white-space: nowrap;
}

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