.drawer {
  position: fixed;
  top: 0;
  left: -15rem;
  width: 15rem;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  transition: left cubic-bezier(0.65, 0.05, 0.36, 1) 0.3s;
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  user-select: none;

  .links {
    padding: 8rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background-color: var(--drawer-background-color);
    height: 100%;
    width: 15rem;

    .link {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.2rem;
      color: var(--text-color);
      font-size: 0.8rem;
      font-weight: 500;
      transition: color cubic-bezier(0.65, 0.05, 0.36, 1) 0.3s;
      text-transform: uppercase;

      &:hover,
      &.active {
        color: var(--link-highlight-color);
      }
    }
  }

  .overlay {
    height: 100%;
    flex-grow: 1;
    z-index: 3;
  }
  &.active {
    pointer-events: all;
    left: 0;
    width: 100vw;
  }
}