/* ================================
   MOBILE HEADER / HAMBURGER
   ================================ */

@media (max-width: 600px) {

  /* Hide desktop nav */
  header nav {
    display: none !important;
  }

  header {
    justify-content: flex-start !important;
    padding-left: 15px;
  }

  /* HAMBURGER BUTTON */
  #menuIcon span,
  #cancelIcon span {
    width: 26px;
    height: 3px;
    border-radius: 20px;
    background: var(--accent);
    transition: 0.3s ease;
  }

  #menuIcon,
  #cancelIcon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: 5px;
  }

  #cancelIcon {
    margin-top: 5px;
  }

  /* Cancel (X) animation */
  #topbar {
    transform: rotate(45deg) translate(6px);
  }
  #middlebar {
display: none;  }
  #bottombar {
    transform: rotate(-45deg) translate(6px);
  }
}

/* ================================
   SIDEBAR
   ================================ */

#sidebar {
  position: fixed;
  top: 0;
  left: 0;

  width: 75vw;
  height: 100vh;

  background: rgba(2, 27, 64, 0.92);
  backdrop-filter: blur(15px);

  border-right: 2px solid rgba(255,255,255,0.12);

  transform: translateX(-100%);
  transition: transform 0.35s ease;

  z-index: 2000;
  padding-top: 80px;
  display: none;
}

#sidebar.show {
  display: block;
  transform: translateX(0);
}

#sidebar nav ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-left: 30px;
}

#sidebar nav ul li a {
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  transition: 0.25s ease;
}

#sidebar nav ul li a:hover {
  color: var(--accent);
  transform: translateX(8px);
}
