/* -------- Start -------- */
main#book section#start {
  position: relative;

  background-image: url("../images/start-background.png");
  background-size: cover;
  z-index: 1;

  padding-block: 6rem;
}

main#book section#start .book-banner {
  display: flex;
  align-items: stretch;
  gap: 4rem;

  background-color: #d7d7d7;
  border-radius: 0 3.3rem 3.3rem 0;
}

main#book section#start .book-banner img.book-cover {
  display: block;
  width: 35rem;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}

main#book section#start .book-banner .content {
  flex: 1;
  padding-top: 3rem;
  padding-bottom: 1.6rem;
  padding-right: 5rem;
}

main#book section#start .book-banner .content #back-button {
  margin-left: auto;
  width: fit-content;

  display: flex;
  align-items: center;
  gap: 1rem;

  background-color: transparent;
  border: none;
  cursor: pointer;

  font-size: 1.5rem;
  font-weight: 700;
  color: #717171;
}

main#book section#start .book-banner .content > *:not(#back-button) {
  margin-right: 3rem;
}

main#book section#start .book-banner .content #back-button svg {
  fill: #717171;
  width: 0.7rem;
}

main#book section#start .book-banner .content .book-header {
  display: flex;
  align-items: center;
  gap: 3rem;
}

main#book section#start .book-banner .content .book-header h2 {
  font-size: 5.4rem;
  font-weight: 700;
  color: black;
  margin-bottom: 1rem;
}

main#book section#start .book-banner .content .book-header img {
  width: 10rem;
  min-width: 10rem;
}

main#book section#start .book-banner .content .sub-infos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

main#book section#start .book-banner .content .sub-infos p {
  font-size: 1.6rem;
  color: black;
}

main#book section#start .book-banner .content .sub-infos a span {
  color: #008785;
  font-weight: 600;
}

main#book section#start .book-banner .content .sub-infos a :hover {
  color: #2bb3a1
}

main#book section#start .book-banner .content .sub-infos p span {
  color: #008785;
}

main#book section#start .book-banner .content .tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.3rem;
  margin-bottom: 1.2rem;
}

main#book section#start .book-banner .content .tags .tag {
  padding: 0.5rem 0.8rem;
  border-radius: 5.4rem;
  font-size: 1.5rem;
  color: #101012;
  font-weight: 600;
}

main#book section#start .book-banner .content .tags .tag:nth-child(3n + 1) {
  background-color: #ef8058;
}

main#book section#start .book-banner .content .tags .tag:nth-child(3n + 2) {
  background-color: #a4c616;
}

main#book section#start .book-banner .content .tags .tag:nth-child(3n + 3) {
  background-color: #74b9d7;
}

main#book section#start .book-banner .content .offers {
  padding-block: 1rem;
  border-top: 1px solid #717171;
  border-bottom: 1px solid #717171;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 2rem;
}

main#book section#start .book-banner .content .offers > p {
  font-size: 1.5rem;
  font-weight: 700;
  color: #717171;
}

main#book section#start .book-banner .content .offers .all-offers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
}

main#book section#start .book-banner .content .offers .all-offers .offer {
  padding: 0.5rem 0.8rem;
  font-size: 1.5rem;
  color: #101012;
  background-color: #b4b4b4;
  border-radius: 5.4rem;
  font-weight: 600;
}

main#book section#start .book-banner .content .resume {
  font-size: 1.5rem;
  color: black;
  margin-bottom: 2rem;
}

main#book section#start .book-banner .content details {
  margin-bottom: 1.6rem;
}

main#book section#start .book-banner .content details summary {
  list-style: none;

  display: flex;
  align-items: center;
  gap: 1rem;

  font-size: 1.5rem;
  font-weight: 700;
  color: #717171;
  cursor: pointer;
  width: fit-content;
}
main#book section#start .book-banner .content details summary svg {
  fill: #717171;
  width: 7px;
}

main#book section#start .book-banner .content details > * {
  color: #717171;
  font-size: 1.5rem;
}

main#book section#start .book-banner .content details > *:not(summary) {
  padding-top: 1rem;
  padding-inline: 2rem;
}

main#book section#start .book-banner .content details > a {
  text-decoration: underline;
}

main#book section#start .book-banner .content .ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

main#book section#start .book-banner .content .ctas a {
  padding: 1rem 1.5rem;
  border-radius: 3rem;

  font-size: 2rem;
  font-weight: 700;
  color: #f0f0f0;
}

main#book section#start .book-banner .content .ctas a:nth-child(1) {
  background-color: #f59e00;
}

main#book section#start .book-banner .content .ctas a:nth-child(2) {
  background-color: #ababab;
}

main#book section#start .buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;

  margin-top: 1.5rem;
}

main#book section#start .buttons a {
  display: flex;
  align-items: center;
  gap: 1rem;

  font-size: 1.5rem;
  font-weight: 700;
  color: #f0f0f0;
  padding: 1.2rem 2rem;
  border-radius: 3rem;
}

main#book section#start .buttons a:nth-child(1) {
  background-color: #006361;
}

main#book section#start .buttons a:nth-child(2) {
  background-color: #2bb3a1;
}

main#book section#start .buttons a img {
  width: 1.6rem;
}

@media (max-width: 800px) {
  main#book section#start .book-banner {
    flex-direction: column;
    border-radius: 3.3rem;
    overflow: hidden;
  }

  main#book section#start .book-banner img.book-cover {
    width: 100%;
    max-width: 51rem;
    margin-inline: auto;
  }

  main#book section#start .book-banner .content {
    padding: 1.6rem 3rem;
  }
}
/* -------- Start -------- */

/* -------- related books -------- */
main#book section#related-books {
  margin-top: 2.4rem;
}

main#book section#related-books .wrapper {
  max-width: 1300px;
  margin-inline: auto;
  padding-inline: 2rem;
}

main#book section#related-books h2 {
  margin-left: 6rem;
  font-size: 4.8rem;
  font-weight: 700;
  color: black;

  margin-bottom: 4rem;
}

main#book section#related-books #books ul {
  padding: 3rem;
}

main#book section#related-books #books .book {
  padding: 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.54);
  background-color: #e8e8e8;
  height: 100%;

  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

main#book section#related-books #books .book img {
  height: auto;
  aspect-ratio: 11 / 20;
  object-fit: cover;
  object-position: center;
  border-radius: 3px;
  max-width: 16rem;
}

main#book section#related-books #books .book .content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #161616;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 8.1rem;
}

main#book section#related-books #books .book .content span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.3rem;
  font-weight: 400;
  color: #008785;
  margin-top: 0.5rem;
  margin-bottom: 3.5rem;
}

main#book section#related-books #books .book .content p {
  flex: 1;
  font-size: 1.3rem;
  font-weight: 400;
  color: black;
  margin-bottom: 2.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

main#book section#related-books #books .book .content a {
  font-size: 1.4rem;
  font-weight: 700;
  padding: 1rem 2rem;
  color: black;
  background-color: #f59e00;
  border-radius: 3rem;
}

@media (max-width: 600px) {
  main#book section#related-books h2 {
    font-size: 4rem;
    margin-left: initial;
  }
}
/* -------- related books -------- */
