.book-collection {
  width: 100%;
  min-width: 320px;
  height: auto;
  overflow-x: hidden;
}
.book-collection__content, .book-collection__content-default {
  width: 100%;
  max-width: 1280px;
  height: auto;
  padding: 4rem 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow-x: scroll;
  overscroll-behavior-x: auto;
  -ms-scroll-snap-type: x proximity;
      scroll-snap-type: x proximity;
  gap: 1rem;
}
.book-collection__content-item, .book-collection__content-default-item {
  min-width: 288px;
  height: auto;
  min-height: 350px;
  border: solid 0.5rem #f0f0f0;
  border-radius: 2rem;
  padding: 3rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1rem;
  font-family: "Lora", sans-serif;
}
.book-collection__content-item-picture, .book-collection__content-default-item-picture {
  width: 100%;
  height: auto;
}
.book-collection__content-item-picture img, .book-collection__content-default-item-picture img {
  width: 100%;
  height: 300px;
  border-radius: 0.5rem;
  -o-object-fit: contain;
     object-fit: contain;
}
.book-collection__content-item-title, .book-collection__content-default-item-title {
  width: 100%;
  height: auto;
  margin: 0 auto;
  margin-top: 1.8rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-family: "Lora", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #3d3d3d;
  gap: 0.5rem;
}
.book-collection__content-item-title span, .book-collection__content-default-item-title span {
  font-size: 1.1rem;
  font-weight: 500;
  font-family: "Roboto Slab", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: #adadad;
}
.book-collection__content-default {
  width: 100%;
  max-width: 1280px;
  height: auto;
  padding: 4rem 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow-x: scroll;
  overscroll-behavior-x: auto;
  -ms-scroll-snap-type: x proximity;
      scroll-snap-type: x proximity;
  gap: 1rem;
}
.book-collection__content-default-item {
  min-width: 288px;
  height: auto;
  min-height: 511px;
  min-height: 350px;
  border: solid 0.5rem #f0f0f0;
  border-radius: 2rem;
  padding: 3rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1rem;
  font-family: "Lora", sans-serif;
  -webkit-animation: colorItemBorder 2s ease-in-out infinite;
          animation: colorItemBorder 2s ease-in-out infinite;
}
@-webkit-keyframes colorItemBorder {
  0% {
    border: solid 0.5rem #f0f0f0;
  }
  50% {
    border: solid 0.5rem #cfcfcf;
  }
  100% {
    border: solid 0.5rem #f0f0f0;
  }
}
@keyframes colorItemBorder {
  0% {
    border: solid 0.5rem #f0f0f0;
  }
  50% {
    border: solid 0.5rem #cfcfcf;
  }
  100% {
    border: solid 0.5rem #f0f0f0;
  }
}
.book-collection__content-default-item-picture {
  width: 100%;
  height: 200px;
  border-radius: 2rem;
  background-color: #f0f0f0;
  -webkit-animation: colorItemPicture 2s ease-in-out infinite;
          animation: colorItemPicture 2s ease-in-out infinite;
}
@-webkit-keyframes colorItemPicture {
  0% {
    background-color: #f0f0f0;
  }
  50% {
    background-color: #cfcfcf;
  }
  100% {
    background-color: #f0f0f0;
  }
}
@keyframes colorItemPicture {
  0% {
    background-color: #f0f0f0;
  }
  50% {
    background-color: #cfcfcf;
  }
  100% {
    background-color: #f0f0f0;
  }
}
.book-collection__content-default-item-title {
  width: 100%;
  height: 100px;
  border-radius: 2rem;
  background-color: #f0f0f0;
  -webkit-animation: colorItemTitle 2s ease-in-out infinite;
          animation: colorItemTitle 2s ease-in-out infinite;
}
@-webkit-keyframes colorItemTitle {
  0% {
    background-color: #f0f0f0;
  }
  50% {
    background-color: #cfcfcf;
  }
  100% {
    background-color: #f0f0f0;
  }
}
@keyframes colorItemTitle {
  0% {
    background-color: #f0f0f0;
  }
  50% {
    background-color: #cfcfcf;
  }
  100% {
    background-color: #f0f0f0;
  }
}
.book-collection__arrows {
  width: 90%;
  height: auto;
  margin: 0 auto;
  padding: 4rem 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 2rem;
}
.book-collection__arrows button {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: solid 0.4rem #dbdbdb;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: transparent;
  outline: none;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.book-collection__arrows button:hover {
  cursor: pointer;
  background-color: #e4e4e4;
}
.book-collection__arrows button svg {
  width: 2rem;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  pointer-events: none;
  fill: #696969;
}

@media (min-width: 1200px) {
  .book-collection {
    width: 100%;
    height: auto;
  }
  .book-collection__content, .book-collection__content-default {
    width: 90%;
    margin: 0 auto;
    padding: 4rem 0;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 4rem 1fr 4rem 1fr;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    overflow-x: hidden;
    gap: 4rem;
  }
  .book-collection__content-item, .book-collection__content-default-item {
    min-width: 100%;
    height: auto;
    min-height: 511px;
    gap: 1rem;
  }
  .book-collection__content-item-picture img, .book-collection__content-default-item-picture img {
    width: 100%;
    height: 20rem;
    min-height: 350px;
    border-radius: 0.5rem;
  }
  .book-collection__content-item-title, .book-collection__content-default-item-title {
    width: 100%;
    margin: 0 auto;
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: left;
  }
}