body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: #f6f3ee;
    color: #3a2c1a;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    letter-spacing: 0.01em;
    transition: background 0.3s, color 0.3s;
}

header {
    background: #ede6dd;
    color: #5a4632;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e0d6c3;
    box-shadow: 0 2px 8px rgba(180, 160, 120, 0.04);
}

header h1 {
    margin: 0;
    font-size: 2.2rem;
    font-family: 'Merriweather', 'Georgia', serif;
    font-weight: 700;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 1rem;
}

nav a {
  display: inline-block;
  padding: 0.4em 1em;
  font-size: 1rem;
  border-radius: 5px;
  color: #7a5c2e;
  background: #f7efe3;
  margin: 0.2em 0;
  text-align: center;
  min-width: 90px;
}

nav a:hover {
    background: #f3e7d7;
    color: #3a2c1a;
}

@media (max-width: 600px) {
  nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }
  nav a {
    width: 100%;
    font-size: 1.08rem;
    min-width: unset;
  }
}

main {
    max-width: 720px;
    margin: 2.5rem auto 4rem auto;
    background: #fdfaf6;
    padding: 2.5rem 2rem;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(180, 160, 120, 0.07);
    font-size: 1.13rem;
}

article {
    margin-bottom: 2.5rem;
}

article h2 {
    margin-top: 0;
    font-family: 'Merriweather', 'Georgia', serif;
    font-size: 1.7rem;
    color: #6b4c1b;
    font-weight: 600;
    letter-spacing: 0.01em;
}

article p {
    margin-top: 1.2em;
    margin-bottom: 1.2em;
    color: #3a2c1a;
    background: #f7f3ed;
    padding: 1.2em 1em;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(180, 160, 120, 0.03);
    font-size: 1.08em;
    line-height: 1.8;
}

.fancy-quote {
    background: #f7efe3;
    border-left: 5px solid #d1b97c;
    margin: 1.5em 0;
    padding: 1em 1.5em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(180, 160, 120, 0.07);
    font-size: 1.08em;
    display: flex;
    align-items: flex-start;
    gap: 0.7em;
}
.fancy-label {
    font-weight: bold;
    color: #7a5c2e;
    min-width: 110px;
    display: inline-block;
}
.fancy-text {
    color: #3a2c1a;
    font-style: italic;
}
.fancy-summary {
    background: #f3e7d7;
    border: 1px dashed #d1b97c;
    border-radius: 8px;
    padding: 1.2em 1em;
    margin-top: 2em;
    font-size: 1.09em;
    color: #5a4632;
    box-shadow: 0 1px 4px rgba(180, 160, 120, 0.04);
    text-align: center;
}

footer {
    text-align: center;
    padding: 1.2rem;
    background: #f3e7d7;
    color: #7a5c2e;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    font-size: 1rem;
    border-top: 1px solid #e0d6c3;
}
