:root {
  --main-color: #41fa50;
  --outline-color: #41fa50;
}

body {
  font-family: Arial, Verdana, sans-serif;
  background-color: #e0f7d2; /* lighter pale green for entire page */
  color: #222;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Center container with fixed width, boxed in */
#container {
  width: 760px;
  margin: 20px auto;
  padding: 15px;
  background-color: white;
  border: 4px solid var(--outline-color);
  box-sizing: border-box;
}

/* Header styling - simple solid background and sharp edges */
header {
  background-color: var(--main-color);
  color: white;
  padding: 20px 0;
  border: 4px solid var(--outline-color);
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 1.8em;
  letter-spacing: 2px;
  text-shadow: none;
  border-radius: 0;
}

/* Smaller subtitle below header */
header h2 {
  font-weight: normal;
  font-size: 1.05em;
  margin-top: 5px;
  letter-spacing: normal;
}

/* Navigation bar as block */
nav {
  background-color: #d1f0aa;
  border: 4px solid var(--outline-color);
  padding: 8px 0;
  margin-bottom: 20px;
  font-size: 1em;
  letter-spacing: 0;
  text-align: center;
}

/* Nav links as blocks with spacing and border */
nav a {
  display: inline-block;
  color: black;
  text-decoration: none;
  padding: 6px 14px;
  border: 2px solid transparent;
  margin: 0 6px;
  font-weight: bold;
  background-color: #c3ee99;
  border-radius: 0;
  transition: background-color 0.3s, border-color 0.3s;
}

nav a:hover, nav a:focus {
  background-color: var(--outline-color);
  border-color: var(--outline-color);
  color: white;
  outline: none;
}

/* Main content inside container */
main {
  text-align: left;
}

/* Each section boxed in with solid border and white background */
section {
  border: 4px solid var(--outline-color);
  padding: 16px 24px;
  margin-bottom: 20px;
  background-color: white;
  font-size: 1em;
  border-radius: 0;
}

/* Lists contained inside sections */
section ul {
  margin-left: 1.5em;
  margin-bottom: 1em;
}

/* Links inside content */
section a {
  color: var(--outline-color);
  text-decoration: underline;
}

section a:hover {
  color: #2fa53a;
  text-decoration: none;
}

/* Footer fixed width and boxed */
footer {
  width: 760px;
  margin: 0 auto 20px;
  padding: 12px 0;
  border: 4px solid var(--outline-color);
  background-color: var(--main-color);
  color: white;
  font-size: 0.9em;
  text-align: center;
  border-radius: 0;
}

/* Responsive fallback - center container on small screens */
@media (max-width: 800px) {
  #container, footer {
    width: 95%;
  }
  nav {
    font-size: 0.9em;
  }
}
