body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-image: url(../Images/background.png);
    background-size: cover;
    background-attachment: fixed; /* This is the key */
    background-repeat: no-repeat;
    color: #f0f0f0;
  }
  
  .navbar {
    background-image: url(../Images/navimage.png);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 99;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
  }
  
  .nav-links a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: 500;
  }
  
  .nav-links a:hover {
    color: #00d1ff;
  }
  
  .section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: auto;
  }
  
  h1, h2 {
    color: #ffffff;
  }
  
  /* Projects page */
  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .project-card {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 209, 255, 0.1);
    transition: transform 0.2s ease;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
  }
  
  .project-card h3 {
    margin-top: 0;
    color: #00d1ff;
  }
  
  .project-card p {
    color: #cccccc;
  }
  
  .project-link {
    text-decoration: none;
    color: inherit;
    display: block;
  }

  /* Learning outcome page */
  .dropdown {
    background-color: #1e1e1e;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0, 209, 255, 0.1);
    transition: all 0.3s ease;
  }
  
  .dropdown summary {
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    color: #00d1ff;
  }
  
  .dropdown[open] summary {
    margin-bottom: 0.5rem;
  }
  
  .dropdown p {
    margin: 0.5rem 0 0;
    color: #cccccc;
  }

  .dropdown a {
    color: #00d1ff;
    text-decoration: none;
  }
  
/* about me */
.character-sheet {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    align-items: center;
  }
  
  .stats {
    flex: 1;
    background-color: #1e1e1e;
    padding: 1rem;
    border-radius: 8px;
    min-width: 250px;
  }
  
  .stats ul {
    list-style: none;
    padding-left: 0;
  }
  
  .stats li {
    margin-bottom: 0.5rem;
    color: #cccccc;
  }
  
  .appearance {
    flex: 1;
    text-align: center;
  }
  
  .appearance img {
    max-width: 250px;
    border-radius: 12px;
    border: 3px solid #00d1ff;
  }
  
  .bio-section, .inventory-section {
    margin-top: 2rem;
    background-color: #1e1e1e;
    padding: 1rem;
    border-radius: 8px;
  }
  
  .inventory-section ul {
    list-style: none;
    padding-left: 1rem;
  }
  
  .inventory-section li {
    margin-bottom: 0.5rem;
  }
  

/* footer */
  .footer {
    background-color: #1e1e1e;
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 4rem;
  }
  
  .footer-content {
    max-width: 800px;
    margin: auto;
    color: #cccccc;
    font-size: 0.9rem;
  }
  
  .footer a {
    color: #00d1ff;
    text-decoration: none;
    margin: 0 0.5rem;
  }
  
  .footer a:hover {
    text-decoration: underline;
  }
  
  .easter-egg {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.2rem;
    color: #fff;
    user-select: none;
  }
