.bookshelfCollection {
  margin: 30px;
  margin-bottom: 20px;
  text-align: center;
  margin-top: 10px;
}

.bookshelfCollection .bookCollection {
  width: 120px;
  height: auto;
  display: inline-block;
  margin: 0 0px 0px;
  position: relative;
  vertical-align: top;
  transition: all ease-in-out 0.2s;
  overflow: visible; /* Ensure shadow isn't clipped */
}

.bookshelfCollection .bookCollection::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  box-shadow: 0px 15px 20px -5px rgba(0, 0, 0, 0.4);
  z-index: -1;
}

@media screen and (max-width: 600px) {
  .bookshelfCollection .bookCollection {
    width: 42vw;
    height: calc(1.53 * 42vw);
  }
}

.bookshelfCollection .bookCollection:hover {
  box-shadow: 10px 2px 5px -10px rgba(0, 0, 0, 0.1);
  transform: scale(1.2);
}

.bookshelfCollection .bookCollection .linkCollection {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0.05) 0.75%,
    rgba(255, 255, 255, 0.5) 1%,
    rgba(255, 255, 255, 0.6) 1.3%,
    rgba(255, 255, 255, 0.5) 1.4%,
    rgba(255, 255, 255, 0.3) 1.5%,
    rgba(255, 255, 255, 0.3) 2.4%,
    rgba(0, 0, 0, 0.05) 2.7%,
    rgba(0, 0, 0, 0.05) 3.5%,
    rgba(255, 255, 255, 0.3) 4%,
    rgba(255, 255, 255, 0.3) 4.5%,
    rgba(244, 244, 244, 0.1) 5.4%,
    rgba(244, 244, 244, 0.1) 99%,
    rgba(144, 144, 144, 0.2) 100%
  );
  box-shadow: inset 0 -1px 4px rgba(0, 0, 0, 2);
}

.bookshelfCollection .bookCollection .coverCollection {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  border-radius: 0 6px 6px 0;
  overflow: hidden;
}

.bookshelfCollection .bookCollection .coverCollection img {
  min-width: 100%;
  min-height: 100%;
}

.divider {
  position: relative;
  height: 1px;
}

.div-transparent:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0%;
  right: 50%;
  width: 70%;
  height: 1px;
  background-image: linear-gradient(
    to right,
    transparent,
    rgb(117, 117, 117),
    transparent
  );
}
