/* ===== Header Navigation ===== */
.header {
  background: #A89B9D;
  backdrop-filter: blur(5px);         /* Glassmorphism blur */
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #2A2C24;
}


/* Navigation styles */
nav {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap; /* allow wrapping if needed */
  justify-content: center;
  align-items: center;
  gap: 2rem;
  font-size: clamp(1rem, 5vw, 1.3rem); /* auto scales */
}

.nav-menu li {
  list-style: none;
}

.nav-menu a {
  flex: 1 1 auto; /* grow/shrink freely */
  min-width: 80px;
  text-align: center;
  padding: 0.4rem 1rem;
  border: 2px solid #CFCFEA;
  border-radius: 12px; /* full pill shape */
  background: #A89B9D; /* glassy backdrop */
  color: black;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 0 8px var#CFCFEA;
  transition: all 0.3s ease;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  font-weight: bold;
}

nav a:hover {
  background: #A89B9D;
  color: black;
  animation: neonFlicker 1.2s infinite alternate;
  transform: scale(1.05);
}

.nav-menu a.active {
  background: #A89B9D;
  color: black;
  box-shadow: 0 0 15px #CFCFEA;
  animation: neonFlicker 1.2s infinite alternate;
}

/* ===== Base Styles ===== */
body {
  font-family: 'Fira Code', monospace; /* Monospace hacker-style font */
  overflow-x: hidden; /* Prevents horizontal scrollbars */
  background: #d8ddc9;
}

h1{
    text-align: center;
    font-size: clamp(1.5rem, 2.5rem, 2.5rem);
    margin-bottom: 0.5rem;
    color: black;
    text-shadow: 0 0 5px #CFCFEA;
    font-family: 'Fira Code', monospace, cursive;
}

.intro-text {
    text-align: center;
    font-size: 0.9rem;
    font-size: clamp(0.7rem, 0.9rem, 0.9rem);
    margin-bottom: 2rem;
    color: black;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    padding: 0 1rem;
}

.Chronicles-section{
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 20px;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.Chronicles-section li{
    list-style: none;
    margin-bottom: 1rem;
}

.Chronicles-section a{
    display: block;
    font-size: 1.2rem;
    font-size: clamp(0.9rem, 1.2rem, 1.2rem);
    color: black;
    text-decoration: none;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  color: white;
  background: #A89B9D;
  padding: 10px;
}
