/** ================ header-nav ================= */
.header {
  background-color: rgba(19, 22, 26, 0.95);
  position: fixed;
  width: 100%;
  /* ^ to fix top header space */
  top: 0;
  z-index: 5;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2em;
  min-height: 4em;
}

ul {
  list-style: none;
  text-decoration: none;
  color: inherit;
}
a {
  text-decoration: none;
}
/* .logo {
  color: #fff;
  font-size: 1.5em;
  letter-spacing: -1.5px;
  font-weight: 500;
} */
.nav-logo-container {
  width: 5%;
  margin-left: 2em;
  min-width: 5em;

}

.nav {
  transition: all 0.4s ease-in-out;
}
.nav-list {
  display: flex;
  column-gap: 2.5em;
}
.nav-item {
}
.nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1em;
  transition: all 0.4s;
}

.nav-link:hover,
.nav-link:focus {
  color: rgba(255, 255, 255, 1);
}

/** ================ hamburger ================= */

.hamburger {
  display: none;
  cursor: pointer;
}
.bar {
  height: 2px;
  width: 27px;
  background-color: #fff;
  margin: 5px 0;
  opacity: 0.8;
  transition: all 0.3s ease-in-out;
}

.nav-open {
  transform: translate(0) !important;
}
.hamburger-open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-open .bar:nth-child(2) {
  opacity: 0;
}
.hamburger-open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 650px) {
  .nav {
    position: fixed;
    top: 4em;
    left: 0;
    background-color: rgba(19, 22, 26, 0.9);
    width: 100%;
    padding: 0.75em 0 1.75em;
    transform: translateX(-100%);
  }
  .nav-list {
    flex-direction: column;
    align-items: center;
    row-gap: 1.5em;
  }
  .nav-link {
    font-size: 1.75em;
  }
  .hamburger {
    display: block;
  }
}
