/* ====== layout variables ====== */
:root{
  --header-height: 110px;    /* adjust this if you change logo size/padding */
  --sidebar-width: 220px;
  --accent: #ffd966;
  --blue-1: #80bfff;
  --blue-2: #99ccff;
  --bg: #b3d9ff;
}

/* ====== nice defaults ====== */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Courier New", monospace;
  background: var(--bg);
  color: #002b36;
}

/* ====== header/banner ====== */
/* fixed height so other elements can be positioned relative to it */
.banner {
  height: var(--header-height);         /* single source of truth */
  padding: 0 1.5rem;                    /* left/right padding */
  display: flex;
  align-items: center;                  /* vertical center inside header */
  justify-content: space-between;       /* left group / right button */
  background: var(--blue-1);
  border-bottom: 4px solid var(--accent);
}

/* logo + title group on the left */
.logo-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* logo size - change this if you want bigger/smaller logo */
.logo {
  height: 70px;     /* tweak this to resize the logo */
  width: auto;
}

/* title */
.banner h1 {
  font-size: 2.2rem;
  margin: 0;
  line-height: 1;
  color: #002b36;
}

/* easy reader button at right */
.easy-mode {
  background: var(--accent);
  border: 2px solid #002b36;
  font-family: "Courier New", monospace;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}
.easy-mode:hover { background:#ffec99; }

/* ====== sidebar (fixed under header) ====== */
.sidebar {
  position: fixed;
  top: calc(var(--header-height));      /* sits immediately BELOW the banner */
  left: 0;
  width: var(--sidebar-width);
  height: calc(100% - var(--header-height)); /* full height minus header */
  background: var(--blue-2);
  padding: 1rem;
  overflow-y: auto;
  border-right: 4px solid var(--accent);
}

/* nav buttons */
.sidebar .nav { list-style: none; padding: 0; margin: 0 0 1.2rem 0; }
.sidebar .nav li { margin-bottom: 0.5rem; }
.sidebar .nav a {
  display: block;
  padding: 0.45rem;
  text-decoration: none;
  background: var(--blue-1);
  border: 2px solid var(--accent);
  color: #002b36;
  text-align: center;
  transition: background .15s;
}
.sidebar .nav a:hover { background: var(--accent); }

/* updates & todo boxes */
.updates, .todo {
  background: #e6f2ff;
  border: 2px solid var(--blue-1);
  margin-bottom: 1rem;
  padding: 0.6rem;
}
.updates h2, .todo h2 { font-size: 1rem; margin:0 0 .5rem 0; color: #002b36; }
.updates ul, .todo ul { list-style: none; padding: 0; margin: 0; }
.updates li, .todo li { font-size: 0.9rem; margin-bottom: .3rem; }

/* ====== main content (accounts for sidebar width) ====== */
main {
  margin-left: calc(var(--sidebar-width) + 20px); /* leave some gap */
  padding: 2rem;
  /* header is not fixed in normal flow so main naturally sits below header;
     the sidebar is fixed and already pushed below the header with top:var(--header-height) */
}

/* example intro box */
.intro {
  background: #e6f2ff;
  border: 2px solid var(--blue-1);
  padding: 1rem;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.12);
}

/* ====== easy reader mode ====== */
body.easy-reader {
  font-family: "Times New Roman", serif;
  font-size: 1.1rem;
  background: #ffffff;
  color: #000;
}
body.easy-reader .banner { background: #f5f5f5; border-bottom: 2px solid #000; }
body.easy-reader .sidebar { background: #f0f0f0; border-right: 2px solid #000; }
body.easy-reader a { color: #0000cc; }
