#aside {
  height: 100%;
  min-width: 15rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;

  padding: 1rem;

  background-color: var(--page-primary-color);
  color: var(--page-secondary-color);

  z-index: 100;

  box-shadow: 0rem 0rem 1rem rgba(0, 0, 0, 0.2);

  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;

  & h1 {
    color: var(--page-accent-color);
    padding: 0.5rem;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 6rem;
  }

  & h3 {
    margin: 0;
    padding: 0.5rem;

    font-size: small;
    font-weight: normal;

    color: var(--page-secondary-color);

    opacity: 0.5;
  }

  & ul {
    margin: 0;
    margin-left: 0.5rem;
    padding: 0;

    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    list-style: none;

    height: 100%;
    width: 100%;

    & li {
      display: flex;
      flex-direction: row;
      gap: 0.5rem;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem;
      margin-left: 0.5rem;

      border-radius: 1rem;

      box-shadow: inset 0rem 0rem 1rem rgba(0, 0, 0, 0.075);

      border: 0.1rem solid transparent;
      /* border-bottom: 0.1rem solid rgba(var(--page-secondary-color), 1); */

      & label {
        color: inherit;
        margin-top: 0.1rem;
        margin-bottom: 0.5rem;

        user-select: none;

        width: 8rem;

        &:hover {
          cursor: pointer;
        }
      }

      &:hover {
        cursor: pointer;
        /* background-color: var(--page-accent-color); */
        border: 0.1rem solid var(--page-accent-color);
        /* color: var(--page-primary-color); */
        border-radius: 0.5rem;

        transition: border-color 0.1s ease-in-out, color 0.1s ease-in-out;
      }

      & input[type="color"] {
        aspect-ratio: 1 / 1;
        height: 2rem;
        border: none;
        padding: 0;

        &:hover {
          cursor: pointer;
        }
      }

      &:last-child {
        display: flex;
        flex-direction: row;
        align-items: center;
        bottom: 0;
      }
    }
  }
}

#light-mode-switch {
  width: 6rem;
  height: 2rem;
  border: none;

  margin-left: 1rem;

  background-color: rgba(255, 255, 255, 0.1);
  outline: 0.1rem solid var(--page-secondary-color);
  border: 0.2rem solid transparent;
  border-radius: 1rem;
  color: white;
  font-size: small;

  &:hover {
    cursor: pointer;
  }

  > .indicator {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    aspect-ratio: 1 / 1;
    height: 100%;
    border-radius: 100%;
    background-color: var(--page-secondary-color);
    transition: left 0.3s ease-in-out;

    &.active {
      left: 63%;

      transition: left 0.3s ease-in-out;
    }
  }
}
