:root {
  --bg-color: #081b29;
  --main-color: #00abf0;
  --text-color: #333;
  --second-text-color: #555;
  --white-color: #fff;
  --cover-color: linear-gradient(45deg, #00abf0, #006e9a);
  --pages-color: linear-gradient(90deg, #fff, #ddd);
  --border: 0.125rem solid #00abf0;
  --box-shadow: 0 0 0.6rem rgba(0, 0, 0, 0.2);
  --book-corners: 1rem;
  --book-width: 45rem;
  --book-width: clamp(20rem, 45vw, 45rem);
  --book-height: 60rem;
  --book-height: calc(var(--book-width) * 1.33333);
  /* Book Slider */
  --slide-width: 80rem;
}

/* Reuse on page **************************/
section > h2 {
  color: var(--text-light);
  font-size: var(--h2-font-size);
  text-transform: uppercase;
  padding-bottom: 0.2em;
  text-align: center;
  border-bottom: 0.1em solid var(--action-color);
  margin: 0 auto;
}

/* Hero Section *********************/
section#hero {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  background-image: url(/img/hero-background.jpg);
  background-size: cover;
  background-position-y: 100%;
  background-position-x: 40%;

  margin-top: 8rem;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
  mask-image: linear-gradient(to right, transparent, #000 2% 98%, transparent);
}

.intro-section {
  display: flex;

  justify-content: center;
  /* flex-direction: column; */
  gap: 2rem;
  margin-bottom: 5rem;
}

.intro-section--info {
  display: flex;
  flex-direction: column;
  align-items: center;

  h1 {
    font-size: var(--h1-font-size);
    color: var(--text-light);
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  p {
    color: var(--text-light);
    font-size: var(--normal-font-size);
    margin-bottom: 1.5rem;
  }
}

/* Info Card*********************/
.card {
  display: flex;
  flex-direction: column;

  width: fit-content;
  padding: 0.5rem;
  margin-bottom: -0.5rem;
  /* border: 2px solid black; */
  border-radius: 5px;
  color: var(--text-dark);
  background-color: #fff;
  background-color: var(--secondary-color);
  /* box-shadow: 2rem 4rem 5rem rgba(0, 0, 0, 0.219); */
}

.info-card {
}
.count-details {
  font-size: var(--normal-font-size);
  margin: 0.2rem;
}
.count-details span:nth-child(1) {
  font-size: 2rem;
  width: 2rem;
  height: 2rem;
  color: var(--text-dark);
}
.count-details span:nth-child(2) {
  font-size: var(--normal-font-size);
  color: var(--text-dark);
  padding-left: 0.75em;
}

/* Place holder */
.placeholder-bg {
  background-image: linear-gradient(
    to right,
    #e2e2e3 0%,
    #c7c8cb 10%,
    #e2e2e3 20%,
    #e2e2e3 100%
  );
  background-size: 200% 100%;
  animation: bgPos 1.2s linear infinite;
  border: 1px solid #c7c8cb;
  opacity: 0.4;
}
.animated-bg-text {
  border-radius: 50px;
  display: inline-block;
  /* height: 0.75lh; */
  /* width: 65%; */
}
@keyframes bgPos {
  0% {
    background-position: 50% 0;
  }
  100% {
    background-position: -150% 0;
  }
}

/* Bottom row of hero section */
.hero--bottom-row {
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  position: relative;
}

.bottom-row--img-container {
  max-width: 60%;

  margin-bottom: 5rem;
  img {
    width: 100%;
  }
}

.hero-book-stack {
  max-width: 35%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-book--wrapper {
  font-size: clamp(12px, calc(2vw + 0.5rem), 32px);
  transform: translateX(100%);
  transition: transform 1000ms ease 800ms;
}

.hero-book--wrapper[data-stack='1'].show-book {
  transform: translateX(25%);
}
.hero-book--wrapper[data-stack='2'].show-book {
  transform: translateX(15%);
}
.hero-book--wrapper[data-stack='3'].show-book {
  transform: translateX(5%);
}

.hero-book {
  background-size: 100% 100%;
  transition: transform 300ms ease;
}

.hero-book--wrapper[data-stack='1'] .hero-book {
  background-image: url(/img/book-side-1.png);
  padding: 0.5em 0;
  .book-btn {
    margin: 0.1em;
  }
}
.hero-book--wrapper[data-stack='2'] .hero-book {
  background-image: url(/img/book-side-2.png);
  padding: 0.75em 0;
  .book-btn {
    margin: 0.2em;
  }
}
.hero-book--wrapper[data-stack='3'] .hero-book {
  background-image: url(/img/book-side-3.png);
  padding: 1em 0;
  .book-btn {
    margin: 0.4em;
  }
}

.hero-book:hover {
  transform: scale(1.1) translateY(-4%);
  z-index: 50;
}

.book-btn {
  text-decoration: none;
  font-size: 3.2rem;
  font-size: clamp(12px, calc(2vw + 0.5rem), 32px);
  font-weight: 600;
  padding: 0.1em 0.2em;

  color: var(--text-dark);
  background-color: var(--action-color);
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  opacity: 0.8;

  /* background-color: rgba(161, 172, 166, 0.539);
  box-shadow: 2rem 4rem 5rem rgba(0, 0, 0, 0.58) inset;
  -moz-box-shadow: inset 0 -10px 10px -10px #000000;
  -webkit-box-shadow: inset 0 -10px 10px -10px #000000;
  box-shadow: inset 0 -10px 10px -10px #000000;*/
}

.img-resource {
  position: absolute;
  color: var(--text-light);
  bottom: 0;
  right: 20px;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  a {
    text-decoration: none;

    color: var(--action-color);
  }
}
/* Hero Marquee *********************/
.hero-marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  /* background: var(--primary-color); */
  mask-image: linear-gradient(to right, transparent, #000 5% 95%, transparent);
}

.hero-marquee--slide {
  display: inline-flex;
  margin: 0;
  animation: marquee-scroll 15s infinite linear;
}
.hero-marquee:hover .hero-marquee--slide {
  animation-play-state: paused;
}

.img-container {
  width: 15rem;
  width: clamp(5rem, 10vw, 15rem);
  height: 15rem;
  height: clamp(5rem, 10vw, 15rem);
  margin: 0.2rem;
  overflow: hidden;

  img {
    width: 100%;
    height: 100%;
    transition: all 0.4s;
  }
  img:hover {
    transform: scale(1.1);
  }
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* 3D Book Section *********************/
section#members {
  display: flex;
  flex-direction: column;
  > h2 {
    margin-bottom: -5rem;
    z-index: 2;
  }
}

.profile-in-book--container {
  display: grid;
  grid-template-columns: repeat(3, 33.33333333%);

  align-items: center;
  justify-content: center;
}
.member-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: var(--book-height);
  position: relative;

  transition: transform 1s ease-in-out;

  /* border: 2px solid green; */
}

.member-wrapper.active-book {
  z-index: 20;
}
.book-wrapper {
  width: var(--book-width);

  height: var(--book-height);
  padding: 2rem 2rem 2rem 0.01rem;
  /* margin: 0 5rem; */
  perspective: 250rem;
  position: absolute;

  transition: all 1s ease-in-out;
  transform: scale(0.6);
}

.book-wrapper.active-book {
  transform: scale(1);
}

.cover {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  width: 100%;
  height: 100%;

  border-top-right-radius: var(--book-corners);
  border-bottom-right-radius: var(--book-corners);
}
.book-wrapper[data-member='emily'] .cover,
.book-wrapper[data-member='emily'] .inside--front-cover {
  background: linear-gradient(45deg, #21392f, #476f5d);
}
.book-wrapper[data-member='steven'] .cover,
.book-wrapper[data-member='steven'] .inside--front-cover {
  background: linear-gradient(45deg, #443b34, #6e5f54);
}
.book-wrapper[data-member='dan'] .cover,
.book-wrapper[data-member='dan'] .inside--front-cover {
  background: linear-gradient(45deg, #3d4352, #565c72);
}

.front-cover {
  transform-origin: left;
  transform-style: preserve-3d;
  z-index: 100;

  box-shadow: 2rem 4rem 5rem rgba(0, 0, 0, 0.219);
  transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
  scroll-margin-top: 200px;
}

.front-cover.turn {
  transform-origin: left;
  transform: rotateY(-180deg);
  z-index: 0;
}
.front-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.front-cover .inside--front-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  backface-visibility: hidden;
}

.front-cover .inside--front-cover {
  transform: rotateY(180deg);
  background: linear-gradient(-45deg, #00abf0, #006e9a);
  display: flex;
  flex-direction: column;

  padding: 2rem;
  border-top-left-radius: var(--book-corners);
  border-bottom-left-radius: var(--book-corners);
  border-right: 1px solid #006e9a;
}

.back-cover {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  z-index: 0;
}
.back-cover--img {
  align-self: center;
  width: 75%;
  margin-top: 5rem;
  border-radius: 5px;
  overflow: hidden;
  img {
    width: 100%;
    border-radius: 5px;
  }
}
.back-cover button {
  /* position: absolute;
  bottom: 2rem; */
  margin: auto 0 0 auto;
  width: fit-content;
}
.inside--front-cover .btn--close-book,
.back-cover .btn--close-book {
  width: fit-content;
  font-size: 1.4rem;
}

.book {
  position: relative;
  left: 1px;
  width: 100%;
  height: 100%;
  display: flex;
  perspective: 250rem;
  transition: transform 800ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.book-wrapper.active-book .book {
  transform: translateX(-1px);
}

.book .book-page {
  font-size: 1.2rem;
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--pages-color);
  display: flex;
  padding: 1.5rem;
}

.book-page.page-left {
  box-shadow: -0.6rem 0.6rem 0.6rem rgba(0, 0, 0, 0.1);
}

.book-page.page-right {
  position: absolute;
  right: 0;
  transform-style: preserve-3d;
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.book-page.page-right.turn {
  transform: rotateY(-180deg);
}

.book-page .page-front,
.book-page .page-back {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  background: var(--pages-color);
  padding: 1.5rem 2rem;
}

.book-page .page-front {
  transform: rotateY(0) translateZ(1px);
}

.book-page .page-back {
  transform: rotateY(180deg) translateZ(1px);
}

.number-page {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
}

.nextprev-btn {
  position: absolute;
  bottom: 0.9rem;
  right: 1.5rem;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  font-size: 2rem;
  color: var(--second-text-color);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
}

.nextprev-btn:hover {
  color: var(--main-color);
}

.nextprev-btn.back {
  left: 1.5rem;
}

.hide {
  display: none;
}
.flex-container {
  display: flex;
}

.front-cover--title {
  font-size: var(--h1-font-size);
  font-family: var(--font-normal);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Front Cover Images */
/*******************************************/
/***animated pop-out effect***************/
.container-tribunal {
  display: flex;
  align-items: end;
  justify-content: center;
  transform: scale(0.8);
  margin-bottom: -2rem;
}

.person img {
  width: 100%;
  display: block;
}

.person {
  position: relative;
}

.person-container {
  aspect-ratio: 1/1.4;
  display: grid;
  align-items: center;
  height: 75%;
  border-radius: 0 0 100vw 100vw;
  overflow: hidden;

  width: 30.5rem;
  transform: scale(0.7);
  transition: transform 250ms ease-in-out;
}

.person-container:hover {
  transform: scale(1.1);
}

.person-circle {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  margin-inline: auto;
  object-fit: cover;
}

.person-img {
  position: relative;
  bottom: -2rem;
  /* z-index: 2; */
  transform: scale(1.1);
  transition: transform calc(250ms * 1.2) ease-in-out;
}

.person-container:hover .person-img {
  transform: scale(1.1) translateY(-1.5rem);
}

/* background behind open books *******************************/
.background-books {
  position: absolute;
  /* top: 0; */
  left: 0;
  background: rgba(0, 0, 0, 0.79);
  width: 100%;
  height: 100%;
  transition: transform 0.5s linear;
  z-index: 3;
}
.background-books.shrink-hide {
  transform: scale(0);
}

/* Page 1 *************************************/
.section-quote {
  margin-bottom: 4.4rem;
  min-height: min(25ex);
}
.page-heading {
  font-size: var(--h2-font-size);
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1.2rem;
  text-align: center;
}
.person-quote {
  font-size: var(--normal-font-size);
  /* -=: 1.5;
  padding-left: 1.5rem;
  max-width: 40ch; */
  /* text-align: justify; */
}

.section-quote p:last-child {
  font-size: var(--font-normal);
  padding-left: 1.5rem;

  margin-top: 0.5rem;
}

.person-icon {
  height: 4rem;
  width: 4rem;

  z-index: 4;
}
.goodreads-icon {
  height: 100%;
  width: 100%;
}

/* Page 2 and  Page 3*************************************/

.member-picks[data-part='2'] {
  margin-top: 50px;
}
.book-item {
  display: flex;
  flex-direction: column;

  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.title-author {
  h4 {
    font-size: 2rem;
  }
  p {
    font-size: 1.6rem;
  }
}
.rating {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
}
.member-rating {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;

  span {
    /* width: 15%; */
    font-size: 1.6rem;
    padding: 0 0.1rem;
    color: goldenrod;
  }
}

/* Page 4 *************************************/
/* Page 5 *************************************/
/* Page 6 *************************************/

/* Recent Books Section*************************************/

section#recent-books {
  --_animation: 500ms ease-in;
  display: flex;
  flex-direction: column;
  h2 {
    margin-bottom: 3rem;
  }
}
.recent-books--container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--secondary-color);
  margin: 5rem auto;
}
.books__tab-container {
  display: flex;
  justify-content: space-around;
  width: 100%;
  max-width: 100rem;
  /* justify-content: space-between; */
  gap: 1rem;
}

.books__tab {
  transform: translateY(-50%);
}

.btn__tab {
  flex-basis: 30%;
  background-color: var(--action-color);
  font-size: var(--btn-font-size);
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-weight: 600;
  border: none;
  padding: 1.25rem 4.5rem;
  border-radius: 10rem;
  cursor: pointer;
  transition: transform var(--_animation), background-color var(--_animation);
}

.btn__tab:hover {
  background-color: var(--action-color-hover);
}

.book__tab--active {
  transform: translateY(-66%);
}

.book-fade-container {
  display: flex;
  align-items: center;

  margin: 0 5rem 5rem;
}

.book-fade {
  position: relative;
  width: 80vw;
  max-width: 100rem;

  min-height: 70rem;
  transition: transform var(--_animation);
}

.books__content {
  position: absolute;
  display: flex;
  justify-content: space-around;
  left: 0;
  right: 0;
  padding: 2.5rem;

  background-color: #a1aca6;

  transition: opacity var(--_animation), z-index var(--_animation);
  opacity: 0;
  /* JUST PRESENTATIONAL */
}

.books__content.books__content--active {
  /* display: grid; */
  opacity: 1;
  z-index: 2;
}

.book-container {
  display: flex;
  justify-content: space-around;
  width: 80rem;

  width: var(--slide-width);
}

.book-container--img {
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
  width: 20%;
}

.book-img {
  width: clamp(1rem, 100%, 16rem);
  margin: 0 auto;
  border-radius: 3px;
  box-shadow: 5px 0 25px rgba(0, 0, 0, 0.214), -5px 0 25px rgba(0, 0, 0, 0.214),
    0 5px 25px rgba(0, 0, 0, 0.214), 0px -5px 25px rgba(0, 0, 0, 0.214);
}

.group-rating {
  display: flex;
  justify-content: space-between;

  padding: 0.5rem;
  margin-top: 0.5rem;
  span {
    width: 15%;
    font-size: 2rem;
    padding: 0 0.1rem;
  }
}

.book-container--details {
  max-width: 70%;
}

.book-container--details .book-title {
  font-size: 3.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.book-author {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.book-description {
  min-height: 7lh;
  max-height: 10lh;
  font-size: 1.8rem;
  transition: max-height 500ms ease;
  overflow: hidden;
}

.book-description.expand {
  height: auto;
  max-height: 20lh;
}
.book-container--details .book-description--show {
  display: flex;
  justify-content: end;
  margin-bottom: 3rem;
  height: 0;
  overflow: hidden;
}
.book-container--details .book-description--show a {
  font-size: var(--normal-font-size);
  color: Blue;
  cursor: pointer;
  padding-right: 2rem;
  transition: opacity 500ms ease-in;
}

.book-description.show + div {
  opacity: 1;
  height: fit-content;
}
.book-container--details .book-description--show a:nth(2) {
  display: none;
}

.book-description + .book-description--show a:nth-child(2) {
  display: none;
}
.book-description.expand + .book-description--show a:nth-child(2) {
  display: block;
}
.book-description.expand + .book-description--show a:nth-child(1) {
  display: none;
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 0.4rem;
  align-content: flex-start;
}

.book-pick {
}

.book-pick--img {
  margin-top: 2.5rem;
  margin: 2rem;
  float: right;
  max-width: 10rem;
}

.last-img {
  width: 45%;
  img {
    width: 100%;
  }
}

/*******************************************
* Book Slider
*******************************************/
:root {
  --thumb-height: 230px;
  --thumb-item--width: 80px;
  --thumb-item--width-focused: 130px;
  --thumb-item--margin: 2rem;
}

section.book-slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--section-mb);
  h2 {
    margin-bottom: 3rem;
  }
}

.book-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;

  background-color: var(--secondary-color);
}

.book-carousel .list {
  --list-width: clamp(50px, 90vw, 800px);

  width: var(--list-width);
  height: calc(var(--list-width) * 0.8);
  /* max-height: 60vh; */

  margin: 2rem;
  position: relative;
  /* overflow: hidden; */
}

.book-carousel .list .item {
  background-color: #081b29;
  position: absolute;
  width: 5px;
  top: 120%;
  left: 50%;
  height: fit-content;
  z-index: 10;

  opacity: 0;
  transition: transform 1000ms ease-in;

  img {
    width: 100%;
  }
}
.book-carousel .list .item .content {
  background-color: #081b29;
  width: 100%;
  text-align: center;
  padding-bottom: 1rem;

  .book-title {
    font-size: var(--h4-font-size);
    color: var(--text-light);
    font-weight: bold;
    letter-spacing: 2px;
    opacity: 0;
  }
}

.book-carousel .list .item:nth-child(1),
.book-carousel .list .item:nth-child(2) {
  width: 100%;
  height: fit-content;
  left: 0;
  top: 0;
  opacity: 1;
  /* object-fit: contain; */
  z-index: 40;
  .book-title {
    opacity: 1;
  }
}
.book-carousel .list .item:nth-child(1) {
  z-index: 15;
}

.book-carousel.next .list .item:nth-child(3) {
  z-index: 45;
  opacity: 1;
  animation: showItem 0.5s linear 1 forwards;
}
@keyframes showItem {
  to {
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100%; */
    /* height: clamp(50px, 70vh, 90vw); */
    object-fit: contain;
    border-radius: 0;
  }
}

.book-carousel.prev .list .item:nth-child(2) {
  z-index: 45;
  animation: hideItem 0.5s linear 1 forwards;
  .title {
    opacity: 0;
  }
}
@keyframes hideItem {
  to {
    width: 5px;
    height: 5px;
    top: 120%;
    left: 50%;
    z-index: 10;
    opacity: 0;
  }
}

.book-carousel.next .list .item:nth-child(3) .book-title {
  transform: translateY(50px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent 0.5s 0.5s linear 1 forwards;
}
@keyframes showContent {
  to {
    transform: translateY(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

.book-carousel.prev .list .item:nth-child(1) .book-title {
  transform: translateY(50px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent 0.5s 0.5s linear 1 forwards;
}
.book-carousel.prev .list .item:nth-child(2) .book-title {
  animation: contentOut 1.5s linear 1 forwards !important;
}

@keyframes contentOut {
  to {
    transform: translateY(-150px);
    filter: blur(20px);
    opacity: 0;
  }
}

/* Thumbnail Row */
.book-carousel .row {
  display: flex;
  justify-content: center;
  margin: 0 4rem 0 4rem;
}

/* arrows */
.book-carousel .row button {
  width: 5rem;
  height: 5rem;
  margin: auto 2rem auto 2rem;
  border-radius: 50%;
  background-color: #443b34;
  border: none;
  color: var(--text-light);
  font-family: monospace;
  font-weight: bold;
  font-size: 2.4rem;
}
.book-carousel button:hover {
  background-color: #fff;
  color: #000;
}
/* Thumbnail */
.thumbnail {
  width: calc(
    2 * var(--thumb-item--width) + var(--thumb-item--width-focused) +
      var(--thumb-item--margin) * 4
  );
  height: var(--thumb-height);
  box-sizing: content-box;

  z-index: 100;
  position: relative;
  overflow: hidden;
}

.thumbnail .sleeve {
  display: flex;
  align-items: center;
  padding: 0 var(--thumb-item--margin);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 1s ease-in;
}

.thumbnail .item {
  width: var(--thumb-item--width);
  margin-right: 2rem;
  margin-right: var(--thumb-item--margin);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: width 1s ease-in;
}
.thumbnail .item img {
  width: 100%;
  object-fit: contain;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* next */
.book-carousel .thumbnail .sleeve .item.focused {
  width: var(--thumb-item--width-focused);
}

.book-carousel.next .thumbnail .sleeve {
  animation: sleeveLeft 1000ms linear 1 forwards;
}

@keyframes sleeveLeft {
  to {
    /* transform: translate(-120px, -50%); */
    transform: translate(
      calc((var(--thumb-item--width) + var(--thumb-item--margin)) * -1),
      -50%
    );
  }
}

/* prev */
.book-carousel.prev .thumbnail .sleeve {
  transform: translate(
    calc((var(--thumb-item--width) + var(--thumb-item--margin)) * -1),
    -50%
  );

  animation: sleeveRight 1000ms linear 1 forwards;
}
@keyframes sleeveRight {
  to {
    transform: translate(0, -50%);
  }
}

/* animation */

.book-carousel .list .item.show {
  /* opacity: 1; */
  transform: scale(1);
}

.book-carousel.prev .list .item {
  /* z-index: 100; */
}

.book-carousel.next .row button,
.book-carousel.prev .row button {
  pointer-events: none;
}
