/**************************/
/* HEADER */
/**************************/

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.8rem 6.4rem;
  background-color: var(--primary);
  border-bottom: 1.2px solid var(--secondary);
  position: relative;
  z-index: 20;
}
.logo {
  font-family: "Karla", sans-serif;
  color: var(--secondary);
  font-size: 2.4rem;
  text-decoration: none;
}
.logo:hover {
  color: var(--tertiary);
}

/**************************/
/* NAVIGATION */
/**************************/
.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3.2rem;
  text-transform: uppercase;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: var(--secondary);
  font-weight: 500;
  font-size: 1.6rem;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: var(--tertiary);
}

/* MOBILE */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: var(--secondary);
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

.home-link {
  display: inline;
}

/**************************/
/* HERO SECTION */
/**************************/
.section-hero {
  padding: 8.4rem 0;
  /* background-image: url("/img/OR_2.JPG"); */
  background-image: linear-gradient(
      to right bottom,
      rgba(26, 109, 186, 0.87),
      rgba(26, 109, 186, 0.575)
    ),
    url("/img/OR_2.JPG");
  background-size: cover;
}
.home-main {
  position: relative;
}

/* .bg-img-box {
  position: relative;
  max-width: 150rem;
  padding: 0 3.2rem;
  margin: 0 auto;
} */
.home-bg-img {
  position: absolute;
  top: 5rem;
  left: 10rem;
  width: 45%;
  z-index: 1;
  /* animation: breathe-home 4s ease-out infinite; */
}

.hero-img-box {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  width: 75%;
}
.hero-text-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4.8rem 0;
  background-color: rgba(239, 245, 249, 0.7);
}

.hero-description {
  font-size: 2.2rem;
  line-height: 1.4;
  margin-bottom: 3.6rem;
  color: #333;
}

.book-container {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 400px;
}

.book {
  transform: rotateY(-30deg);
  position: relative;
  transform-style: preserve-3d;
  width: 250px;
  height: 375px;
  transition: transform 1s ease;
  animation: 1s ease 0s 1 initAnimation;
}

.book:hover {
  transform: rotate(0deg);
}

@keyframes initAnimation {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(-30deg);
  }
}

.book > :first-child {
  position: absolute;
  background: #0d47a1aa;
  width: 250px;
  height: 375px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  box-shadow: 5px 5px 20px #444;
}

.book::before {
  content: " ";
  background: #fff;
  height: calc(375px - 2 * 3px);
  width: 75px;
  top: 3px;
  position: absolute;
  transform: translateX(calc(250px - 75px / 2 - 3px)) rotateY(90deg)
    translateX(calc(75px / 2));
}

.book::after {
  content: " ";
  position: absolute;
  left: 0;
  width: 250px;
  height: 375px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  background: #01060f;
  transform: translateZ(-75px);
  box-shadow: -10px 0 50px 10px #444;
}

/**************************/
/* HOME ABOUT SECTION */
/**************************/

