﻿body {
  font-family: 'Libre Franklin', sans-serif;
  background-color: #f8f8f8;
  margin: 0;
  color: #222;
  line-height: 1.6;
}

/* HEADER */
header {
  background: white;
  text-align: center;
  padding: 1rem 1rem 0.5rem;
  border-bottom: 1px solid #ddd;
  /*position: sticky;*/
  top: 0;
  z-index: 1000;
}

header img.signature {
  max-width: 420px;
  width: 100%;
  height: auto;
}

/* NAVIGATION */
nav {
  display: flex;
  justify-content: center; /*flex-start to aligns with body text */
  gap: 0.25rem;
  flex-wrap: wrap;
  margin: 0.5rem auto;
  background: #f7f9fc; /* softer tone */
  padding: 0.6rem 1rem;
  border-top: 1px solid #e0e6ef;
  border-bottom: 1px solid #e0e6ef;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

nav a {
  text-decoration: none;
  font-weight: 500;
  color: #003366;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  position: relative;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, background 0.2s ease;
}

/* subtle dividers */
nav a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 30%;
  height: 40%;
  width: 1px;
  background: rgba(0, 0, 0, 0.05);
}

nav a:hover {
  color: #004c99;
  background: rgba(0, 85, 170, 0.08);
}

/* MAIN CONTENT */
main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem 1.5rem; /* increased inner space */
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

main p {
  margin-bottom: 1.2rem;
}

/* LINKS in body text: more subtle */
main a {
 color: #0033cc;
  text-decoration: underline;
  text-decoration-thickness: 0.01em;
  text-underline-offset: 0.15em;
  transition: color 0.2s, text-decoration-color 0.2s;}

main a:hover {
  color: #0055aa;
  border-color: #bcd2f0; /* very soft underline on hover */
}

/* FOOTER */
footer {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin: 3rem 0 1rem;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  header img.signature {
    max-width: 80%;
  }
  main {
    margin: 1rem;
    padding: 1.25rem;
  }
}
