:root {
  --blue: #0033cc;
  --green: #009300;
  --ink: #000080;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  color: var(--ink);

  /* background image */
  background: url("tn_back25.gif") repeat;
  position: relative;
}

/* translucent overlay to fade the background image */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.85); /* <-- increase for MORE transparency */
  pointer-events: none;
  z-index: -1;
}


.site-header {
  text-align: center;
  padding: 4rem 1rem 2rem;
}

.site-header h1 {
  font-family: "Handlee", cursive;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0;
  color: var(--blue);
  line-height: 1.2;
}

.site-header h1 span {
  display: block;
}

.tagline {
  margin-top: 1.2rem;
  font-family: "Handlee", cursive;
  color: var(--green);
  font-size: 1.1rem;
}

.content {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.main-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.main-nav a {
  text-decoration: none;
  text-align: center;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  color: var(--blue);
  font-weight: 600;
  background: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.main-nav a:hover {
  background: #f2f6ff;
  transform: translateY(-2px);
}

.site-footer {
  text-align: center;
  font-size: 0.9rem;
  padding: 1.5rem 1rem;
  color: #555;
}


/* ===== Top Navigation Bar ===== */
.top-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;              /* more space between buttons */
    padding: 16px 20px;
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Button look */
.top-nav a {
    display: inline-block;
    padding: 10px 18px;        /* bigger click area */
    border-radius: 999px;      /* pill shape */
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.12);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Hover effect */
.top-nav a:hover {
    background: #f2f6fb;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

/* Active page highlight */
.top-nav a.active {
    background: #051A2D;
    color: #ffffff;
    border-color: #051A2D;
}