.section-home-about {
  background-color: #fff;
  padding: 9.6rem 0;
}
.home-about {
  position: relative;
  z-index: 2;
}
.home-about-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
  color: #333;
}
.home-img-author {
  width: 90%;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

/**************************/
/* ABOUT SECTION */
/**************************/

.section-about {
  padding: 6.4rem 0 6.4rem 0;
  background-color: #fff;
  /* padding: 19.2rem 0 9.6rem 0; */
}

.about-description {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 3.6rem;
  color: #333;
}
.about-img-box {
  text-align: center;
}
.about-img-box-2 {
  display: flex;
  align-items: center;
}
.img-author {
  width: 35%;
  float: right;
  margin: 2.4rem;
  box-shadow: rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
.img-author-2 {
  width: 65%;
  box-shadow: rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
.video-author {
  width: 65%;
  height: 350px;
}

/**************************/
/* BOOKS SECTION */
/**************************/

.section-books-hero {
  padding: 9.6rem 0 12.8rem 0;
  background-color: var(--primary);
  /* background: radial-gradient(
    circle,
    var(--secondary-shade-2) 0%,
    var(--secondary) 0%
  ); */
  /* background-color: #fff; */
  /* padding: 19.2rem 0 9.6rem 0; */
}
.books-hero {
  position: relative;
  gap: 4.8rem !important;
  min-height: 40vh;
  align-content: center;
}

.books-img-box {
  position: relative;
}
.books-hero-text-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4.8rem 0;
  border: solid 1px var(--secondary);
}

.books-description {
  font-size: 2.2rem;
  line-height: 1.4;
  padding: 5px;
}

.books-bg-img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 55%;
  margin: 0 0 -18rem 0;
  z-index: 1;
  transform: translateX(-52%);
}

/**************************/
/* BOOK PREVIEW SECTION */
/**************************/

.section-book-preview {
  padding: 4.8rem 0;
  background-color: #fff;
  position: relative;
  z-index: 3;
  /* padding: 19.2rem 0 9.6rem 0; */
}
.book-preview {
  row-gap: 4.8rem;
}
.preview-description {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 2.4rem;
  margin-top: 2.4rem;
  color: #333;
}
.preview-img-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.preview-img-box-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.books-img {
  align-self: center;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
.books-img-2 {
  align-self: center;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
.img-description {
  font-size: 1.3rem;
  margin-left: 1.5rem;
  margin-top: 0.5rem;
  color: #333;
  font-style: italic;
}
.img-description-2 {
  font-size: 1.3rem;
  margin-left: 6.2rem;
  margin-top: 0.6rem;
  font-style: italic;
}
.book-media-box {
  margin-top: 6.4rem;
}
.video-books {
  width: 100%;
}

/**************************/
/* BOOK EXCERPT SECTION */
/**************************/

.section-excerpt {
  padding: 4.8rem 0;
  background-color: var(--primary);
  border-bottom: 1.2px solid var(--secondary);
}
.excerpt-title-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.excerpt-text {
  position: relative;
  font-size: 1.6rem;
  line-height: 1.6;
  margin: 3.6rem 0;
  color: #333;
}
.excerpt-title {
  font-size: 1.8rem;
  font-weight: bold;
}
.excerpt-icon {
  font-size: 4.8rem;
  display: block;
  margin: 0 auto;
  color: var(--secondary);
}
.excerpt-icon:hover {
  color: var(--tertiary);
}
.cloudy-text {
  position: relative;
  margin-bottom: 0;
}
.cloudy-text:after {
  content: "";
  height: 110%;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    var(--primary)
  );
}
.normal-text {
  display: none;
}
.excerpt-extension-box {
  display: none;
}

/**************************/
/* MEDIA SECTION */
/**************************/
.section-media {
  padding: 6.4rem 0;
}
/* .media {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
} */
.media a,
.article-anchor {
  font-size: 2rem;
  color: #333;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.articles-box {
  text-align: start;
}
.article-source {
  font-size: 1.6rem;
  font-weight: bold;
}
.article-description {
  font-size: 1.6rem;
  font-style: italic;
  margin-bottom: 2.4rem;
}
.media-img-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.img-media {
  width: 90%;
}
.img-media-2 {
  width: 45%;
}
.media-img-description {
  font-size: 1.3rem;
  margin: 0.5rem 0 1.8rem 0.5rem;
  color: #333;
  font-style: italic;
}
/**************************/
/* FOOTER */
/**************************/

.footer {
  color: var(--secondary);
  display: grid;
  grid-template-columns: 1fr 2fr 2fr 1fr;
  column-gap: 9.6rem;
  background-color: var(--primary);
  padding: 4.8rem 0;
  position: relative;
  z-index: 2;
}

.grid--footer {
  grid-template-columns: 2fr 4fr;
}

.footer-info-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-logo {
  font-family: "Karla", sans-serif;
  color: var(--secondary);
  font-size: 3rem;
  text-decoration: none;
  padding-bottom: 1.6rem;
  text-align: center;
}
.footer-logo:hover {
  color: var(--tertiary);
}
.footer-logo-box {
  align-self: center;
}
.footer-nav {
  /* padding: 9.6rem 2.4rem 4.8rem 2.4rem; */
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  text-transform: uppercase;
}

.footer-nav-link:link,
.footer-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: var(--secondary);
  font-weight: 500;
  font-size: 1.6rem;
  transition: all 0.3s;
}

.footer-nav-link:hover,
.footer-nav-link:active {
  color: var(--tertiary);
}

.footer-nav-heading {
  display: inline-block;
  text-decoration: none;
  color: var(--secondary);
  font-weight: bold;
  font-size: 1.6rem;
}
.footer-info-box {
  align-items: center;
}
.copyright {
  color: var(--secondary);
  font-size: 1.4rem;
  line-height: 1.6;
  padding-top: 3.2rem;
  text-align: center;
}
.contact-text {
  font-size: 1.8rem;
  line-height: 1.4;
}
