
nav {
    background-color: #2c2c2c;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
 
 
 
  .menu {
    display: flex;
    gap: 1rem;
    list-style: none;
  }
 
  .menu li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    transition: background 0.3s;
  }
 
  .menu li a:hover {
    background-color: #333;
    border-radius: 5px;
  }
 
  /* HAMBURGER */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
  }
 
  .hamburger div {
    width: 100%;
    height: 4px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  .hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
 
  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }
 
  .hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
 
  /* MOBILE */
  @media (max-width: 800px) {
    .hamburger {
      display: flex;
    }
 
    .menu {
     
      display: flex;
      position: absolute;
      top: 260%;
      left: -116px;
      right: -92px;
      background-color: #2c2c2c;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      padding: 1rem 0;
      display: none;
      animation: slideDown 0.3s ease-in-out;
    }
 
    .menu.show {
      
      display: none;
    }
    
   
  }
 
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }