html, body {
  min-height: 100vh;
  width: 100%;
  line-height: 1;
}

body, body * {
  /*all: unset;*/
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

ol, ul, menu {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html,
body {
  overflow: hidden;
  font-family: Helvetica Neue, Helvetica, sans-serif;
}

.themes {
  width: 1328px;
  margin: 200px auto;
  display: grid;
  grid-template-columns: 1fr 1 fr 1fr 1fr;
  grid-template-rows: 1fr;
  position: relative;
}
.themes:hover .instruction {
  opacity: 0.4;
}
.themes.paused .theme:before {
  opacity: 0;
}
.themes.paused .books {
  animation-play-state: paused;
}
.themes .navigation {
  display: flex;
  padding: 4em 0 1em 4em;
  grid-column-start: 1;
  grid-row-start: 1;
  z-index: 999;
  height: 2em;
  pointer-events: none;
}
.themes .navigation .link {
  display: block;
  padding: 0.85em 2em 0.6em 2em;
  text-transform: uppercase;
  border-radius: 2em;
  font-size: 0.8em;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-right: 1em;
  color: #555;
  pointer-events: auto;
}
.themes .navigation .link:hover {
  color: #555;
  background: #fff;
}
.themes .navigation .link.active {
  color: #000;
  background: #fff;
  mix-blend-mode: multiply;
  cursor: default;
}
.themes .instruction {
  position: absolute;
  bottom: 4.75em;
  right: 50%;
  font-weight: 400;
  letter-spacing: 0.01em;
  z-index: 999;
  opacity: 0.4;
  font-size: 0.8;
  opacity: 0;
  transition: opacity 0.15s ease-out;
}
.themes .theme {
  position: relative;
  padding: 0;
  padding-left: 4em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0s 0.2s ease-out;
  grid-column-start: 1;
  grid-row-start: 1;
  padding-top: 10em;
  padding-bottom: 12em;
  border-radius: 0.5em;
  overflow: hidden;
  color: #0A1625;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.062745098));
}
.themes .theme#theme1 {
  background-color: #E4E9FC;
}
.themes .theme#theme1 .cta {
  background-color: #135EC1;
}
.themes .theme#theme2 {
  background-color: #DDF4EB;
}
.themes .theme#theme2 .cta {
  background-color: #009A5F;
}
.themes .theme#theme3 {
  background-color: #F8E5EA;
}
.themes .theme#theme3 .cta {
  background-color: #C0627B;
}
.themes .theme.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 800;
  transition: opacity 0.2s 0s ease-out;
}
.themes .theme .title {
  font-size: 1.25em;
  font-weight: 500;
  margin-bottom: 0.8em;
}
.themes .theme .description {
  position: relative;
  margin-right: calc(50% - 4em);
  z-index: 200;
  line-height: 1.5;
  font-size: 1.2em;
}
.themes .theme .cta {
  display: inline-block;
  background: #135EC1;
  color: #fff;
  padding: 1.5em 2em;
  line-height: 0;
  position: relative;
  font-size: 1.2em;
  letter-spacing: 0.025em;
  z-index: 200;
  margin-top: 3em;
  font-weight: 500;
  border-radius: 0.25em;
  text-decoration: none;
  text-align: center;
  position: absolute;
  bottom: 3em;
}
.themes .theme .cta:hover {
  background: #333 !important;
}

.books {
  display: flex;
  transform-origin: 0 100%;
  flex-wrap: wrap;
  transform: rotateX(45deg) rotateZ(35deg) translateY(calc(100% / (var(--count) / 3)));
  padding: 0 1em;
  width: 50%;
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 100;
  animation: scroll 3s linear infinite reverse;
}
.books:hover .book {
  opacity: 0.1;
  filter: saturate(0) drop-shadow(1em 1em 1em rgba(128, 128, 128, 0.2));
}
@keyframes scroll {
  to {
    transform: rotateX(45deg) rotateZ(35deg) translateY(0);
  }
}
.books .book {
  width: 20%;
  margin-right: 2em;
  margin-bottom: 2em;
  aspect-ratio: 1/1.5;
  transition: all 0.1s ease-out;
  cursor: pointer;
  background-color: #fff;
  border-radius: 0.5em;
  border-right: 0.5em solid transparent;
  border-bottom: 0.5em solid transparent;
  border-top-right-radius: 1em;
  border-bottom-left-radius: 1em;
  position: relative;
  background-origin: border-box;
  filter: saturate(1.25) drop-shadow(1em 1em 1em rgba(128, 128, 128, 0.1450980392));
}
.books .book:hover {
  background: #fff;
  transform: translateY(-0.5em) translateX(-0.5em);
  filter: saturate(1) drop-shadow(1em 1em 1em rgba(128, 128, 128, 0.2));
  border-color: #fff;
  opacity: 1;
  z-index: 9999;
}
.books .book:hover:before {
  opacity: 0;
}
.books .book:hover figcaption {
  opacity: 1;
}
.books .book a {
  display: block;
  width: 100%;
  height: 100%;
}
.books .book a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 0.33em;
  background-image: linear-gradient(to right, rgba(128, 128, 128, 0.2), rgba(128, 128, 128, 0.2) 0.25em, transparent 0.25em), linear-gradient(-35deg, rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.25));
  transition: opacity 0.2s ease-out;
}
.books .book a:after {
  content: "";
  position: absolute;
  top: -1.25em;
  left: -1.25em;
  bottom: -1.25em;
  right: -1.25em;
}
.books .book a figure {
  display: block;
  width: 100%;
  height: 100%;
}
.books .book a figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.3em;
}
.books .book a figure figcaption {
  position: absolute;
  left: 50%;
  width: 150%;
  margin-top: 2em;
  top: 100%;
  z-index: 999;
  font-size: 0.8em;
  font-weight: 500;
  color: #222;
  z-index: 9999;
  transform: rotateX(0deg) rotateZ(-35deg) rotateY(45deg) scale(1.5) translateX(-1em);
  text-align: center;
  opacity: 0;
  background: white;
  padding: 0.6em 0.5em 0em 0.5em;
  border-radius: 1em;
  line-height: 1.25;
  max-height: 3.75em;
  border-bottom: 0.5em solid transparent;
  letter-spacing: 0.025em;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/*# sourceMappingURL=style.css.map */
