@media (max-width: 62.5em) {
  html {
    font-size: 56.2%;
  }
  .author-card {
    height: 50rem;
  }

  .author-textbox {
    justify-self: center; /* Centers the image horizontally in its column */
    align-self: center; /* Centers the image vertically in its column */
  }
  .author-para {
    padding: 0 1rem;
  }
}

@media (max-width: 50em) {
  .testimonial-cards {
    grid-template-columns: 1fr 1fr;
  }
  .author-img {
    width: 6rem;
    height: 6rem;
  }
  .author-name {
    font-size: 2rem;
  }
  .testimonial-card {
    height: 30rem;
  }
  .about-book-grid {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }
  .About-book-cover {
    max-width: 70%;
  }
  .paragraph {
    max-width: 80%;
    justify-self: center; /* Centers the image horizontally in its column */
    align-self: center; /* Centers the image vertically in its column */
  }
}

/* 
@media (max-width: 43.75em) {
  
  
  .text-content {
    grid-template-columns: 1fr 1fr;
    row-gap: 3rem;
  }
  
} */

@media (max-width: 43.75em) {
  html {
    font-size: 50%;
  }
  .hero-img {
    max-width: 40%;
  }
  .author-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .author-bio h2 {
    text-align: center;
    font-size: 2rem;
  }
  .testimonial-text {
    font-size: 2.4rem;
  }
  .author-img {
    width: 6rem;
    height: 6rem;
  }
  .author-name {
    font-size: 2rem;
  }

  .author-image img {
    margin: 0 auto;
    max-width: 60%;
  }
  .menu-btn {
    display: block;
  }
  .nav-list {
    background-color: rgb(20, 20, 90, 0.92);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    transition: all 0.6s ease-out;
    transform: translatex(100%);

    opacity: 0;
    pointer-events: none;
    visibility: none;
  }

  .nav-open .nav-list {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translatex(0%);
  }

  .nav-open .menu-close[name="close-outline"] {
    display: block;
  }
  .nav-open .menu-open[name="menu-outline"] {
    display: none;
  }

  .nav-list-flex {
    gap: 3rem;
    justify-content: center;
    align-items: center;
  }
  .nav-item:link,
  .nav-item:visited {
    color: white;
    font-size: 3rem;
  }
  .nav-btn:link,
  .nav-btn:visited {
    color: black;
    font-size: 3rem;
  }
}

@media (max-width: 31.25em) {
  html {
    font-size: 43.75%;
  }
  /* .hero-title {
    font-size: 3rem;
  } */
  .bonus-reward-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .footer-form {
    grid-column: -3/-1;
  }
  .testimonial-cards {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
  .testimonial-container {
    text-align: center;
  }
  .bonus-reward-card {
    gap: 6rem;
  }
  .bonus-list {
    gap: 5rem;
  }
  .text-content {
    grid-template-columns: 1fr;
  }
  .testimonial-text {
    font-size: 3rem;
  }
  .author-img {
    width: 7rem;
    height: 7rem;
  }
  .author-name {
    font-size: 2.4rem;
  }
  .list-flex {
    flex-direction: row;
  }
  .author-bio {
    padding: 1rem;
  }
}

/* below 300 px */

@media (max-width: 25em) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-form {
    grid-column: -2/-1;
  }
  .footer-links a {
    font-size: 2rem;
  }
  .footer-socials a {
    font-size: 2rem;
  }
  .footer-logo {
    width: 14rem;
  }
  .footer-title {
    font-size: 2.4rem;
  }
  .footer-links h3 {
    font-size: 2.4rem;
  }
  .whats-included,
  .bonus-reward,
  .testimonial,
  .author,
  .footer {
    margin: 1rem 0 0 0;
  }
}
