/* Basic Reset & Defaults */
body, h1, h2, p, ul, li, a, nav {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  line-height: 1.6;
  background-color: #f4f7f6;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header & Navigation */
header {
  background-color: rgb(0, 51, 25);
  color: #ecf0f1;
  padding: 1.5em 1em;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
  margin-bottom: 0.5em;
  font-size: 2.5em;
  color: rgb(0, 51, 25);
}

nav a {
  color: #ecf0f1;
  text-decoration: none;
  margin: 0 15px;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

nav a:hover, nav a:focus {
  color: #1abc9c; /* A nice accent color */
}

/* Main Content */
main {
  flex-grow: 1; /* Ensures main content takes available space, pushing footer down */
  max-width: 900px;
  margin: 2em auto;
  padding: 1em 2em;
  background-color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

section {
  margin-bottom: 2.5em;
  padding-bottom: 1.5em;
  border-bottom: 1px solid #e0e0e0;
}

section:last-of-type {
  border-bottom: none;
}

h2 {
  color: #34495e;
  margin-bottom: 0.75em;
  font-size: 1.8em;
}

p, ul {
  margin-bottom: 1em;
}

ul {
  list-style-position: inside;
  padding-left: 20px;
}

li {
  margin-bottom: 0.5em;
}

a {
  color: #3498db;
  text-decoration: none;
}

a:hover, a:focus {
  text-decoration: underline;
}

code {
  background-color: #e8e8e8;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: "Courier New", Courier, monospace;
}

.responsive-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em auto;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  background-color: #1c2833;
  color: #bdc3c7;
  text-align: center;
  padding: 1.5em 1em;
  font-size: 0.9em;
}

footer p {
  margin-bottom: 0.5em;
}

/* Basic Responsiveness */
@media (max-width: 768px) {
  header h1 {
      font-size: 2em;
  }
  nav a {
      display: block;
      margin: 10px 0;
  }
  main {
      margin: 1em;
      padding: 1em;
  }
}