/* @import "./components/HeroSection.css";

#books-navbar-selection {
  color: #ff8960;
}

.Books-Cards-Section {
  display: flex;
  position: relative;
  flex-direction: column;
  width: 100%;
  align-items: center;
  padding: 60.5px 83px;
}

.Books-Cards-Section-Box {
  display: flex;
  position: relative;
  flex-direction: column;
  max-width: 1590px;
  min-width: 1024px;
  width: 100%;
  grid-gap: 32px;
}

.Books-Cards-Section-Box-Heading {
  color: #000;
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1.2px;
}

.Books-Cards-Section-Box-Cards {
  display: flex;
  position: relative;
  flex-direction: column;
  grid-gap: 24px;
}

.Books-Box-Section:nth-child(even) {
  flex-direction: row-reverse;
}

.Books-On-The-Way-Section {
  display: flex;
  position: relative;
  flex-direction: column;
  width: 100%;
  align-items: center;
  padding: 0 83px;
  margin-bottom: 30px;
}

.Books-On-The-Way-Section-BG {
  display: flex;
  position: absolute;
  width: 100%;
  height: 117px;
  background: #b7e1de;
  bottom: 0;
}

.Books-On-The-Way-Section-Box {
  display: flex;
  position: relative;
  max-width: 1590px;
  min-width: 1024px;
  width: 100%;
  grid-gap: 30px;
  align-items: flex-end;
  justify-content: space-between;
}

.Books-On-The-Way-Section-Box-Cards {
  display: flex;
  position: relative;
  grid-gap: 55px;
  max-width: 827px;
  margin-bottom: 30px;
  flex: 1 1 52.01%;
  justify-content: flex-start;
}

.Books-On-The-Way-Section-Box-Cards-Image {
  max-width: 230px;
  width: 33.33%;
}

.Books-On-The-Way-Section-Box-Text {
  display: flex;
  position: relative;
  height: 117px;
  align-items: center;
  color: #000;
  font-size: 2.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.11;
  letter-spacing: 1.08px;
  text-transform: uppercase;
  justify-content: center;
  width: calc(100% - min(827px, 52.01%));
}

@media (max-width: 1245px) {

  .Books-Cards-Section,
  .Books-On-The-Way-Section {
    padding-left: 29px;
    padding-right: 29px;
  }

  .Books-Cards-Section-Box {
    max-width: unset;
    min-width: unset;
  }

  .Books-On-The-Way-Section-Box {
    align-items: center;
    flex-direction: column;
    max-width: unset;
    min-width: unset;
  }

  .Books-On-The-Way-Section-Box-Cards {
    max-width: unset;
    flex: unset;
    width: 100%;
    justify-content: center;
    margin-bottom: unset;
  }
}

@media (max-width: 450px) {
  .Books-Cards-Section {
    padding: 17px 11px;
  }

  .Books-Cards-Section-Box {
    grid-gap: 8px;
  }

  .Books-Cards-Section-Box-Heading {
    font-size: 1.16rem;
    line-height: 1.78;
  }

  .Books-On-The-Way-Section {
    padding: 67px 11px 0 11px;
  }

  .Books-On-The-Way-Section-BG {
    height: 80px;
  }

  .Books-On-The-Way-Section-Box {
    grid-gap: 10px;
  }

  /* .Books-On-The-Way-Section-Box-Cards {
    grid-gap: 35px;
  }

  .Books-On-The-Way-Section-Box-Cards-Image {
    max-width: 135px;
  } */
  /* .Books-On-The-Way-Section-Box-Cards { */
    /* display: flex;
    gap: 20px; /* Space between images */
    /* justify-content: flex-start; */
    /* align-items: flex-start; */
/* } */

/* .Books-On-The-Way-Section-Box-Cards-Image { */
    /* max-width: 200px; Smaller size */
    /* width: auto;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
 

  .Books-On-The-Way-Section-Box-Text {
    height: 40px;
    font-size: 1.5rem;
    line-height: 1.3;
  }
}
/* 
/* test */
/* .books-container {
  display: flex;
  gap: 40px; /* space between books */
  /* justify-content: space-around; center horizontally */
  /* align-items: flex-start; align items to the top */
/* } */

/* .book-section { */
  /* width: 300px; fix width for each book */
  /* text-align: justify;
}

.book-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.book-content {
  margin-top: 10px;
} 
 */


 @import "./components/HeroSection.css";

#books-navbar-selection {
  color: #ff8960;
}

.Books-Cards-Section {
  display: flex;
  position: relative;
  flex-direction: column;
  width: 100%;
  align-items: center;
  padding: 60.5px 83px;
}

