.calendar {
  background-color: rgba(56, 56, 56, 1);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 12px;
  gap: 2px;

  display: flex;
  flex-direction: column;

  justify-content: center;

  font-family: "Inter", sans-serif;

  * {
    user-select: none;
  }

  span {
    text-transform: uppercase;
  }

  grid-column: span 2;
  grid-row: span 2;

  overflow: hidden;

  .calendar-month {
    margin-left: 4px;
    color: rgb(234, 83, 78);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.25px;
  }

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

    justify-items: stretch;

    font-size: 12px;
    font-weight: 600;
    color: rgb(200, 200, 200);

    div {
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      z-index: 0;

      aspect-ratio: 1/1;
    }

    .weekend {
      opacity: 0.6;
    }

    .today::after {
      content: "";
      display: block;
      position: absolute;
      width: 100%;
      height: 100%;
      background-color: rgb(234, 83, 78);
      border-radius: 100px;

      top: 50%;
      left: 50%;

      transform: translate(-50%, -50%);
      z-index: -1;
    }
  }
}

@media screen and (min-width: 600px) {
  .calendar {
    padding: 16px;
  }
}
