/* Base dark theme */
body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 20px;
}

/* Container for max readability */
header, section, footer {
  max-width: 900px;
  margin: auto;
  padding: 20px 0;
  border-bottom: 1px solid #2c2c2c;
}

h1, h2, h3 {
  color: #ffffff;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 0.25em;
}

h2 {
  font-size: 1.6rem;
  border-bottom: 2px solid #2c2c2c;
  padding-bottom: 5px;
  margin-top: 40px;
}

h3 {
  font-size: 1.2rem;
  margin-top: 25px;
  color: #90caf9;
}

h3 small {
  display: block;
  font-size: 0.9rem;
  color: #aaaaaa;
  margin-top: 4px;
}

a {
  color: #90caf9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: disc;
  padding-left: 1.5em;
}

ul ul {
  list-style: circle;
  padding-left: 1.2em;
  margin-top: 5px;
}

p {
  margin-top: 0.5em;
}

nav {
  margin-top: 10px;
}

nav a {
  font-weight: bold;
  font-size: 0.95rem;
}

footer {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  padding-top: 30px;
  border-top: 1px solid #2c2c2c;
}

/* Responsive font sizing */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1rem;
  }
}
