/* --- WRITING WING STYLE: CREATIVE SANCTUARY --- */

body {
  background-color: #ECE8DC; /* Worn Linen */
  color: #2E4638; /* Forest Ink */
  font-family: 'Georgia', serif;
  margin: 0;
  padding: 2rem;
  line-height: 1.6;
}

header, footer {
  background-color: #2E4638; /* Forest Ink */
  color: #ECE8DC; /* Worn Linen */
  padding: 1.5rem;
  text-align: center;
}

nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
  background-color: #6F8F72; /* Pressed Leaf */
  margin: 0;
}

nav a {
  color: #ECE8DC; /* Worn Linen */
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem;
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: #B49786; /* Soft Clay */
  color: #2E4638; /* Forest Ink */
}

section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #FFFFFF;
  border: 2px solid #6F8F72; /* Pressed Leaf */
  border-radius: 10px;
}

blockquote {
  font-style: italic;
  background-color: #4C4A47; /* Graphite Gray */
  color: #ECE8DC; /* Worn Linen */
  padding: 1rem;
  border-left: 5px solid #B49786; /* Soft Clay */
  margin: 2rem 0;
}

.typewriter {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid currentColor;
  width: 0;
  font-family: 'Courier New', Courier, monospace;
  animation: typing 3s steps(30, end) forwards, blink 0.7s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent }
}
 main p, blockquote {
      text-align: justify;
    }

    figure {
      text-align: center;
      margin: 2rem auto;
    }

    .right-margin {
      margin-right: 50%;
    }
    
    body {
  padding: 2rem;
  line-height: 1.6;
  font-family: 'Georgia', serif;
}

section {
  width: 90%;
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #fff8ef;
  border-radius: 10px;
  border: 2px solid #B2B59B; /* Example */
}

body {
  font-size: 16px;
}

h1 {
  font-size: 2rem;
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.5rem;
  }
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav li {
    width: 100%;
    text-align: center;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
