* {
  box-sizing: border-box;
}

body {
  background-color: #000000;
  color: darkslategray;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

header,
main,
footer {
  width: min(92%, 900px);
  margin: 0 auto;
}

header {
  padding: 30px 0 15px;
  text-align: center;
}

.logo-banner {
  display: block;
  width: 100%;
  max-width: 850px;
  height: auto;
  margin: 0 auto 25px;
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

h1 {
  color: darkslategray;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1;
  margin: 0;
  text-shadow:
  2px 2px 0 #000000,
  -2px -2px 0 #000000,
  2px -2px 0 #000000,
  -2px 2px 0 #000000,
  0 0 10px #8fbc8f,
  0 0 22px #1f3a3a;
}

h2 {
  color: #8fbc8f;
  font-family: "Cinzel Decorative", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 16px;
  text-align: center;
  text-shadow:
    1px 1px 0 #000000,
    -1px -1px 0 #000000,
    0 0 7px #1f3a3a;
}

.tagline {
  color: #8fbc8f;
  font-style: italic;
  margin: 10px 0 0;
}

.author-photo {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border: 2px solid darkslategray;
  border-radius: 50%;
}

nav {
  border-top: 1px solid darkslategray;
  border-bottom: 1px solid darkslategray;
  margin-top: 25px;
  padding: 12px 0;
}

nav a {
  color: #8fbc8f;
  font-weight: bold;
  margin: 0 12px;
  text-decoration: none;
}

nav a:hover,
nav a:focus {
  color: #ffffff;
  text-decoration: underline;
}

main {
  padding: 25px 0;
}

section {
  border: 1px solid darkslategray;
  border-radius: 8px;
  margin: 0 0 25px;
  padding: 24px;
}

p {
  margin: 0 0 16px;
}

a {
  color: #8fbc8f;
}

a:hover,
a:focus {
  color: #ffffff;
}

.button {
  background-color: darkslategray;
  border: 1px solid #8fbc8f;
  border-radius: 5px;
  color: #ffffff;
  display: inline-block;
  font-weight: bold;
  padding: 10px 18px;
  text-decoration: none;
}

.button:hover,
.button:focus {
  background-color: #8fbc8f;
  color: #000000;
  text-decoration: none;
}

blockquote {
  border-left: 4px solid darkslategray;
  color: #8fbc8f;
  font-style: italic;
  margin: 25px 0 0;
  padding: 10px 20px;
}

footer {
  border-top: 1px solid darkslategray;
  padding: 25px 0 35px;
  text-align: center;
}

.footer-image {
  display: block;
  width: 100%;
  max-width: 450px;
  height: auto;
  margin: 0 auto 20px;
}

footer p {
  color: #8fbc8f;
  font-size: 0.95rem;
  margin: 5px 0;
}
.blog-intro {
  color: #a9c1c1;
  font-style: italic;
  margin-bottom: 0;
  text-align: center;
}

.blog-post {
  background-color: #071010;
  border: 1px solid darkslategray;
  border-left: 4px solid #8fbc8f;
  border-radius: 10px;
  box-shadow: 0 0 14px rgba(47, 79, 79, 0.35);
  margin: 0 0 28px;
  padding: 28px;
}

.blog-post h2 {
  margin-top: 0;
}

.post-date {
  color: #8fbc8f;
  font-family: "Cinzel Decorative", Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-align: center;
}
.poetry-intro {
  color: #a9c1c1;
  font-style: italic;
  margin-bottom: 0;
  text-align: center;
}

.poem {
  background-color: #071010;
  border: 1px solid darkslategray;
  border-top: 3px solid #8fbc8f;
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(47, 79, 79, 0.35);
  margin: 0 0 28px;
  padding: 30px;
}

.poem h2 {
  margin-top: 0;
}

.poem-text {
  color: #a9c1c1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 680px;
  text-align: left;
}

.poem-text p {
  margin-bottom: 22px;
}

.poem-credit {
  color: #8fbc8f;
  font-size: 0.85rem;
  font-style: italic;
  margin: 30px 0 0;
  text-align: right;
}
@media (max-width: 600px) {
  .title-row {
    flex-direction: column;
  }

  .author-photo {
    width: 95px;
    height: 95px;
  }

  nav a {
    display: inline-block;
    margin: 5px 8px;
  }

  section {
    padding: 18px;
  }
}
.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 25px;
}

.book-card {
  border: 1px solid darkslategray;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
}

.book-card img {
  display: block;
  width: 100%;
  max-width: 230px;
  height: 350px;
  object-fit: contain;
  margin: 0 auto;
}

.book-card p {
  margin: 15px 0 0;
}

.amazon-page-link {
  margin-top: 28px;
  text-align: center;
}
