/* Base styles */
.title {
  color: blue;
  font-family: serif;
  font-size: 75px;
  text-align: center;
  margin: auto;

}

.blue {
  color: blue;
  font-style: italic;
}

body {
  font-family: sans-serif;
  background-color: #fdfdfd;
  color: #222;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

a {
  color: #0055aa;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

header {
  /* background: #333; */
  color: white;
  padding: 1em 0.5em;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1em;
  padding: 0;
}

.nav-links li {
  display: inline;
  font-size: 1.1em;
}

/* .nav-links a {
  color: white;
  font-weight: bold;
} */

.search-box {
  display: flex;
  gap: 0.3em;
}

.search-box input {
  padding: 0.4em;
  border: none;
  border-radius: 2px;
}

.search-box button {
  padding: 0.4em 0.6em;
  background: #555;
  color: white;
  border: none;
  border-radius: 2px;
  cursor: pointer;
}

/* Layout */
.container {
  display: flex;
  max-width: 1000px;
  margin: 2em auto;
  padding: 0 1em;
  gap: 2em;
}

.sidebar {
  width: 250px;
  flex-shrink: 0;
}

.sidebar h2 {
  font-size: 1.1em;
  margin-bottom: 0.5em;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
  padding-bottom: 3px;
}

.sidebar ul ul {
  padding-left: 20px;
}


.sidebar li {
  margin-bottom: 0.4em;
}

.content {
  flex: 1;
}

.content article {
  background: #fff;
  padding: 1.5em;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.content h1 {
  margin-top: 0;
}

.meta {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 1em;
}

/* Footer */
footer {
  text-align: center;
  padding: 1em 0;
  background: #f0f0f0;
  color: #777;
  font-size: 0.9em;
  margin-top: 3em;
}
