.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  color: white;
  padding: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  z-index: 20;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10;

  .logo a {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
  }
  .logo a img {
    height: 20px;
  }

  nav {
    display: flex;
    align-items: center;
  }

  nav a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
  }

  nav a:focus-visible {
    outline: 2px solid #ffd33d;
    outline-offset: 2px;
  }

  nav a.active {
    background: #444;
  }

  nav a.signup {
    font-weight: bold;
    color: hsl(48, 100%, 87%);
    margin-left: 2rem;
    position: relative;
  }

  nav a.signup::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 0.25rem;
    bottom: 0.25rem;
    width: 1px;
    background: #444;
  }

  .dropdown {
    position: relative;
  }

  .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
  }

  .dropdown-toggle::after {
    content: "▾";
    margin-left: 0.35rem;
    font-size: 0.7rem;
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #111;
    border: 1px solid #333;
    border-radius: 4px;
    min-width: 180px;
    padding: 0.5rem 0;
    z-index: 30;
    flex-direction: column;
  }

  .dropdown-menu a {
    margin: 0;
    padding: 0.5rem 1rem;
    display: block;
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu,
  .dropdown.open .dropdown-menu {
    display: flex;
  }

  .mobile-signup {
    display: none;
  }

  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    margin-left: 1rem;
  }

  .hamburger span {
    height: 2px;
    background: white;
    margin: 3px 0;
    border-radius: 1px;
  }
}

@media (max-width: 768px) {
    .logo a img {
      height: 12px;
    }
}