+:root {
--bg: #ffffff;
--text: #111827;
--muted: #6b7280;
--card: #f8fafc;
--accent: #2563eb;
--radius: 12px;
}

body.dark-mode {
--bg: #0b0f14;
--text:#f3f3f6;
--muted: #9aa6b2;
--card: #071021;
--accent: #60a5fa;
}


h1, p, a {
  text-shadow: 2px 2px 5px black;
}




* { box-sizing: border-box; }
html,body{ height:100%; }
body{
margin:0;
font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
background:var(--bg);
color:var(--text);
-webkit-font-smoothing:antialiased;
}

body.notes-page {
background-image: url(assets/bg.jpg/pexels-fotios-photos-1036372.jpg);
background-size: cover;
background-repeat: no-repeat;
background-position: stretch;
background-attachment: fixed;
color: rgb(0, 0, 0)    
}

body.home-page {
  background-image: url(assets/bg.jpg/woman-sitting-library-with-her-phone.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: stretch;
  background-attachment: fixed;
  color: rgb(249, 243, 243);
}



body.past-papers-page {
    background-image: url(assets/bg.jpg/pexels-freestockpro-2781814.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    color: black
}


body.year-page {
  background-image: url( assets/bg.jpg/d53e6af334705a49a3f55770ff9fe84a.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  color: rgb(244, 238, 238);
}
body.paper-page {
background-image: url(assets/bg.jpg/pexels-padrinan-68562.jpg);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-attachment: fixed;
color: white;  
}
.container{ max-width:1100px; margin:0 auto; padding:1rem; }


.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.brand{ font-weight:700; text-decoration:none; color:var(--text); }

    
.main-nav{ display:flex; gap:1rem; }
.main-nav a{ text-decoration:none; color:var(--muted); padding:0.25rem 0.5rem; border-radius:6px; }
.main-nav a:hover{ co

  .year-links {
  display: flex;
  flex-direction: column;

  gap: 15px;
  margin-top: 20px;
}align-items: center;

.year-card {
  display: block;
  width: 150px;
  text-align: center;
  padding: 12px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
  font-weight: bold;
}

.year-card:hover {
  background-color: #0056b3;
}

