#header-menu-container {
  position: relative;
}

#header-menu-button {
  font-size: 1.5rem;
}

#header-menu {
  display: none;
  right: 0;
  top: 0;
  width: 10rem;
  z-index: 1000;

  .menu__header {
    display: flex;
    justify-content: space-between;
    padding: .5rem;
    border-bottom: 1px solid #ccc;

    .profile {
      display: flex;
      gap: .5rem;
      align-items: center;

      .profile__name {
        font-weight: bold;
      }

      .profile__avatar {
        font-size: .75rem;
        width: 1.25rem;
        height: 1.25rem;
        background-color: black;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
      }
    }
  }

  &.active {
    display: grid;
  }

  .menu__close {
    justify-self: end;
    font-size: 1.5rem;
  }

  .menu__items {
    display: grid;
    text-align: center;
    z-index: 1000;

    a {
      &:hover {
        background-color: var(--bg-secondary);
      }

      padding: 1rem;
      font-weight: bold;
      color: black;
      text-decoration: none;
    }
  }

  position: absolute;
  background-color: white;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: .5rem;
}