@import url("https://fonts.googleapis.com/css2?family=Gravitas+One&family=League+Spartan:wght@100..900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --darkblue1: hsl(229 57 11);
  --darkblue2: hsl(228 56 26);
  --darkblue3: hsl(228 42 38);
  --light-blue: hsla(228 42 38 0.61);
  --blue04: rgb(29 44 103 / 0.4);
  --gray1: hsl(229 7 66);
  --gray2: hsl(231, 5%, 70%);
  --gray3: hsl(210, 3%, 86%);
  --gray08: hsla(229 3 86 / 0.8);
  --white: hsl(229 1 95);
  --purple1: hwb(252 34% 0%);
  --purple2: hsl(252, 95%, 76%);
  --purple3: hsl(252 88 90);
  --light-purple: hsl(252 81 92);
  --purple-shadow: 0.125rem 0.125rem 1.875rem hsla(252, 95, 76, 0.71);
  --big-shadow: 0 1.8125rem 3.2rem -0.75rem #060a20;
  --normal-shadow: 0 0.25rem 0.375rem -0.0625rem rgb(0 0 0 / 0.3);
  --navy-shadow: 0.25rem 0.25rem 6.25rem -0.75rem #060a20;
  --primary-font: "League Spartan", sans-serif;
  --secondary-font: "Gravitas One", sans-serif;
  --transition04: all 0.4s ease-out;
  --fontWeight300: 300;
  --fontWeight400: 400;
  --fontWeight500: 500;
}

body {
  background-color: var(--darkblue1);
  font-family: var(--primary-font);
  font-size: 1rem;
  font-weight: var(--fontWeight300);
  color: var(--gray3);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  height: 100%;
  min-height: 100vh;
}

main {
  width: 90%;
  margin: 0 auto;
  max-width: 80rem;
  min-height: 100vh;
}

.logo {
  width: 2.5rem;
  cursor: pointer;
}

