.ul {
  padding: 0.5rem;
  list-style: none;
}

.button {
  anchor-name: var(--anchor-name);
  padding: 0.4rem;
  display: inline-flex;
  align-items: center;
  border-radius: var(--theme-border-radius);
  height: 100%;
  appearance: none;
  border: none;
  background: none;
  cursor: pointer;
  transition: background-color 100ms ease-in-out;
  &:hover,
  &:focus-visible {
    background-color: var(--theme-color-bg-2);
  }
}

.submenu {
  --menu-width: 20ch;
  width: var(--menu-width);
  border: 1px solid var(--theme-color-bg-1);
  border-radius: var(--theme-border-radius);
  box-shadow:
    0px 2.8px 2.2px rgba(0, 0, 0, 0.02),
    0px 6.7px 5.3px rgba(0, 0, 0, 0.028),
    0px 12.5px 10px rgba(0, 0, 0, 0.035),
    0px 22.3px 17.9px rgba(0, 0, 0, 0.042),
    0px 41.8px 33.4px rgba(0, 0, 0, 0.05),
    0px 100px 80px rgba(0, 0, 0, 0.07);

  position-anchor: var(--anchor-name);
  position-area: bottom center;

  @supports not (anchor-name: --something) {
    --supports-position-anchor: false;
    position: fixed;
    top: var(--top);
    left: var(--left);
  }
}
