/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  a {
    color:  #333;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    text-align: center;
    background-color: #f39c12;
    overflow-x: hidden;
    max-width: 100%;
  }
  
/* Header and Navigation */
/* Sticky Header */
header {
  background: #0a0a0a;
  color: #fff;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000; /* Ensures it stays above other content */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
}

.logo a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f39c12;
}

/* Main Content */
main {
  padding-top: 4rem;
}

h1 {
  color: #0a0a0a;
  text-align: center;
}

h2 {
  color: #0a0a0a;
}

.first-par::first-letter {
  color: #f39c12; /* Vibrant orange */
  background: #0a0a0a; /* Dark contrast */
  font-size: 280%; /* Slightly larger */
  font-weight: bold;
  padding: 8px 5px;
  margin-right: 8px;
  border-radius: 5px;
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.2); /* Subtle highlight */
  float: left;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Slight glow */
}

strong {
  color: #0a0a0a;
}

/* About Page */
.about-content {
  max-width: 700px;
  text-align: left;
  margin: 90px auto;
  line-height: 1.8;
  background: linear-gradient(135deg, #0a0a0a 0%, #f39c12 50%, #0a0a0a 100%);
  background-size: 400% 400%; /* Increase size to reduce visible repeat line */
  animation: gradientAnimation 6s infinite linear;
  color: #3a2121;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Optional: Smooth Gradient Animation */
@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
  
/* Footer */
footer {
  background: #0a0a0a;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

footer a {
  color: #fff;
}

li {
  list-style-type: none;
}

@media (min-width: 769px) { 
  .nav-links {
    margin-left: auto;  /* Push the nav links to the right */
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    height: auto;
    background: #0a0a0a;
    display: none; /* Ensure it's hidden by default */
    flex-direction: row; 
    justify-content: space-evenly; 
    align-items: center;
    padding: 1rem 0;
    box-sizing: border-box;
    overflow-x: hidden;
    flex-wrap: wrap;
  }

  .nav-links.nav-active {
    display: flex; /* Show only when active */
  }

  .nav-links li {
    flex: 1 1 auto;
    text-align: center;
    padding: 1rem 0;
  }

  /* Prevent horizontal scrolling */
  html, body {
    overflow-x: hidden;
  }

  /* Hamburger Menu */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
  }

  .hamburger span {
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
  }

  /* When active, transform into an X */
  .hamburger.active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-15px) rotate(-45deg);
  }
}