@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background: #edf1f4;
}
.container {
  position: relative;
  border-radius: 10px;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1), -15px -15px 30px #fff;
}
#calendar {
  width: 100%;
  padding: 10px 15px 0;
}
#calendar table {
  width: 100%;
  border-spacing: 12px;
  text-align: center;
}

.year-month-container {
  display: flex;
  justify-content: center;
  width: 80%;
  margin: 5px auto 5px;
  padding: 20px;
  font-size: 1.5rem;
}
.year-month-container .year-month {
  color: #777;
  margin: 0 15px;
  padding: 7px 15px;
  font-weight: bold;
  border-radius: 10px;
  font-size: 1.25rem;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1),
    -5px -5px 10px rgba(255, 255, 255, 1);
}
.year-month-container .prev-month,
.year-month-container .next-month {
  color: #777;
  padding: 7px 15px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 10px;
  font-size: 1.25rem;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1),
    -5px -5px 10px rgba(255, 255, 255, 1);
}
.year-month-container .prev-month:hover ,
.year-month-container .next-month:hover  {
  box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.1),
    inset -5px -5px 10px rgba(255, 255, 255, 1);
}

#calendar table tr:nth-child(1) td {
  background: #2196f3;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px #fff;
  border: 2px solid #edf1f4;
}
#calendar table tr:nth-child(1) td:nth-child(7) {
  background: #f44336;
}
#calendar table td {
  color: #777;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 500;
  border-radius: 10px;
  font-size: 1.25rem;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1),
    -5px -5px 10px rgba(255, 255, 255, 1);
}
#calendar table td:hover {
  box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.1),
    inset -5px -5px 10px rgba(255, 255, 255, 1);
}
#calendar table td:last-child {
  color: #f44336;
}
#calendar-target-date {
  background: #2196f3;
  color: #fff !important;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px #fff !important;
  border: 2px solid #edf1f4;
}
#calendar table td.is-disabled {
  color: #fff;
}


@media (max-width: 550px) {
  #calendar table td,
  .year-month-container .prev-month,
  .year-month-container .next-month {
    padding: 5px;
  }
}
