* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.books-section {
  width: 100%;
  height: auto;
  padding: 120px 30px;
  background-color: var(--beig);
  color: var(--brown);
}
.books-section h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  text-align: center;
}
.books-section .books-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.books-section .book-card {
  background-color: #bca88dd5;
  border: 1px solid var(--brown);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 250px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}
.books-section .book-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.books-section .book-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-family: "Alegreya", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.books-section .book-card p {
  font-size: 1rem;
  margin-bottom: 15px;
  font-family: "Alegreya", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.books-section .book-card button {
  padding: 8px 16px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background-color: var(--brown-light);
  color: var(--beig);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.books-section .book-card button:hover {
  background-color: var(--beig-light);
  color: var(--brown);
  border: 1px solid var(--brown);
}
@media (max-width: 900px) {
  .books-section {
    padding: 80px 20px;
  }
  .books-section h1 {
    font-size: 2.5rem;
  }
  .books-section .books-grid {
    gap: 20px;
  }
  .books-section .book-card {
    width: 200px;
  }
  .books-section .book-card img {
    height: auto;
    width: 100%;
  }
}
.quotes-section {
  width: 100%;
  background-color: var(--cafe);
  padding: 50px;
  text-align: center;
  margin: auto;
}
.quotes-section h2 {
  font-size: 2.5rem;
  font-family: "Dancing Script", cursive;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  color: var(--brown);
}
.quotes-section .blockquote {
  background-image: url(images/old_paper.png);
  background-size: cover;
  background-position: center;
  width: 400px;
  height: 450px;
  margin: 0 auto;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.quotes-section .blockquote blockquote {
  font-size: 1rem;
  font-family: "Alegreya", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: var(--brown);
  line-height: 1.6;
  max-width: 250px;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}
.quotes-section .blockquote blockquote.fade-out {
  opacity: 0;
}
.quotes-section .blockquote blockquote span {
  display: block;
  margin-top: 20px;
  font-size: 1.2rem;
  font-family: "Dancing Script", cursive;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.quotes-section .blockquote button {
  margin-top: 20px;
  padding: 8px 16px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background-color: var(--brown-light);
  color: var(--beig);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease-in-out;
}
.quotes-section .blockquote button:hover {
  transform: scale(1.05);
}
@media (max-width: 900px) {
  .quotes-section {
    height: auto;
  }
  .quotes-section .blockquote {
    margin: 20px auto 0 auto;
    width: 250px;
    height: auto;
    padding: 30px;
    background-image: none;
    border: 2px double var(--brown);
    border-radius: 30px;
  }
  .quotes-section .blockquote blockquote {
    max-width: 200px;
  }
  .quotes-section .blockquote button {
    margin-top: 15px;
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  .quotes-section .blockquote blockquote {
    font-size: 0.6rem;
  }
  .quotes-section .blockquote blockquote span {
    font-size: 0.7rem;
  }
}
