:root {
  --light-gray: #f5f5f5;
}
body {
  font-family: "Roboto", sans-serif;
}

.calendar-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 1em;
}

h4 {
  background-color: var(--light-gray);
  padding: 12px 8px;
  margin-bottom: 1em;
}

.calendar-controls > div {
  width: 12ch;
  text-align: center;
}

.button {
  border: 1px solid var(--light-gray);
  background-color: transparent;
  padding: 4px 8px 2px;
  border-radius: 2px;
}

.navigation-buttons {
  text-transform: lowercase;
  font-size: 0.9em;
}

.calendar-header,
.calendar-week {
  display: flex;
}

.header-cell {
  display: flex;
  width: 14.285%;
  height: 50px;
  justify-content: flex-end;
  text-transform: uppercase;
  font-weight: bold;
  align-items: center;
  padding: 6px;
}

.day-cell {
  display: flex;
  width: 14.285%;
  height: 80px;
  background-color: var(--light-gray);
  border: 4px solid white;
  padding: 6px;
  position: relative;
}

#spanDayCell {
  position: absolute;
  bottom: 6px;
  right: 6px;
  font-size: 28px;
  font-weight: bold;
}

.empty-cell {
  display: flex;
  width: 14.285%;
  height: 80px;
  background-color: none;
  border: 4px solid white;
  padding: 6px;
}

.today {
  background-color: orange;
  color: white;
}

.event-day {
  font-size: 0.7em;
  flex-direction: column;
  overflow: auto;
  border-left: 5px solid transparent;
  height: fit-content;
  padding-inline: 3px 6px;
}

.event {
  padding: 0 3px 3px;
  margin-bottom: 4px;
}

.event-in-list {
  padding: 0.5em;
  min-width: 25ch;
  margin-right: 0.5em;
  border: 2px solid var(--light-gray);
}

.event-in-list p {
  margin-bottom: 0;
}

.event-in-list > div > div {
  padding-left: 0.25em;
}

.events-container {
  overflow-x: auto;
}

.form button {
  background-color: rgb(0, 180, 180);
  color: white;
  transition: all 0.15s ease-in-out;
}

.form button:hover {
  background-color: rgb(0, 160, 160);
}

.calendar-week {
  display: flex;
}
