body {
    font-family: 'Nunito', sans-serif;
    background-color: beige;
    margin: 0;
    padding: 0;
  }

  /* Animation Keyframes */
@keyframes slideFadeDown {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Navigation with Animation */
  #nav {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: linear-gradient(to left, #090909, #3e3f40);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid gold;
    border-radius: 0 0 15px 15px;
    animation: slideFadeDown 0.8s ease forwards;
  }
  
  #parts ul li a {
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
  }
  
  #parts ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: gold;
    transition: width 0.3s ease;
  }
  
  #parts ul li a:hover::after {
    width: 100%;
  }
  

  #nav .logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 15px;
  }
  
  #nav h1 {
    font-size: 2.8rem;
    letter-spacing: 1px;
    font-weight: bold;
    margin-right: auto;
  }
  
  #parts {
    display: flex;
    justify-content: flex-end;
  }
  
  #parts ul {
    text-decoration: none;
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
  }
  
  #parts ul li a  {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 1.4rem;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight:600;
    transition: background-color 0.3s, color 0.3s;
  }
  
  #parts ul li a:hover {
    background-color: #efec95;
    color: black;
  }
  
  #parts ul li a.active {
    border-bottom: 3px solid rgb(255, 230, 192);
    padding-bottom: 5px;
    color: #f4f4f2;
  }
  
  #parts ul li a.active:hover {
    color: black;
  }
  
  /* Footer */
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  footer {
    background-color: #1a1a1a;
    color: #f2cb05;
    text-align: center;
    padding: 30px 10px;
    font-size: 1.4rem;
    margin-top: 80px;
    border-top: 5px solid #f2cb05;
    animation: fadeInUp 1s ease forwards;
  }
  
  
  footer a {
    color: rgb(255, 200, 118);
    text-decoration: none;
  }
  
  footer a:hover {
    text-decoration: underline;
  }
  

  
  /* Responsive */
  @media (max-width: 768px) {
    #nav {
      padding: 20px;
    }
    
    footer {
      font-size: 1.2rem;
      padding: 20px;
    }
  
    #nav h1 {
      font-size: 1.8rem;
    }
  
    #parts ul li a {
      font-size: 18px;
    }
  }
  
  @keyframes slideFadeDown {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }