/* =========================================================
   ABOUT.CSS
   Joan Hammersmith — About Page
========================================================= */

/* =========================================================
   GLOBAL
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;

  background: #ffffff;

  color: #4a403a;

  font-family: "Lato", "Inter", sans-serif;

  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

/* ==========================
   AUTHOR BIOGRAPHY
========================== */

.author-biography {
  background: #ffffff;

  padding: 90px 0 110px;
}

.author-biography .container {
  max-width: 1050px;
}

/* ==========================
   AUTHOR IMAGE
========================== */

.author-image {
  display: flex;

  justify-content: center;

  margin-bottom: 70px;
}

.author-frame {
  background: #ffffff;

  padding: 18px;

  border-radius: 18px;

  border: 1px solid rgba(0, 0, 0, 0.08);

  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.08);

  transition: 0.35s ease;
}

.author-frame:hover {
  transform: translateY(-8px);

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.1);
}

.author-frame img {
  display: block;

  width: 500px;

  max-width: 100%;

  height: auto;

  border-radius: 12px;

  object-fit: cover;
}

/* ==========================
   AUTHOR CONTENT
========================== */

.author-content h2 {
  font-family: "Playfair Display", serif;

  font-style: italic;

  font-weight: 800;

  font-size: 28px;

  margin-bottom: 35px;

  color: #4a403a;
}

.author-content h3 {
  font-family: "Playfair Display", serif;

  font-size: 1.7rem;

  font-weight: 700;

  font-style: italic;

  color: #4d443f;

  margin-top: 40px;

  margin-bottom: 18px;
}

.author-content p {
  font-family: "Lato", sans-serif;

  font-size: 1.2rem;

  font-weight: 400;

  color: #58514c;

  line-height: 2;

  text-align: justify;

  text-indent: 45px;

  margin-bottom: 20px;
}

.author-content em {
  font-style: italic;
}

.author-content .closing {
  margin-top: 30px;
}

/* =========================================================
   AUTHOR BIOGRAPHY RESPONSIVE
========================================================= */

@media (max-width: 992px) {
  .author-image img {
    width: 320px;
  }

  .author-content h2 {
    font-size: 2.3rem;
  }

  .author-content h3 {
    font-size: 1.7rem;
  }

  .author-content p {
    font-size: 1.15rem;

    line-height: 1.9;
  }
}

/* =========================================================
   CONTACT CTA
========================================================= */

.contact-cta {
  position: relative;

  padding: 140px 20px;

  background-image: url("images/books-footer.jpg");

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  overflow: hidden;
}

/* =========================================================
   CTA OVERLAY
========================================================= */

.cta-overlay {
  position: absolute;

  inset: 0;

  background: rgba(255, 255, 255, 0.78);
}

/* =========================================================
   CTA CONTENT
========================================================= */

.cta-content {
  position: relative;

  z-index: 2;

  width: 100%;

  max-width: 760px;

  margin: 0 auto;

  text-align: center;
}

/* =========================================================
   CTA HEADING
========================================================= */

.cta-content h2 {
  margin: 0 0 25px;

  font-family: "Playfair Display", serif;

  font-size: 64px;

  font-style: italic;

  font-weight: 700;

  line-height: 1.2;

  color: #4a403a;
}

/* =========================================================
   CTA PARAGRAPH
========================================================= */

.cta-content p {
  margin: 0 auto 45px;

  font-family: "Lato", "Inter", sans-serif;

  font-size: 24px;

  line-height: 1.8;

  color: #4e4e4e;
}

/* =========================================================
   CTA BUTTON
========================================================= */

.cta-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 400px;

  max-width: 100%;

  padding: 18px 20px;

  background: #f5a623;

  color: #333333;

  border-radius: 50px;

  font-family: "Inter", sans-serif;

  font-size: 28px;

  font-weight: 700;

  text-decoration: none;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

/* =========================================================
   CTA BUTTON HOVER
========================================================= */

.cta-btn:hover {
  background: #e49412;

  color: #ffffff;

  transform: translateY(-3px);
}

/* =========================================================
   CONTACT CTA RESPONSIVE
========================================================= */

@media (max-width: 768px) {
  .contact-cta {
    padding: 90px 20px;
  }

  .cta-content h2 {
    font-size: 42px;
  }

  .cta-content p {
    font-size: 18px;

    line-height: 1.7;

    margin-bottom: 35px;
  }

  .cta-btn {
    width: 100%;

    font-size: 22px;
  }
}

/* =========================================================
   END OF ABOUT.CSS
========================================================= */
/* =========================================================
   ABOUT HERO
   Joan Hammersmith — About Page
========================================================= */

.about-hero {
  position: relative;

  min-height: 650px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  background-image: url("../images/slide-bg.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
}

/* =========================================================
   ABOUT HERO OVERLAY
========================================================= */

.about-overlay {
  position: absolute;

  inset: 0;

  background: rgba(0, 0, 0, 0.42);

  z-index: 1;
}

/* =========================================================
   ABOUT HERO CONTENT
========================================================= */

.about-content {
  position: relative;

  z-index: 3;

  width: 100%;

  max-width: 900px;

  margin: 0 auto;

  padding: 40px 20px 120px;

  color: #ffffff;
}

/* =========================================================
   ABOUT HERO HEADING
========================================================= */

.about-content h1 {
  margin: 0 0 20px;

  font-family: "Playfair Display", serif;

  font-size: 76px;

  font-style: italic;

  font-weight: 800;

  line-height: 1.1;

  color: #ffffff;
}

/* =========================================================
   ABOUT HERO DESCRIPTION
========================================================= */

.about-content p {
  margin: 0 auto;

  font-family: "Cormorant Garamond", serif;

  font-size: 30px;

  font-weight: 500;

  line-height: 1.4;

  letter-spacing: 1px;

  color: #ffffff;
}

/* =========================================================
   HERO BOTTOM DIVIDER
========================================================= */

.hero-divider {
  position: absolute;

  left: 0;

  bottom: -1px;

  width: 100%;

  height: 130px;

  display: block;

  z-index: 4;

  pointer-events: none;
}

/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1100px) {
  .about-content h1 {
    font-size: 65px;
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .about-hero {
    min-height: 580px;
  }

  .about-content {
    padding-bottom: 90px;
  }

  .about-content h1 {
    font-size: 55px;
  }

  .about-content p {
    font-size: 25px;
  }

  .hero-divider {
    height: 110px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
  .about-hero {
    min-height: 520px;

    background-position: center;
  }

  .about-content {
    padding: 30px 18px 80px;
  }

  .about-content h1 {
    font-size: 42px;

    line-height: 1.15;

    margin-bottom: 15px;
  }

  .about-content p {
    font-size: 21px;

    line-height: 1.4;

    letter-spacing: 0.5px;
  }

  .hero-divider {
    height: 80px;
  }
}

/* =========================================================
   EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 400px) {
  .about-hero {
    min-height: 500px;
  }

  .about-content h1 {
    font-size: 36px;
  }

  .about-content p {
    font-size: 19px;
  }

  .hero-divider {
    height: 70px;
  }
}
/* =========================================================
   CONTACT CTA
   Reusable Contact Call-To-Action Section
========================================================= */

.contact-cta {
    position: relative;

    padding: 140px 20px;

    background-image: url("../images/books-footer.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    overflow: hidden;
}


/* =========================================================
   CTA OVERLAY
========================================================= */

.cta-overlay {
    position: absolute;

    inset: 0;

    background: rgba(255, 255, 255, 0.78);

    z-index: 1;
}


/* =========================================================
   CTA CONTAINER
========================================================= */

.contact-cta .container {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1150px;

    margin: 0 auto;
}


/* =========================================================
   CTA CONTENT
========================================================= */

.cta-content {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 760px;

    margin: 0 auto;

    text-align: center;
}


/* =========================================================
   CTA HEADING
========================================================= */

.cta-content h2 {
    margin: 0 0 25px;

    font-family: "Playfair Display", serif;

    font-size: 64px;

    font-style: italic;

    font-weight: 700;

    line-height: 1.2;

    color: #4a403a;
}


/* =========================================================
   CTA PARAGRAPH
========================================================= */

.cta-content p {
    max-width: 700px;

    margin: 0 auto 45px;

    font-family: "Lato", "Inter", sans-serif;

    font-size: 24px;

    font-weight: 400;

    line-height: 1.8;

    color: #4e4e4e;
}


/* =========================================================
   CTA BUTTON
========================================================= */

.cta-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 400px;

    max-width: 100%;

    padding: 18px 20px;

    background: #f5a623;

    color: #333333;

    border: 2px solid #f5a623;

    border-radius: 50px;

    font-family: "Inter", sans-serif;

    font-size: 28px;

    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


/* =========================================================
   CTA BUTTON HOVER
========================================================= */

.cta-btn:hover {
    background: #e49412;

    border-color: #e49412;

    color: #ffffff;

    transform: translateY(-3px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .contact-cta {
        padding: 110px 20px;
    }


    .cta-content h2 {
        font-size: 52px;
    }


    .cta-content p {
        font-size: 21px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .contact-cta {
        padding: 90px 20px;
    }


    .cta-content h2 {
        font-size: 42px;

        line-height: 1.2;
    }


    .cta-content p {
        font-size: 18px;

        line-height: 1.7;

        margin-bottom: 35px;
    }


    .cta-btn {
        width: 100%;

        max-width: 350px;

        padding: 16px 20px;

        font-size: 21px;
    }

}


/* =========================================================
   EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .contact-cta {
        padding: 75px 18px;
    }


    .cta-content h2 {
        font-size: 36px;
    }


    .cta-content p {
        font-size: 17px;
    }


    .cta-btn {
        font-size: 19px;

        padding: 15px 18px;
    }

}
