body {
  background-color: #f5f5f5;
  font-family: Helvetica, Arial, sans-serif;
}

a {
  color: rgb(88, 167, 216);
}

.container {
  margin: 40px auto;
  max-width: 600px;
}

header {
  margin: 30px;
}

h1 {
  text-align: center;
  font-weight: 800;
  font-size: 36px;
  line-height: 1.5;
  color: #272044;
}

form {
  display: flex;
}

.form-container {
  padding: 15px 20px;
  background-color: white;
  box-shadow: 0px 20px 60px rgba(65, 50, 100, 0.08);
  border-radius: 10px;
  margin-bottom: 10px;
}

.hint {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 5px;
  opacity: 0.6;
}

.instructions {
  padding: 16px;
  border: 1px solid rgba(39, 33, 66, 0.5);
  width: 80%;
  font-size: 16px;
  border-radius: 50px;
  line-height: 20px;
  color: #272044;
}

.submit-button {
  margin-left: 10px;
  background: rgb(88, 167, 216);
  color: white;
  border: none;
  width: 150px;
  font-size: 16px;
  border-radius: 50px;
  padding: 14px 24px;
}

.book-format {
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: #f5f5f5;
  margin: 30px auto;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.book-page {
  width: 50%;
  padding: 60px 40px;
  background-color: white;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
  position: relative;
}

.left-page {
  border-right: 1px solid #ddd;
}

.right-page {
  border-left: 1px solid #ddd;
}

.book-spine {
  width: 6px;
  background: linear-gradient(to bottom, #999, #333);
  box-shadow: inset -1px 0 1px rgba(0, 0, 0, 0.2),
    inset 1px 0 1px rgba(255, 255, 255, 0.2);
}

.page-content {
  display: flex;
  flex-direction: column;
  justify-content: start;
  height: 100%;
  font-family: Helvetica, Arial;
  font-size: 18px;
  line-height: 2; /* consistent line spacing */
  color: #333;
  white-space: pre-line;
}

strong {
  display: block;
  text-align: right;
  margin-top: 20px;
}

.line {
  margin: 0 auto;
  width: 3px;
  height: 300px;
}

.poem {
  font-size: 16px;
  background-color: white;
  padding: 15px;
  line-height: 2;
  border-left: 3px solid;
  box-shadow: 0px 4px 30px 0px rgba(39, 33, 66, 0.03);
}

footer {
  text-align: center;
  font-size: 13px;
  margin-top: 30px;
}
