.navbar {
  color: #fff;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: .9rem 8rem;
  display: flex;
  position: relative;
  box-shadow: 0 2px 5px #0000001a;
}

.nav-container {
  border-radius: 4px;
  padding: .2rem .5rem;
}

.navbar__menu {
  flex-grow: 1;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.navbar__toggle {
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
  font-size: 1.5rem;
  display: none;
}

.navbar__item, hero__item {
  color: var(--primary-h1);
  font-weight: lighter;
  display: inline-block;
}

.navbar__link {
  color: var(--primary-h1);
  padding: .1rem .3rem;
  font-family: monospace;
  font-size: 1rem;
  text-decoration: none;
  transition: all .3s;
}

.navbar__link:hover {
  border-bottom: 2px solid var(--primary-text);
}

.navbar__brand {
  width: auto;
  height: auto;
  max-height: 40px;
  display: block;
}

.placeholder .brace {
  color: var(--placeholder-brace);
}

.placeholder .currency .navbar__link--about {
  color: var(--placeholder-currency);
}

.placeholder .navbar__link--home {
  color: var(--placeholder-navbar--home);
}

.placeholder .args {
  color: var(--placeholder-args);
}

.initials {
  color: var(--placeholder-initials);
}

@media (width <= 768px) {
  .navbar {
    padding: .9rem 2rem;
  }

  .navbar__toggle {
    z-index: 1001;
    display: block;
  }

  .navbar__menu {
    z-index: 1000;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 6px #0000001a;
  }

  .navbar__menu--open {
    background-color: #282c34e6;
    animation: .3s ease-in-out slideDown;
    display: flex;
  }

  .navbar__item {
    text-align: center;
    width: 100%;
    padding: .5rem 0;
  }

  .navbar__icon {
    font-size: 22px;
  }

  header {
    flex-direction: column;
    align-items: center;
    gap: .5rem;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (width <= 450px) {
  .navbar__brand {
    display: none;
  }

  .navbar {
    justify-content: end;
    padding: .9rem 2rem;
    display: flex;
  }
}