.header-ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.header-li {
  color: var(--purple2);
  border: 0.0625rem solid var(--purple2);
  padding: 0.25rem 0.5rem;
  border-radius: 0.125rem;
  font-size: 0.875rem;
  background: var(--darkblue1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-li:hover {
  color: var(--purple3);
  border: 0.0625rem solid var(--purple3);
  transition: var(--transition04);
}

.chart {
  border-radius: 3.75rem;
  border: 0.0938rem solid var(--purple1);
  padding: 0.5rem;
  cursor: pointer;
}

.chart:hover {
  background: var(--light-purple);
  transition: var(--transition04);
}
nav {
  width: 90%;
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  max-width: 80rem;
}

.nav-search{
  border: 0.0938rem solid var(--purple1);
  border-radius: 3.75rem;
  padding: 0.5rem;
  cursor:pointer;
}

.nav-search:hover {
  background: var(--light-purple);
  transition: var(--transition04);
}

.search-summary{
  display: flex;
  gap: 1rem;
  align-items: center;
}

a {
  text-decoration: none;
}

header {
  background: var(--darkblue1);
  position: sticky;
  top: 0;
  box-shadow: var(--normal-shadow);
  z-index: 24;
}

h1 {
  font-family: var(--secondary-font);
  font-size: 3rem;
  letter-spacing: -2%;
  line-height: 1.3;
  color: var(--darkblue1);
  font-weight: var(--fontWeight400);
}

.hero-span {
  font-size: 1.25rem;
}

.purple-span {
  color: var(--purple1);
  padding: 0rem 0.75rem;
}

.section__hero-p {
  font-size: 1.25rem;
  color: var(--darkblue3);
}

.h1-p {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section__hero {
  background-color: hsl(229 3 86 /0.9);
  border-radius: 2.5rem;
  padding: 2.5rem 2.5rem;
  background-image: url("./assets/hero-svg.svg"), url('./assets/abstract.svg');
  background-repeat: no-repeat;
  background-position: right, top 5rem center;
  background-blend-mode: multiply;
  margin: 2.5rem 0;
}

.section__mobile-hero {
  background-color: hsl(229 3 86 /0.9);
  background-image: url("./assets/hero-svg.svg"), url("./assets/abstract.svg");
  background-size: 40%, 40%;
  background-position: top left, center right -20%;
  background-repeat: no-repeat;
  background-blend-mode: darken, multiply;
  border-radius: 2.5rem;
  padding: 1.5rem 1rem;
  margin: 1.5rem 0;
  display: none;
}

.section__mobile-text {
  background-color: hsl(229 3 86 /0.6);
  padding: 0.125rem 0.5rem;
  border-radius: 1.875rem;
}

.section__mobile-hero-h1 {
  font-family: var(--secondary-font);
  font-size: 1.5rem;
  letter-spacing: -2%;
  line-height: 1.3;
  color: var(--darkblue1);
  font-weight: var(--fontWeight400);
  margin: 1.5rem auto;
  width: 100%;
  text-align: center;
}

.section__mobile-hero-p {
  font-size: 1rem;
  color: var(--darkblue3);
  text-align: center;
  line-height: 1.3;
  width: 90%;
}

/* .hero-img-mobile {
  display: block;
  mix-blend-mode: darken;
} */

input.search {
  border: none;
  background-color: var(--blue04);
  padding: 2rem 1.5rem 2rem 2.5rem;
  color: var(--white);
  font-family: var(--primary-font);
  font-weight: var(--fontWeight400);
  width: 100%;
  border-radius: 6.25rem;
  box-shadow: var(--big-shadow);
  cursor: pointer;
  font-size: 1.25rem;
}

input:focus {
  outline: 0.0625rem solid var(--darkblue3);
}

input::placeholder {
  color: var(--gray1);
  font-size: 1.25rem;
}

.search-box {
  position: relative;
}

.search-icon {
  position: absolute;
  top: 2.5rem;
  right: -1.25rem;
  transform: translate(-50%, -50%);
  border-radius: 6.25rem;
  background: var(--darkblue2);
  padding: 1rem;
  box-shadow: var(--normal-shadow);
  cursor: pointer;
}

.search-icon:hover {
  background: var(--purple1);
  transition: var(--transition04);
}

.all-btn {
  color: var(--purple2);
  border: 0.0875rem solid var(--purple2);
  padding: 0.25rem 1rem;
  gap: 0.5rem;
  border-radius: 3.75rem;
  font-size: 0.875rem;
  background: var(--darkblue1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0 0 auto;
  letter-spacing: 0.0875rem;
  cursor: pointer;
}

.all-btn:hover {
  color: var(--light-purple);
  border: 0.0875rem solid var(--light-purple);
}

.back-btn{
  cursor: pointer;
  margin-top: 1rem;
}

/* === section authors === */

.section__authors {
  display: block;
}

h2 {
  font-family: var(--secondary-font);
  color: var(--purple2);
  font-size: 2.5rem;
  letter-spacing: 2%;
  font-weight: var(--fontWeight400);
}

.section__authors-p,
.section__explore-p {
  font-size: 1.25rem;
}

.h2-p {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 5rem 0 2rem 0;
}

.author-link {
  color: var(--gray3);
}

.author-tag {
  font-weight: var(--fontWeight400);
  border-radius: 6.25rem;
  padding: 0.625rem 1rem;
  border: 0.0625rem solid var(--gray3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.author-tag:hover {
  border: 0.0625rem solid var(--purple2);
  color: var(--purple2);
  transition: var(--transition04);
}

.tag-wrapper {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 6.25rem;
}

/* === section explore === */

.section__explore-cover {
  width: 90%;
  height: 24.3125rem;
  border-radius: 0.625rem;
  background-image: url("../assets/toKillAMockingBird.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: var(--navy-shadow);
  cursor: pointer;
}

.section__explore-cover:hover,
.section__summary-cardMain:hover,
.section__summary-cardBlue:hover {
  transform: translateY(-1rem);
  transition: var(--transition04);
}

.section__explore-img2 {
  background-image: url("../assets/chekhov.webp");
}

.section__explore-img3 {
  background-image: url("../assets/capote.webp");
}

.section__explore-img4 {
  background-image: url("../assets/maigret.webp");
}

.section__explore-img5 {
  background-image: url("../assets/jeeves.webp");
}

.section__explore-img6 {
  background-image: url("../assets/marcus.webp");
}
.section__explore-img7 {
  background-image: url("../assets/pickwick.webp");
}

.section__explore-img8 {
  background-image: url("../assets/SH.webp");
}

.section__explore-img9 {
  background-image: url("../assets/cranford.webp");
}

.section__explore-img10 {
  background-image: url("../assets/three-men.webp");
}
.section__explore-img11 {
  background-image: url("../assets/father-brown.webp");
}

.section__explore-img12 {
  background-image: url("../assets/huck.webp");
}

.section__explore-title {
  font-size: 1.5rem;
  color: var(--white);
  font-weight: var(--fontWeight400);
  height: 3.75rem;
  margin: 1rem 0;
  overflow-y: scroll;
  line-height: 1.4;
}

.section__explore-author {
  font-size: 1.25rem;
  font-weight: var(--fontWeight500);
  color: var(--purple2);
  height: 1.5rem;
  overflow-y: auto;
}

.section__explore-author2 {
  font-size: 1.25rem;
  font-weight: var(--fontWeight500);
  color: var(--purple2);
  height: 2.375rem;
  overflow-y: auto;
}

.section__explore-description {
  width: 100%;
  height: 7.5rem;
  margin: 1rem 0;
  color: var(--gray08);
  line-height: 1.3;
  overflow-y: scroll;
}

.to-read-icon,
.save-icon {
  border: 0.0938rem solid var(--purple3);
  border-radius: 6.25rem;
  padding: 0.125rem;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}

.to-read-icon:hover,
.save-icon:hover {
  border: 0.0938rem solid var(--purple1);
  background-color: var(--purple1);
  transition: var(--transition04);
}

.section__explore-icons {
  display: flex;
  gap: 1rem;
  width: 100%;
  justify-content: flex-end;
}

.section__explore-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  align-items: start;
  justify-content: space-between;
  gap: 2.5rem 1.5rem;
  margin-bottom: 4.5rem;
}

.cta-btn {
  font-size: 1.25rem;
  font-family: var(--primary-font);
  font-weight: var(--fontWeight500);
  color: var(--white);
  background-image: linear-gradient(to right, var(--purple1), #6b47fa);
  border-radius: 6.25rem;
  padding: 1rem 1.5rem 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--navy-shadow);
  cursor: pointer;
  width: 18.75rem;
  margin: 0 auto;
  border: none;
}

.cta-btn:hover {
  background-image: linear-gradient(to right, #5024ff, #7756fb);
}

/* === footer === */

footer {
  background: hsla(228 56 26 /0.42);
  border-top: 0.0625rem solid hsla(228 42 38 / 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 6.25rem;
}
.footer-link {
  text-decoration: none;
  color: var(--gray3);
}
.footer-logo {
  display: block;
  width: 2.5rem;
  margin: 2.5rem auto 1.5rem auto;
  cursor: pointer;
}

.footer-ul {
  display: flex;
  gap: 2rem;
  cursor: pointer;
}

.footer-ul li {
  list-style: none;
  font-size: 0.875rem;
}

.footer-ul li:hover {
  color: var(--purple1);
}

/* .fixed-footer{
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100vw;


} */

small {
  font-size: 0.75rem;
  color: var(--gray1);
  margin: 2.5rem auto;
  opacity: 0.8;
}

a {
  color: var(--purple2);
  cursor: pointer;
}

/* ==== search results page ==== */

.search-box2 {
  position: relative;
  margin-top: 2.5rem;
}

.results-item {
  font-size: 2rem;
  font-weight: var(--fontWeight500);
}

.results-title {
  display: none;
  align-items: center;
  gap: 1rem;
  margin: 3.5rem 0 2rem 0;
}

.results-title2 {
  display: none;
  align-items: center;
  gap: 1rem;
  margin: 3.5rem 0 2rem 0;
}

.section__results-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  align-items: start;
  justify-content: space-between;
  gap: 2.5rem 1.5rem;
  margin-bottom: 4.5rem;
}

.section__results-container2 {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  align-items: start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 4.5rem;
}
.more-chevron {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  cursor: pointer;
}

.more-chevron:hover {
  border-bottom: 0.0625rem solid var(--white);
}

.section__results-icons {
  display: flex;
  gap: 1rem;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.section__results-icons2 {
  display: flex;
  gap: 1rem;
  width: 100%;
  align-items: center;
  justify-content: start;
}

.section__results-img1,
.section__results-img2,
.section__results-img3,
.section__results-img4,
.section__results-img5,
.section__results-img6,
.section__results-img7,
.section__results-img8,
.section__results-img9,
.section__results-img10,
.section__results-img11,
.section__results-img12 {
  width: 100%;
  height: 24.3125rem;
  border-radius: 0.625rem;
  background-image: url("./assets/roomOfOnesOwn.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: var(--navy-shadow);
  cursor: pointer;
}

.section__results-img1:hover,
.section__results-img2:hover,
.section__results-img3:hover,
.section__results-img4:hover,
.section__results-img5:hover,
.section__results-img6:hover,
.section__results-img7:hover,
.section__results-img8:hover,
.section__results-img9:hover,
.section__results-img10:hover,
.section__results-img11:hover,
.section__results-img12:hover {
  transform: translateY(-1rem);
  transition: var(--transition04);
}

.section__results-img2 {
  background-image: url("../assets/dalloway.webp");
}

.section__results-img3 {
  background-image: url("../assets/theYears.webp");
}

.section__results-img4 {
  background-image: url("../assets/toTheLighthouse.webp");
}

.section__results-img5 {
  background-image: url("../assets/betweenActs.webp");
}

.section__results-img6 {
  background-image: url("../assets/voyagesOut.webp");
}

.section__results-img7 {
  background-image: url("../assets/jacobsRoom.webp");
}

.section__results-img8 {
  background-image: url("../assets/orlando.webp");
}

.section__results-img9 {
  background-image: url("../assets/waves.webp");
}

.section__results-img10 {
  background-image: url("../assets/thoughts.webp");
}

.section__results-img11 {
  background-image: url("../assets/theLady.webp");
}

.section__results-img12 {
  background-image: url("../assets/night.webp");
}

.more-link {
  color: var(--white);
}



.card-logo-p{
  font-size: 1.125rem;
  letter-spacing: 0.025rem;
  margin-top: 8.75rem;
  text-align: center;
  line-height: 1.4;
  opacity: .7;
}


@keyframes bird{
  0% {
    background-position: right -6.25rem;
  }50%{
background-position: top 1.5rem center;
  }
}

.card-logo{
    background-image: url('./assets/01.svg');
    background-repeat: no-repeat;
    background-position: top 1.5rem center;
    background-size: 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: hsla(228 56 26 / 0.4);
margin: 5rem auto auto auto;
  padding: 1.5rem;
  border-radius: 1.25rem;
  width: 15rem;
  max-width: 50vw;
  height: 15rem;
  animation-name: bird;
  animation-duration: 4s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
}

/* === details page === */

/* --- loading --- */
.msg {
  letter-spacing: 0.1rem;
}
.dots {
  width: 0.25rem;
  height: 0.25rem;
  background-color: var(--purple1);
  border-radius: 100%;
  animation-name: blink;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
.dots2 {
  width: 0.25rem;
  height: 0.25rem;
  background-color: var(--purple2);
  border-radius: 100%;
  animation-name: blink;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
.dots3 {
  width: 0.25rem;
  height: 0.25rem;
  background-color: var(--purple3);
  border-radius: 100%;
  animation-name: blink;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes blink {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}

.msg-dots {
  display: none;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.section__details-bookImg {
  width: 16.375rem;
  height: 24.3125rem;
  border-radius: 0.625rem;
  background-image: url("../assets/roomOfOnesOwn.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: var(--navy-shadow);
}

.section__details-h1 {
  font-family: var(--secondary-font);
  color: var(--purple2);
  font-size: 1.75rem;
}

.section__details-synopsis,
.author-card-description {
  font-size: 1rem;
  line-height: 148%;
  margin: 2.5rem 0;
}

.outline-btn {
  background: hsla(228 56 26 /0.58);
  border-radius: 3.75rem;
  font-family: var(--primary-font);
  font-size: 1rem;
  font-weight: var(--fontWeight500);
  color: var(--purple3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.875rem 0.625rem 1.5rem;
  border: 0.0625rem solid var(--purple3);
  gap: 0.5rem;
  cursor: pointer;
}

.outline-btn:hover {
  border: 0.0625rem solid var(--purple1);
  background: var(--purple1);
  transition: var(--transition04);
}

.two-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-icon {
  border: 0.0938rem solid var(--purple1);
  padding: 0.5rem;
  border-radius: 0.625rem;
  cursor: pointer;
}

.social-icon:hover {
  background-color: var(--purple3);
  transition: var(--transition04);
}

.social-wrapper {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.interactive-btns {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.section__details-text {
  display: flex;
  flex-direction: column;
  width: 70%;
}

.section__details-card {
  display: flex;
  gap: 1.5rem;
  padding: 2.5rem 1.5rem;
  border-radius: 1.25rem;
  background: hsla(228 56 26 /0.58);
  box-shadow: var(--navy-shadow);
}

.author-card-img {
  width: 12.5rem;
  height: 12.5rem;
  border-radius: 0.625rem;
  background-image: url("../assets/woolf.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.author-card-name {
  color: var(--purple1);
  font-size: 1.5rem;
  font-weight: var(--fontWeight500);
}

.author-desc {
  display: flex;
  flex-direction: column;
  width: 70%;
}

.author-card {
  display: flex;
  gap: 1.5rem;
  padding: 2.5rem 1.5rem;
  border-radius: 1.25rem;
  background: hsla(228 56 26 /0.58);
  box-shadow: var(--navy-shadow);
  align-items: flex-start;
}

.section__details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 2.5rem;
  background-color: hsla(228 42 38 /0.18);
  border-radius: 2.5rem;
  margin-top: 2.5rem;
}

.section__details1 {
  display: none;
  flex-direction: column;
  gap: 2.5rem;
  padding: 5rem 2.5rem;
  background-color: hsla(228 42 38 /0.18);
  border-radius: 2.5rem;
  margin-top: 2.5rem;
}

.cta-btn2 {
  font-size: 1.25rem;
  font-family: var(--primary-font);
  font-weight: var(--fontWeight500);
  color: var(--light-purple);
  background-image: linear-gradient(to right, var(--purple1), #6b47fa);
  border-radius: 6.25rem;
  padding: 1rem 1.5rem 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--navy-shadow);
  cursor: pointer;
  margin: 0 auto;
  border: none;
}

.cta-btn2:hover {
  background-image: linear-gradient(to right, #5024ff, #7756fb);
}

/* === bookshelves page === */

.section-header {
  background-color: var(--gray3);
  border-radius: 2.5rem;
  margin: 2.5rem 0;
  background-image: url(./assets/abstract.svg), url(./assets/man-reading2.png);
  background-repeat: no-repeat, no-repeat;
  background-position: top 1.25rem right -1.25rem, top left;
  background-size: contain, contain;
  background-blend-mode: multiply, darken;
}

.section-header-h1 {
  font-size: 2.25rem;
  color: var(--darkblue1);
}

.section-header-p {
  font-size: 1.25rem;
  color: var(--gray1);
}

.outline-btn-blue {
  font-family: var(--primary-font);
  color: var(--darkblue2);
  border-radius: 3.75rem;
  border: 0.1125rem solid var(--darkblue2);
  display: flex;
  align-items: center;
  padding: 0.625rem 2.875rem 0.625rem 1.25rem;
  background-color: transparent;
  cursor: pointer;
  background-image: url("./assets/icons/arrow-right.svg");
  background-repeat: no-repeat;
  background-position: center right 0.5rem;
}

.outline-btn-blue:hover {
  color: var(--purple2);
  border: 0.1125rem solid var(--purple2);
  background-image: url("./assets/icons/arrow-purple.svg");
}

.p-btn {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.section-header-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
}

.section__list-ul {
  display: flex;
  gap: 5rem;
}

.section__list-ul li {
  list-style: none;
  color: var(--purple3);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

#toRead-tab,
#saved-tab,
#reading-tab,
#finished-tab,
#toRead-tab2,
#saved-tab2,
#reading-tab2,
#finished-tab2 {
  position: relative;
  width: 5.625rem;
  cursor: pointer;
}

#saved-tab,
#reading-tab,
#finished-tab,
#toRead-tab2 {
  opacity: 0.4;
}

#saved-tab:hover,
#reading-tab:hover,
#finished-tab:hover,
#toRead-tab2:hover {
  opacity: 1;
}

#toRead-tab::after,
#saved-tab2::after,
#reading-tab2::after,
#finished-tab2::after {
  content: "";
  width: 5.625rem;
  height: 0.25rem;
  background-color: var(--purple1);
  border-radius: 1.25rem;
  position: absolute;
  bottom: -0.5rem;
}

.section__list-line {
  width: 100%;
  height: 0.0625rem;
  background-color: #d9d0fc;
  opacity: 0.22;
  margin-top: 0.5rem;
}

.section__list-container {
  margin: 3.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section__list-bookCover,
.section__list-bookCover2,
.section__list-bookCover3,
.section__list-bookCover4,
.section__list-bookCover5,
.section__list-bookCover6,
.section__list-bookCover7,
.section__list-bookCover8,
.section__list-bookCover9,
.section__list-bookCover10,
.section__list-bookCover11,
.section__list-bookCover12,
.section__list-bookCover13,
.section__list-bookCover14,
.section__list-bookCover15,
.section__list-bookCover16,
.section__list-bookCover17,
.section__list-bookCover18,
.section__list-bookCover19 {
  width: 6.25rem;
  height: 8.75rem;
  background-image: url("./assets/cover.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0.5rem;
  box-shadow: var(--normal-shadow);
  cursor: pointer;
}

.section__list-bookCover2 {
  background-image: url("./assets/dalloway.webp");
}
.section__list-bookCover3 {
  background-image: url("./assets/cover.svg");
}

.section__list-bookCover4 {
  background-image: url("./assets/catcher.webp");
}

.section__list-bookCover5 {
  background-image: url("./assets/capote.webp");
}

.section__list-bookCover6 {
  background-image: url("./assets/betweenActs.webp");
}

.section__list-bookCover7 {
  background-image: url("./assets/father-brown.webp");
}

.section__list-bookCover8 {
  background-image: url("./assets/chekhov.webp");
}

.section__list-bookCover9 {
  background-image: url("./assets/huck.webp");
}

.section__list-bookCover10 {
  background-image: url("./assets/jeeves.webp");
}

.section__list-bookCover11 {
  background-image: url("./assets/three-men.webp");
}

.section__list-bookCover12 {
  background-image: url("./assets/gatsby.jpg");
}

.section__list-bookCover13 {
  background-image: url("./assets/SH.webp");
}

.section__list-bookCover14 {
  background-image: url("./assets/jacobsRoom.webp");
}

.section__list-bookCover15 {
  background-image: url("./assets/cover.svg");
}

.section__list-bookCover16 {
  background-image: url("./assets/hemingway.jpg");
}

.section__list-bookCover17 {
  background-image: url("./assets/marcus.webp");
}

.section__list-bookCover18 {
  background-image: url("./assets/maigret.webp");
}

.section__list-bookCover19 {
  background-image: url("./assets/toTheLighthouse.webp");
}

.section__list-title {
  font-size: 1rem;
  font-weight: var(--fontWeight400);
  overflow-x: scroll;
}

.section__list-author {
  color: var(--gray08);
}
.section__list-icon {
  cursor: pointer;
  background-color: var(--darkblue1);
}

.section__list-icon:hover {
  background-color: var(--purple3);
  border-radius: 6.25rem;
  transition: var(--transition04);
}

.section__list-socials {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.delete-icon {
  background-color: var(--purple2);
  width: 2rem;
  height: 2rem;
  border-radius: 5rem;
  background-image: url("./assets/icons/trash-02.svg");
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.delete-icon:hover {
  background-color: var(--purple1);
}

.cover-title {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.section__list-wrapper {
  display: grid;
  grid-template-columns: 6.25rem 35% 15% auto auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.0187rem solid hsla(252, 88%, 90%, 0.2);
  padding-bottom: 1.5rem;
}

.section__list-wrapper2 {
  display: grid;
  grid-template-columns: 6.25rem 35% 15% auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.0187rem solid hsla(252, 88%, 90%, 0.2);
  padding-bottom: 1.5rem;
}

/* .section__list-line2 {
  width: 100%;
  height: 0.0625rem;
  background-color: #d9d0fc;
  opacity: 0.22;
  margin-top: 1.5rem;
} */

/* === summary page === */

#summary-header {
  background-color: var(--gray3);
  border-radius: 2.5rem;
  margin: 2.5rem 0;
  background-image: url(./assets/abstract.svg), url(./assets/book-coffee.png);
  background-repeat: no-repeat, no-repeat;
  background-position: top 1.25rem right -1.25rem, top left;
  background-size: contain, contain;
  background-blend-mode: multiply, darken;
}

.section__summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin: 3.5rem 0;
}

.section__summary-h2 {
  font-size: 2.25rem;
}

.section__summary-h2Purple {
  font-size: 2.25rem;
  color: var(--purple3);
}

.section__summary-h3 {
  font-family: var(--secondary-font);
  font-size: 5rem;
  color: var(--darkblue2);
}

.section__summary-h3Purple {
  font-family: var(--secondary-font);
  font-size: 5rem;
  color: var(--purple2);
}

.section__summary-cardMain {
  background-color: var(--purple3);
  border-radius: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background-image: url("./assets/face1.svg");
  background-repeat: no-repeat;
  background-size: 25%;
  background-position: top right;
  cursor: pointer;
}

.section__summary-cardBlue {
  background-color: hsla(228 42 48 /0.24);
  border-radius: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background-image: url("./assets/face2.svg");
  background-repeat: no-repeat;
  background-size: 25%;
  background-position: top right;
  cursor: pointer;
}

#card3 {
  background-image: url("./assets/face3.svg");
}

#card4 {
  background-image: url("./assets/face4.svg");
}

.section__summary-p {
  color: var(--purple2);
  font-family: var(--secondary-font);
  font-size: 1rem;
}

.section__summary-p-purple {
  color: var(--light-purple);
  font-family: var(--secondary-font);
  font-size: 1rem;
}

.h3-p {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* === not found page === */

.section__not-found {
  background-color: var(--gray3);
  border-radius: 2.5rem;
  width: 40%;
  max-width: 25rem;
  padding: 2.5rem;
  margin: 3.5rem auto;
  z-index: 0;
}

.wrapper {
  position: relative;
}

.section__not-found-h1 {
  font-size: 1.5rem;
  text-align: center;
}

.notFound-img {
  width: 50%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
}

.section__not-found-p {
  color: var(--darkblue2);
  font-size: 1.125rem;
  text-align: center;
}

#not-found-btn {
  position: absolute;
  z-index: 10;
  transform: translate(-50%, -50%);
  bottom: -3.75rem;
  left: 50%;
}

/* === hamburger menu === */

.hamburger-panel {
  background-color: #11193d;
  border-radius: 1.25rem;
  position: fixed;
  padding: 2.75rem 0;
  width: 50%;
  max-width: 31.25rem;
  min-width: 20rem;
  right: 0;
  box-shadow: var(--big-shadow);
  z-index: 17;
}

.close-btn {
  display: block;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  cursor: pointer;
}

.hide {
  display: none;
}
.flex {
  display: flex;
}

.hamburger-link {
  color: var(--gray3);
}

.hamburger-panel-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.hamburger-panel-li {
  letter-spacing: 0.075rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0 1.5rem;
}

.hamburger-panel-li:hover {
  background: var(--darkblue2);
}

.hamburger-icon {
  display: none;
  cursor: pointer;
}

.to-top {
  width: 2.5rem;
  height: 2.5rem;
  border: 0.0938rem solid var(--gray3);
  border-radius: 6.25rem;
  background-image: url("./assets/icons/arrow-up.svg");
  background-repeat: no-repeat;
  background-position: center;
  padding: 0.125rem;
  cursor: pointer;
  margin: 1.5rem 0 0 auto;
}

.to-top:hover {
  background-color: var(--blue04);
}

/* === added to read popup=== */

.added-to-read,
.added-to-read2 {
  display: inline-flex;
  flex-direction: column;
  background: var(--darkblue2);
  border-radius: 0.625rem;
  padding: 1rem 2rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-bottom: 0.125rem solid var(--darkblue3);
  border-right: 0.0938rem solid var(--darkblue3);
  box-shadow: var(--big-shadow);
  z-index: 20;
  position: fixed;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  opacity: 0;
}

.saved-pop,
.saved-pop2 {
  display: inline-flex;
  flex-direction: column;
  background: var(--darkblue2);
  border-radius: 0.625rem;
  padding: 1rem 2rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-bottom: 0.125rem solid var(--darkblue3);
  border-right: 0.0938rem solid var(--darkblue3);
  box-shadow: var(--big-shadow);
  z-index: 20;
  position: fixed;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  width: 11.25rem;
  height: 6.25rem;
  opacity: 0;
}

.added-to-read-title {
  font-weight: var(--fontWeight400);
  letter-spacing: 0.0875rem;
  color: var(--light-purple);
  opacity: 0.8;
}

/* .overlay{
  z-index: 18;
  position: fixed;
  background-color: hsla(228, 59%, 10%, 0.8);
  width: 100%;
  height: 100%;
  top:0;
  left:0;
  right:0;
  bottom:0;
  backdrop-filter: blur(0.0625rem);
  display: none;
} */

/* === responsive === */

@media (max-width: 75rem) {
  h1 {
    font-size: 2.125rem;
  }
  .h1-p {
    width: 60%;
  }

  .section__hero-p {
    font-size: 1.125rem;
    width: 80%;
    line-height: 1.4;
  }

  .section__explore-container,
  .section__results-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 52.5rem) {
  .section__hero {
    display: none;
  }
  .section__mobile-hero {
    display: block;
  }
  .section-header-h1 {
    font-size: 1.75rem;
  }
  .p-btn {
    flex-direction: column;
    gap: 1rem;
  }
  .section-header {
    background-image: url(./assets/abstract.svg), url(./assets/man-reading2.png);
    background-repeat: no-repeat, no-repeat;
    background-position: top 1.25rem right -1.25rem, bottom left;
    background-size: contain, 8.75rem;
    background-blend-mode: multiply, darken;
  }

  .section-header-h1 {
    text-align: center;
    font-size: 1.5rem;
  }

  .section__list-socials {
    flex-direction: column;
  }

  .delete-icon {
    width: 2rem;
    height: 2rem;
  }

  .section__list-ul {
    display: flex;
    gap: 3.5rem;
    padding-bottom: 0.5rem;
    overflow-x: scroll;
  }

  .section__explore-container,
  .section__results-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .section__details-h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  .section__details-card {
    flex-direction: column;
    align-items: center;
  }

  .btn-img {
    display: none;
  }
  .outline-btn {
    padding: 0.5rem 1rem;
  }
  .author-card {
    flex-direction: column;
    align-items: center;
  }
  .author-card-name {
    text-align: center;
  }

  .section__not-found {
    width: 80%;
    padding: 2.5rem;
    margin: 1.5rem auto;
    z-index: 0;
  }

  .section__summary-h2,
  .section__summary-h2Purple {
    font-size: 1.25rem;
  }

  .section__summary-h3,
  .section__summary-h3Purple {
    font-size: 2.5rem;
  }

  .section__summary-p,
  .section__summary-p-purple {
    font-size: 0.75rem;
  }
}

@media (max-width: 40rem) {
  .hamburger-icon {
    display: block;
  }

  .header-ul {
    display: none;
  }

  .input.search {
    font-size: 0.9375rem;
  }

  input::placeholder {
    font-size: 0.9375rem;
  }

  .section__explore-cover,
  .section__results-cover {
    width: 70%;
    margin: 0 auto;
  }

  .section__explore-title {
    height: auto;
    text-align: center;
  }
  .section__explore-author,
  .section__explore-author2 {
    height: auto;
    text-align: center;
  }

  .section__explore-description {
    height: auto;
  }

  .results-item {
    font-size: 1.125rem;
  }

  .chart {
    display: none;
  }

  h1 {
    font-size: 1.875rem;
  }

  .section__hero {
    background-size: 46%;
  }

  .section__mobile-hero-h1 {
    font-size: 1.125rem;
    width: 100%;
  }

  .section__mobile-hero-p {
    font-size: 1.0625rem;
  }

  .h2-p {
    flex-direction: column;
    gap: 1rem;
  }

  .tag-wrapper {
    justify-content: center;
  }

  .section__authors-p,
  .section__explore-p {
    font-size: 1rem;
    text-align: center;
  }

  .section__explore-container,
  .section__results-container {
    grid-template-columns: 1fr;
  }

  small {
    width: 90%;
    line-height: 1.4;
    text-align: center;
  }

  .section-header {
    background-position: top 1.25rem right -1.25rem, bottom left;
    background-size: contain, 5rem;
  }

  .section__list-wrapper,
  .section__list-wrapper2 {
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
    align-items: start;
  }

  .section__list-bookCover {
    grid-row-start: 1;
    grid-row-end: 3;
  }

  .section__list-socials {
    flex-direction: row;
    margin-right: 1.5rem;
    grid-column-start: 2;
  }

  .section__list-container {
    gap: 1.5rem;
  }

  .section__details1, .section__details{
    padding: 1.5rem 1rem;
  }

  .section__details-card, .author-card{
    padding: 1rem 0.5rem;
  }

  .author-desc,
  .section__details-text {
    width: 90%;
  }

  .section__details {
    padding: 1.5rem 1rem;
  }

  .interactive-btns {
    flex-direction: column;
  }

  .section__not-found {
    width: 90%;
  }

  #summary-header {
    background-image: url(./assets/abstract.svg);
    background-repeat: no-repeat;
    background-position: top 1.25rem right -1.25rem;
    background-size: contain;
    background-blend-mode: multiply;
  }

  .section__summary {
    gap: 1.5rem;
  }
}
