@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
  font-display: swap;
}

::selection {
  background-color: #f5df4e;
}

body {
  scroll-behavior: smooth;
}

.modal {
  max-width: 60%;
}

.modal h1 {
  text-align: center;
  text-transform: uppercase;
  margin: 10px 0;
}
.blocker {
  z-index: 200;
}

.modal .scan-img {
  width: 50%;
  margin: 0 auto;
}

.modal .scan-img img {
  width: 100%;
  object-fit: cover;
}

.modal p {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  /* color: #2ecc71; */
}

.send-btn {
  background-color: #f5df4e;
  width: fit-content;
  height: 60px;
  margin: 30px auto;
  padding: 20px 35px;
  transition: 0.5s;
  background-size: 200% auto;
  color: #000;
  box-shadow: 0 0 20px #eee;
  display: block;
  border-radius: 30px;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
}

.book-detail-section {
  padding: 1rem 6%;
  margin: 2rem 0;
}

.book-detail-header {
  display: flex;
}

.book-detail-header .book-info {
  width: 50%;
}

.author-name {
  font-weight: bold;
}

.book-detail-header .book-image {
  width: 50%;
  height: 400px;
}

.book-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rating {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.rating span {
  margin-right: 10px;
  font-weight: bold;
}

.book-description {
  text-align: justify;
  margin: 1rem 0 2rem;
}

.btn {
  text-decoration: none;
  color: #000;
  background-color: #f5df4e;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 20px;
}

hr {
  width: 80%;
  margin: 3rem auto;
}

.book-content-info ul,
.benefit-section ul {
  margin: 1rem 0;
  margin-left: 3rem;
}

.benefit-section {
  margin: 2rem 0;
}

@media screen and (max-width: 900px) {
  .book-detail-section .book-detail-header {
    flex-direction: column-reverse;
  }

  .book-title {
    margin-top: 1rem;
  }

  .book-detail-header .book-image {
    width: 100%;
  }

  .book-detail-header .book-info {
    width: 100%;
  }
}

@media screen and (max-width: 700px) {
  .modal {
    max-width: 100%;
  }

  .modal h1 {
    font-size: 20px;
  }
}
@media screen and (max-width: 440px) {
  .modal h1 {
    font-size: 12px;
  }

  .modal p {
    font-size: 10px;
  }

  .modal .scan-img {
    width: 100%;
  }

  .book-title {
    font-size: 25px;
  }

  .book-info p,
  .rating,
  .book-description,
  .btn,
  .book-content-info ul,
  .benefit-section ul {
    font-size: 12px;
  }
}
