.books__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.books__link {
  line-height: 0;
  transition: all 300ms ease-out;
  text-decoration: none;
}

.books__container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 300ms ease-out;
}

.books__link:hover {
  background-color: white;
  border-radius: 10px;
}

.books__link:hover .books__container {
  transform: scale(0.9);
}

.books__item-title {
  font-weight: 600;
  font-size: 16px;
  line-height: 19.2px;
}

.books__pic {
  width: 100%;
  height: 58.13vw;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}
@media screen and (min-width: 768px) {
  .books__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .books__pic {
    height: 41.92vw;
  }
}
@media screen and (min-width: 1200px) {
  .books__list {
    grid-template-columns: repeat(5, 1fr);
    margin-top: 40px;
  }

  .books__pic {
    height: 280px;
  }
}
