.calendar-header {
  background: linear-gradient(to left, red , orange, yellow, green, blue, indigo, violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.day-calendar-area {
  display: flex;
  flex-direction: column;
}

.calendar-row {
  display: flex;
  justify-content: center;
  transform: translateX(-75px);
}

.calendar-slot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 5px;
  margin-bottom: 10px;
  margin-top: 0;
  width: 200px;
  height: 75px;
  border: 1px solid black;
}

.calendar-slot.calendar-empty-corner-slot {
  border: none;
  justify-content: end;
  align-items: flex-end;
  height: 30px;
  width: 150px;
}

.calendar-slot.calendar-time-slot {
  border: none;
  justify-content: end;
  height: 30px;
}

.calendar-slot.calendar-court-slot {
  border: none;
  align-items: flex-end;
  width: 150px;
}

.calendar-slot.calendar-regular-slot.unavailable {
  background-color: #fff0f2
}

.calendar-slot.calendar-regular-slot.occupied {
  background-color: #e0e0ff
}

.calendar-slot.calendar-regular-slot.invalid {
  border-color: red;
}

.team-slot, .team-slot-wrapper, .team-scores-slot-wrapper, .team-scores-slot {
  width: 100%;
}

.team-slot-wrapper, .team-scores-slot-wrapper, .team-slot, .team-scores-slot {
  height: 25px;
}

.team-name-slot {
  font-size: 11px;
  text-align: center;
}

.game-team-points {
  font-size: 11px;
  margin: 0 5px;
  padding: 0 5px;
  width: 30px;
  text-align: center;
}

.team-slot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.team-scores-slot {
  display: flex;
  flex-direction: row;
  justify-content: center;
  display: flex;
}

.team-slot-wrapper, .team-scores-slot-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-scores-slot-wrapper {
  flex-direction: column;
}

.calendar-wrapper {
  width: 80%;
}

.calendar-sidebar {
  flex-basis: 200px;
  flex-grow: 1;
  position: fixed;
  top: 0;
  right: 0;
  background: linear-gradient(to bottom, lightblue, lightgreen);
  overflow-y: auto;
  height: 100vh;
  width: 20%;
}

@media (max-width: 1050px) {
  .calendar-sidebar {
    display: none;
  }
}

.league-color-label {
  vertical-align: middle;
  margin-bottom: 15px;
}

.league-color-label > div:first-child {
  text-align: center;
  text-decoration: underline;
}

.sidebar-team {
  padding-left: 10px;
}