.about-text {
  display: flex;
  align-items: start;
}

.about-text h1 {
  font-size: 2rem;
}

.about-text img {
  width: 18rem;
  margin-right: 2rem;
  border-radius: 99999px;
}

.about-text .mobile-title {
  margin-top: 2rem;
  display: none;
  font-size: 1.8rem;
}

.book-details {
  margin: 2rem 0;
  display: none;
}

.book-details .details {
  display: flex;
  flex-direction: column;
}

.book-details .title {
  font-size: 1.8rem;
}

.book-details .description,
.book-details .more {
  font-size: 1.2rem;
  line-height: 2;
}

.book-details .more {
  margin-top: auto;
  text-decoration: none;
  display: flex;
  margin-bottom: 1rem;
  align-items: center;
}

.book-details .more img {
  width: auto;
  height: 1.6rem;
  margin-left: 0.5rem;
}

.book-details .book-img {
  width: 17rem;
  margin-right: 2rem;
}

.book-details.active {
  display: flex;
}

.other-book {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.other-book > div {
  width: 48%;
}

.other-book .images {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.other-book .images > img,
.other-book .images div,
.other-book .images a {
  width: 47%;
}

.other-book .images .xs-image {
  width: 30%;
  margin: auto;
}

.other-book .small-images {
  display: flex;
  flex-wrap: wrap;
}

.other-book .small-images img {
  width: 45%;
  margin-bottom: 2.5%;
  margin-right: 2.5%;
}

.other-book .title {
  font-size: 1.5rem;
  margin: 1rem 0;
}

.other-book .description,
.other-book .date {
  font-size: 1.1rem;
}

.other-book .description {
  margin-top: 1rem;
}

@media only screen and (max-width: 1024px) {
  .about-text {
    flex-direction: column;
    align-items: center;
    margin: 0rem 0.5rem;
  }

  .about-text img {
    margin: 1.5rem 0rem;
  }

  .about-text .mobile-title {
    display: block;
  }

  .about-text .desktop-title {
    display: none;
  }

  .book-details .book-img {
    width: 40%;
    margin-right: 2rem;
  }

  .other-book {
    flex-direction: column;
    margin-bottom: 4rem;
  }

  .other-book > div {
    width: 100%;
  }

  .other-book .date {
    margin-top: 1rem;
  }

  .other-book .images .xs-image {
    width: 40%;
  }
}

@media only screen and (max-width: 768px) {
  .book-details {
    flex-direction: column;
  }

  .about-text img {
    width: 50%;
  }

  .book-details .book-img {
    width: 70%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 1rem;
  }

  .book-details .title {
    font-size: 1.5rem;
  }

  .book-details .description,
  .book-details .more {
    font-size: 0.9rem;
    line-height: 2;
  }
}

@media only screen and (max-width: 540px) {
  .about-text img {
    width: 70%;
  }
}
