body {
  margin: 0;
  padding: 0;
  font-family: 'Georgia', serif;
  background: url('chapter2.png') no-repeat center top fixed;
  background-size: cover;
  overflow-x: hidden;
  background-color: #fff9f8;
  color: #5c3e4d;
  line-height: 1.8;
  font-size: 17px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fdf8f3;
  padding: 15px 30px;
  border-bottom: 2px solid #e0d6cc;
  font-family: 'Georgia', serif;
  color: #5a4b3f;
}

.home-link {
  text-decoration: none;
  color: inherit;
}

.home-icon {
  font-size: 24px;
}

.about-button {
  text-decoration: none;
  background-color: #e6d9cb;
  padding: 8px 14px;
  border-radius: 5px;
  font-size: 14px;
  color: #5a4b3f;
}

.page-wrapper {
  background-color: rgba(255, 255, 255, 0.9);
  min-height: fit-content;
  background-size: cover;
  padding: 0;
}

.chapter {
  max-width: 720px;
  margin: auto;
  padding: 60px 20px;
}

.chapter h1 {
  color: #c97a93;
  font-size: 32px;
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 2px dashed #f2cedd;
  padding-bottom: 10px;
}

.paragraph {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
  margin-bottom: 24px;
}

.paragraph.visible {
  opacity: 1;
  transform: translateY(0);
}

footer {
  text-align: center;
  font-size: 14px;
  color: #b78d98;
  margin: 80px 0 40px;
}

.divider {
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    #f2cedd,
    #f2cedd 10px,
    transparent 10px,
    transparent 20px
  );
  margin: 40px 0;
}



.next-button {
  display: inline-block;
  background-color: #c97a93;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  margin: 60px auto 20px;
  display: block;
  width: fit-content;
}


.next-button:hover {
  background-color: #bc5c7b;
  transform: translateY(-2px);
}
