@media only screen and (min-width: 0rem) {

/*------------------------------->
<---        GENERAL           --->
<-------------------------------*/

  .body-content__container {   /* Container for below-the-fold content */
    margin: 1.25rem;
  }

  .body-content__container > p {
    margin-bottom: 16px; 
  }

  .body__divider {   /* Book ordering details */
    margin: 40px auto;
    width: 75%;
  }

  .body__order-book {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    text-align: center;
  }


/*------------------------------->
<---           HOME           --->
<-------------------------------*/

  .main__container {   /* Home page main content */
    min-height: 1000px;
  }

  .main__container a {
    color: var(--clr-drk-blue);
  }

  .main__container a:hover:not(:has(h1, h2, h3, h4)) {
    color: var(--clr-ltr-blue);
    text-decoration: underline dotted var(--clr-ltr-blue);
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
  }

  .home__quote {
    position: relative;
    top: -1rem;
    margin-left: 3.5rem;
    font-size: 1.25rem;
    font-style: italic;
  }

  .home__quote-author {
    position: relative;
    top: -1rem;
    margin-left: 5rem;
    margin-top: -10px;
  }

/*------------------------------->
<---           ABOUT          --->
<-------------------------------*/

  .about__dd-container {
    margin: 30px 0 50px 0;
  }

  .about__content > p {
    margin-bottom: 16px; 
  }

  .about__img-container {
    float: left;
    width: 13rem;
    height: 14rem;
  }

  .about__img {
    padding: 5px 20px 0px 0px;
    width: 100%;
  }

  .about__img-credit {
    font-size: 0.9rem;
  }

  .about__dd-container {
    margin-bottom: 16px; 
  }

  .about__dd-header {
    margin-bottom: 16px; 
    padding-left: 1.5rem; 
    text-indent: -1.5rem
  }

  .about__dd-content > p {
    margin-bottom: 16px; 
  }

  .about__dd-content {
    visibility: hidden; 
    max-height: 0px;
    transform: scaleY(0);
    transform-origin: top;
  }

  .about__dd-content.active {
    visibility: visible;
    max-height: 100%;
    margin-bottom: 25px;
    transition: 0.2s; 
    transform: scaleY(1);
  }


/*------------------------------->
<---           BOOKS          --->
<-------------------------------*/

.body-content__container {   /* remove padding on books page */
  padding: 2.5px 0px 0px 0px;
}

.books-item__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 2rem 0rem 4rem 0rem;
}

.books-item__cover {
  width: 45%;
  margin-bottom: 2rem;
}

.books-item__cover img {
  width: 100%;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}

.books-item__description {
  width: 100%;
  margin-left: 0rem;
  text-align: center;
}

.books-item__title {
  margin-bottom: 1rem;
  font-weight: 100;
  font-size: 1.65rem; 
  color: var(--clr-drk-blue);
}

.books-item__description > p {
  margin-bottom: 1rem;
}

.books-item__author {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.books-item__author {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.books-item__quote {
  margin-bottom: 0px;
}

.books-item__quote-author {
  text-align: center;
}

.books__content {
  padding: 8px 0px; 
}

.books__content > p {
  margin-bottom: 16px; 
}

.books__publisher {
  padding-bottom: 1.5rem;
}

.books__quote {
  margin-left: 2rem;
}

.books__quote-author {
  margin-left: 4rem;
}



/*------------------------------->
<---        NEWS & VIEWS      --->
<-------------------------------*/

.body-content__container > h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.blog-collection__list-content {
  display: flex;
  margin-bottom: 2rem;
}

.blog-preview__image {
  width: 9rem;
  height: auto;
  margin-right: 1rem;
}

.blog-collection__date {
  font-size: 0.9rem;
  color: var(--clr-med-gray);
  margin: .25rem 0;
}

.blog-collection__description {
  font-size: 1rem;
  line-height: 1.25rem;
  opacity: 0.7;
}

.read-more p {
  font-size: 0.9rem;
  line-height: 1.25rem;
  margin-top: 0.25rem;
  color: black;
}

.blog-collection__title {
  font-size: 1.5rem;
  color: black;
}

/*------------------------------->
<---           CONTACT        --->
<-------------------------------*/

  .contact__content > p {
    margin-bottom: 16px; 
  }

  .contact-form__container #message {
    height: 100px; 
  }

  .contact-form__container button {
    font-size: 1.05rem;
    padding: 5px 10px;
    background-color: var(--clr-ltr-blue);
    color: white;
    border-radius: 5px;
  }

  .form__input > p {
    margin-bottom: 1px;
  }

  input {
    width: 100%; 
    height: 25px;
    padding: 15px 10px 15px 10px;
    font-size: 1rem;
    border: 1px solid #333;
  }

  textarea {
    width: 100%; 
    font-size: 1rem;
    padding: 8px 10px 15px 10px;
    border: 1px solid #333;
  }

  .contact__bottom {
    width: 300px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

}

/*-------------------------------------------------->
<-----        MOBILE LANDSCAPE > 480px         ----->
<--------------------------------------------------*/


@media only screen and (min-width: 30rem) {

  .body-content__container {
    margin: 30px auto;
    width: 430px;
  }

}


/*-------------------------------------------------->
<-----              TABLET > 768px             ----->
<--------------------------------------------------*/

@media only screen and (min-width: 48rem) {  

  .body-content__container {
    margin: 30px auto;
    width: 600px
  }

  .body-content__container {   /* remove padding on books page */
    padding-inline: 0px;
  }

  .books-item__container {
    display: flex;
    flex-direction: row;
    align-items: start;
    width: 103%;
    margin: 2.5rem 0rem 4rem 0rem;
  }

  .books-item__cover {
    width: 33%;
  }

  .books-item__cover > img {
    width: 100%;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  }

  .books-item__description {
    width: 67%;
    margin-left: 2.5rem;
    text-align: left;
  }

  .books-item__title {
    margin-bottom: 1rem;
    font-weight: 100;
    font-size: 1.65rem; 
    color: var(--clr-drk-blue);
  }

  .books-item__description > p {
    margin-bottom: 1rem;
  }

  .books-item__author {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1rem;
  }

  .books-item__quote-author {
    text-align: right;
  }

  .news {
    width: 650px;
  }

}


/*-------------------------------------------------->
<-----            DESKTOP > 1280px             ----->
<--------------------------------------------------*/


@media only screen and (min-width: 80rem) {

  .news {
    width: 750px;
  }

}