/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body{
  background-color: #f4f6f9;
  color: black;
  font-family: 'Courier New', monospace;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

@media (max-width: 400px) {
  .calendar {
    width: 100%;
    margin: 0 10px;
  }
}

.calendar{
  width: 350px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.calendar-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.calendar-header button{
  background-color: transparent;
  border: none;
  font-size: 1.53em;
  cursor: pointer;
}

#month-year {
  font-size: 1.2em;
  font-weight: bold;
}

.calendar-weekdays, .calendar-dates {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  
}

.calendar-weekdays div, .calendar-dates div {
  text-align: center;
  padding: 10px;
}

.calendar-weekdays {
  background-color: #eaeef3;
}

.calendar-weekdays div {
  font-weight: bold;
}

.calendar-dates div {
  border-bottom: 1px solid #eaeef3;
  cursor: pointer;
}

.calendar-dates div:hover {
  background-color: #f1f1f1;
}

.current-date {
  background-color: #C70039;
  color: #fff;
  border-radius: 50%;
}
