body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f6f1e8;
  color: #2b2b2b;
  line-height: 1.5;
}

.hero {
  background: #3f4f3f;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

.hero h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero p {
  font-size: 1.1rem;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  gap: 20px;
}

.hero-text {
  flex: 1;
  text-align: left;
}

.hero-portrait {
  max-width: 150px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
  /* border */
  border-radius: 50%;
  border: 1px solid #2f3b2f;
}

@media (max-width: 600px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-portrait {
    max-width: 100px;
    margin-top: 10px;
  }
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.card {
  background: white;
  margin-bottom: 20px;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

h2 {
  color: #3f4f3f;
  margin-top: 0;
}

h3 {
  margin-bottom: 5px;
}

.button {
  display: block;
  width: 320px;          /* controls all button widths */
  margin: 12px auto 0;   /* centers the button */
  text-align: center;

  background: #7a3e2f;
  color: white;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 6px;
}

.button:hover {
  background: #5f2f24;
}

.book-section {
  text-align: center;
}

.book-cover {
  width: 100%;
  max-width: 180px;   /* controls the size */
  height: auto;
  display: block;
  margin: 10px auto 15px;
}

.book-cover {
  max-width: 180px;
  width: 100%;
  height: auto;
  margin: 10px auto 15px;
  display: block;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #eee;
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}