.month-menu-wrapper {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgb(255, 249, 239);
}

.month-menu-wrapper {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgb(255, 249, 239);
}

.month-menu {
}

.month-menu-toggle {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;

  h1 {
    margin: 0;
    width: 10ch;
  }
}

.month-menu-panel {
  background: rgb(238, 232, 225);
  border-radius: 0.375em;
  box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.25);
  display: none;
  flex-direction: column;
  gap: 1.5em;
  margin: 1em auto 2em auto;
  max-width: min(100ch, calc(100vw - 2em));
  padding: 1em 0.5em;
  z-index: 300;

  &.month-menu-panel--open {
    display: flex;
  }
}

.month-menu-months {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  justify-content: center;
}

.month-menu-month {
  background-color: rgb(255, 255, 255);
  border-radius: 0.5em;
  box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.25);
  color: rgb(105, 105, 105);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.25em 0.5em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;

  &:hover {
    background-color: rgb(248, 243, 237);
    color: rgb(112, 57, 26);
  }

  &.month-menu-month--active {
    background-color: rgb(193, 178, 170);
    color: rgb(255, 255, 255);
  }
}

.month-menu-actions {
  display: flex;
  gap: 1em;
  justify-content: center;
}

.month-menu-action {
  align-items: center;
  background: none;
  border-radius: 0.5em;
  border: none;
  color: rgb(183, 179, 172);
  cursor: pointer;
  display: flex;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  gap: 0.5em;
  padding: 0.25em 0.5em;
  text-align: center;

  &:hover {
    background-color: rgb(248, 243, 237);
    color: rgb(112, 57, 26);
  }
}