.Books-Cards-Section-Box {
  display: flex;
  position: relative;
  flex-direction: column;
  max-width: 1590px;
  min-width: 1024px;
  width: 100%;
  grid-gap: 32px;
}

.Books-Cards-Section-Box-Heading {
  color: #000;
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1.2px;
}

.Books-Cards-Section-Box-Cards {
  display: flex;
  position: relative;
  flex-direction: column;
  grid-gap: 24px;
}

.Books-Box-Section:nth-child(even) {
  flex-direction: row-reverse;
}

.Books-On-The-Way-Section {
  display: flex;
  position: relative;
  flex-direction: column;
  width: 100%;
  align-items: center;
  padding: 0 83px;
  margin-bottom: 30px;
  
}

.Books-On-The-Way-Section-BG {
  display: flex;
  position: absolute;
  width: 100%;
  height: 60px;
  background: #b7e1de;
  bottom: 0;
  /* add */
  top: 50%; 
  transform: translateY(-50%);
  z-index: 1;

}

.Books-On-The-Way-Section-Box {
  /* display: flex; */
  position: relative;
  /* max-width: 1590px;
  min-width: 1024px;
  width: 100%;
  grid-gap: 30px;
  align-items: flex-end;
  justify-content: space-between; */
  /* add */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  z-index: 2; 
}

.Books-On-The-Way-Section-Box-Cards {
  /* display: flex;
  position: relative;
  grid-gap: 55px;
  max-width: 827px;
  margin-bottom: 30px;
  flex: 1 1 52.01%;
  justify-content: flex-start; */
  display: flex;
  gap: 55px;
  justify-content: center;
  flex-wrap: wrap;

}

.Books-On-The-Way-Section-Box-Cards-Image {
  max-width: 230px;
  width: 33.33%;
}
.Hero-Section-Box-Text-Heading{
  color: #FFF;
  text-align: center;
  font-size: 4.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 0.2;
  letter-spacing: 10px;
  margin-bottom: 30px;
}
.Books-On-The-Way-Section-Box-Text {
  /* display: flex;
  position: relative;
  height: 1.1px;
  align-items: center;
  color: #000;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.11;
  letter-spacing: 1.08px;
  text-transform: uppercase;
  justify-content: center;
  width: calc(100% - min(827px, 52.01%)); */
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  z-index: 2;

}

@media (max-width: 1245px) {

  .Books-Cards-Section,
  .Books-On-The-Way-Section {
    padding-left: 29px;
    padding-right: 29px;
  }

  .Books-Cards-Section-Box {
    max-width: unset;
    min-width: unset;
  }

  .Books-On-The-Way-Section-Box {
    align-items: center;
    flex-direction: column;
    max-width: unset;
    min-width: unset;
  }

  .Books-On-The-Way-Section-Box-Cards {
    max-width: unset;
    flex: unset;
    width: 100%;
    justify-content: center;
    margin-bottom: unset;
  }
}

@media (max-width: 450px) {
  .Books-Cards-Section {
    padding: 17px 11px;
  }

  .Books-Cards-Section-Box {
    grid-gap: 8px;
  }

  .Books-Cards-Section-Box-Heading {
    font-size: 1.16rem;
    line-height: 1.78;
  }

  .Books-On-The-Way-Section {
    padding: 67px 11px 0 11px;
  }

  .Books-On-The-Way-Section-BG {
    height: 80px;
  }

  .Books-On-The-Way-Section-Box {
    grid-gap: 10px;
  }

  /* .Books-On-The-Way-Section-Box-Cards {
    grid-gap: 35px;
  }

  .Books-On-The-Way-Section-Box-Cards-Image {
    max-width: 135px;
  } */
  .Books-On-The-Way-Section-Box-Cards {
    display: flex;
    gap: 20px; /* Space between images */
    justify-content: flex-start;
    align-items: flex-start;
}

.Books-On-The-Way-Section-Box-Cards-Image {
    max-width: 200px; /* Smaller size */
    width: auto;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
 

  .Books-On-The-Way-Section-Box-Text {
    height: 40px;
    font-size: 1.5rem;
    line-height: 1.3;
  }
}

/* test */
.books-container {
  display: flex;
  gap: 40px; /* space between books */
  justify-content: space-around; /* center horizontally */
  align-items: flex-start; /* align items to the top */
}

.book-section {
  width: 300px; /* fix width for each book */
  text-align: justify;
}

.book-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.book-content {
  margin-top: 10px;
}


.Hero-Section-Box-Text-Sub-Title{
  color: #FFF;
  text-align: center;
  font-family: inter;
  font-size: 35px;
  font-style:normal;
  text-transform:math-auto;
  font-weight: 400;
  line-height: 1.5;
  max-width: 1029px;


}