.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  color: var(--color-neutral-950);
  padding: 3rem;
  position: relative;
  box-shadow: var(--shadow-md);
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}

.header__logo {
  width: 2rem;
}

.header__name {
  font-size: var(--text-2xl);
}

.header__expand {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
}

.header__icon {
  height: 2rem;
}

.header__nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--color-neutral-050);
  display: none;
  flex-direction: column;
  padding: 3rem 3rem;
  z-index: 1;
}

.header__nav.show {
  display: flex;
  box-shadow: var(--shadow-md);
}

.header__nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.header__link {
  text-decoration: none;
  color: var(--color-neutral-950);
  width: max-content;
}

.header__active {
  border-bottom: 0.2rem solid var(--color-primary-500);
}

@media (min-width: 800px) {
  .header__expand {
    display: none;
  }

  .header__nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
    width: auto;
  }

  .header__nav ul {
    gap: 2rem;
    flex-direction: row;
  }

  .header__link {
    font-weight: 400;
    font-size: 1rem;
  }
}