/* Colors used */
:root {
  --teal-050: #effcf6;
  --teal-100: #c6f7e2;
  --teal-200: #8eedc7;
  --teal-300: #65d6ad;
  --teal-400: #3ebd93;
  --teal-500: #27ab83;
  --teal-600: #199473;
  --teal-700: #147d64;
  --teal-800: #0c6b58;
  --teal-900: #014d40;

  --blue-grey-050: #f0f4f8;
  --blue-grey-100: #d9e2ec;
  --blue-grey-200: #bcccdc;
  --blue-grey-300: #9fb3c8;
  --blue-grey-400: #829ab1;
  --blue-grey-500: #627d98;
  --blue-grey-600: #486581;
  --blue-grey-700: #334e68;
  --blue-grey-800: #243b53;
  --blue-grey-900: #102a43;
}

.year {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.calendar {
  max-width: max-content;
  padding: 1em;
  line-height: 1.4;
  background-color: #fff;
  border: 2px solid var(--blue-grey-200);
  border-radius: 8px;
}

/* For the month */
.month-indicator {
  color: var(--blue-grey-700);
  text-align: center;
  font-weight: 500;
}

/* CSS grid used for the dates */
.day-of-week,
.date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

/* Styles for the weekday/weekend header */
.day-of-week {
  margin-top: 1.25em;
}

.day-of-week>* {
  font-size: 0.9em;
  color: var(--blue-grey-400);
  font-weight: 500;
  letter-spacing: 0.1em;
  font-variant: small-caps;
  text-align: center;
}

/* Dates */
.date-grid {
  margin-top: 0.5em;
}

/* Positioning the first day */
.date-grid .first-day--monday {
  grid-column: 1;
}

.date-grid .first-day--tuesday {
  grid-column: 2;
}

.date-grid .first-day--wednesday {
  grid-column: 3;
}

.date-grid .first-day--thursday {
  grid-column: 4;
}

.date-grid .first-day--friday {
  grid-column: 5;
}

.date-grid .first-day--saturday {
  grid-column: 6;
}

.date-grid .first-day--sunday {
  grid-column: 7;
}


/* Style for each day */
.date-grid button {
  position: relative;
  border: 0;
  width: 4.5ch;
  height: 4.5ch;
  background-color: transparent;
  color: var(--blue-grey-600);
}

.date-grid button:hover {
  color: var(--blue-grey-900);
}

.date-grid button {
  cursor: pointer;
}

.date-grid button:disabled {
  cursor: default;
}

.date-grid button.day--weekend {
  background-color: var(--blue-grey-600);
  color: var(--blue-grey-050);
}

.date-grid button.day--holiday {
  background-color: crimson;
  color: var(--blue-grey-050);
}

.date-grid button.day--univ {
  background-color: var(--teal-300);
  color: var(--blue-grey-900);
}

.date-grid button.day--internship {
  background-color:lightsalmon;
  color: var(--blue-grey-900);
}

.date-grid button.day--outside {
  background-color: var(--blue-grey-700);
  color: var(--blue-grey-050);
  cursor: default;
}

/* .date-grid button:active,
  .date-grid button.is-selected {
    background-color: var(--teal-100);
    color: var(--teal-900);
  } */