/* nav */

#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 68px;
  background: var(--clr-nav);
  transition: height 200ms ease-out, background 200ms ease-out, box-shadow 200ms ease-out;
  z-index: 999;
  border-bottom: 1px white solid;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--padx);
}

#navbar a {
  font-weight: 400;
  letter-spacing: 1.2px;
  color: var(--clr-bright);
  font-size: clamp(1.0rem, 1.4vw, 1.2rem);
}

#logo a {
  font-weight: 600;
}

#navbar.nav-active {
  height: 48px;
  box-shadow: 0 0 12px black;
}

.hambur-cont {
  display: none;
  width: 28px;
  height: 24px;
}

.menu-mobile {
  /* width: 0; */
  transform: translateX(120%);
  position: absolute;
  height: 100vh;
  top: 0;
  right: 0;
  padding: 4rem;
  /* background: linear-gradient(var(--clr-blue), var(--clr-cadet)); */
  background: var(--clr-nav);
  box-shadow: 0 0 18px black;
  font-size: var(--fnt-h3);
  z-index: 990;
  transition: transform 150ms ease-out;
}


@media (max-width: 1560px) {
  .menu {
    display: none;
  }
  .hambur-cont {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 992;
  }
  .hambur-cont span {
    width: 100%;
    height: 4px;
    background: white;
    border-radius: 5px;
    transition: width 150ms ease-out;
  }
  .hambur-cont span:nth-of-type(odd) {
    width: 80%;
  }
  .hambur-cont.open span {
    width: 80%;
  }
  .hambur-cont.open span:nth-of-type(odd) {
    width: 100%;
  }
  .menu-mobile.open {
    width: min-content;
    transform: translateX(0);
  }
}

