explorer/src/lib/components/navbar/Navbar.css
.dusk-navbar {
  overscroll-behavior: contain;
  height: 100%;
  z-index: 999;
  margin: 0 auto;
  padding: 1.5625rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.dusk-navbar--menu-hidden {
  background-color: var(--background-color);
  position: sticky;
  height: auto;
  min-height: 0;
}

.dusk-navbar__logo {
  display: flex;
  align-items: center;
}

.dusk-navbar__logo img {
  width: 5.375rem;
  height: 1.25rem;
}

.dusk-navbar__toggle {
  background-color: transparent;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  border: none;
}

.dusk-navbar__toggle:focus {
  outline: none;
  box-shadow: none;
}

.dusk-navbar__menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  /*
    80px is the total height of the navbar on a small viewport.
    It is needed so we know the exact height that needs to be set to the opened menu.
  */
  height: calc(100dvh - 80px);
  gap: 1.875rem;
}

.dusk-navbar__menu--hidden {
  display: none;
}

.dusk-navbar__menu--network {
  text-transform: uppercase;
  font-weight: 500;
  order: 3;
}

.dusk-navbar__menu--links {
  width: 100%;
  order: 2;
}

.dusk-nav-list.dusk-navbar__menu--links {
  height: auto;
}

.dusk-navbar__menu--search {
  order: 1;
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .dusk-navbar {
    padding: 0;
    min-height: 5rem;
    position: relative;
    background-color: transparent;
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: 2.5rem;
  }

  .dusk-navbar__logo img {
    width: 8.0625rem;
    height: 1.9375rem;
  }

  .dusk-navbar--menu-hidden {
    position: relative;
  }

  .dusk-navbar__toggle {
    display: none;
  }

  .dusk-navbar__menu {
    height: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    row-gap: 2rem;
  }

  .dusk-navbar__menu--hidden {
    display: flex;
  }

  .dusk-navbar__menu--network {
    order: 1;
  }

  .dusk-navbar__menu--links {
    order: 2;
  }

  .dusk-navbar__menu--search {
    order: 3;
    margin-top: 0;
  }

  .dusk-navbar__menu--search-notification {
    position: absolute;
    left: 0;
    top: 5rem;
  }
}

@media (min-width: 1280px) {
  .dusk-navbar {
    column-gap: 4.375rem;
  }
}

/*
  Workaround for Bug 1851397
  https: //bugzilla.mozilla.org/show_bug.cgi?id=1851397
*/
@-moz-document url-prefix() {
  .dusk-navbar__menu--network {
    letter-spacing: 0 !important;
  }
}
