

.navHeader {
  left: 0;
  position: fixed;
  top: 170px;
  width: 100%;
  border-top: 2px solid darkblue;
  background-color: #98dbc6;
  border-bottom: 2px solid darkblue;
}

.nav-item {
  list-style: none;
}

.nav-item a {
  font-size: 20px;
  font-weight: bold;
  color: darkblue;
  text-decoration: none;
}

.newNavbar li.active {
  background-color: antiquewhite;
}
.newNavbar li.active a {
  background-color: aliceblue;
}

.navContainer {
  width: 100%;
  margin: auto;
}

.subcontainer {
  width: 85%;
  margin: auto;
}

.newNavbar {
  /* background-color: #98dbc6; */
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.noNavbar {
  /* background-color: #98dbc6; */
  width: 100%;
  height: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.nav-branding {
  font-size: 23px;
}

.nav-item:hover {
  background-color: #c4f3e4;
  border-radius: 8px;
  /* padding: 0 5px; */
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  transition: all 0.3s ease;
  background-color: black;
}


@media(max-width: 924px) {

  .allCards {
    margin-top: 200px;
  }

  .newNavbar {
    justify-content: space-between;
  }
  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -2400px;
    top: 205px;
    gap: 0;
    flex-direction: column;
    background-color: #98dbc6;
    width: 100%;
    text-align: center;
    transition: 0.6s;
  }

  .nav-item {
    margin: 16px 0;
  }

  .nav-menu.active {
    left: 0;
  }
}