/* Created with http://boockup.marco.land */

/* ---------------*/

@-webkit-keyframes rotatingAnimationX {
  0% {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
  100% {
    -webkit-transform: rotateX(360deg);
    transform: rotateX(360deg);
  }
}
@keyframes rotatingAnimationX {
  0% {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
  100% {
    -webkit-transform: rotateX(360deg);
    transform: rotateX(360deg);
  }
}
@-webkit-keyframes rotatingAnimationY {
  0% {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
  }
  100% {
    -webkit-transform: rotateY(360deg);
    transform: rotateY(360deg);
  }
}
@keyframes rotatingAnimationY {
  0% {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
  }
  100% {
    -webkit-transform: rotateY(360deg);
    transform: rotateY(360deg);
  }
}
@-webkit-keyframes rotatingAnimationZ {
  0% {
    -webkit-transform: rotateZ(0deg);
    transform: rotateZ(0deg);
  }
  100% {
    -webkit-transform: rotateZ(360deg);
    transform: rotateZ(360deg);
  }
}
@keyframes rotatingAnimationZ {
  0% {
    -webkit-transform: rotateZ(0deg);
    transform: rotateZ(0deg);
  }
  100% {
    -webkit-transform: rotateZ(360deg);
    transform: rotateZ(360deg);
  }
}
/* html,
body {
  margin: 0;
  padding: 0;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  color: #aeaeae;
  text-transform: uppercase;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0.1em;
} */

body {
  height: 400vh; /* Para permitir o scroll */
  margin: 0; /* Remove margens */
  background-color: rgb(0, 0, 0);
}

/* Estilos de fundo */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.container {
  position: fixed;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  -webkit-perspective: 1200px;
  perspective: 1200px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.container > div {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.boockup {
  -webkit-transform: rotateX(-18deg) rotateY(109deg) rotateZ(24deg);
  transform: rotateX(-18deg) rotateY(109deg) rotateZ(24deg);
}

.book-container {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-animation: 7s rotatingAnimationY linear infinite;
  animation: 7s rotatingAnimationY linear infinite;
}

.book-container > div {
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center center;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
  cursor: grab;
}
.book-top,
.book-bottom,
.book-side-right {
  background-size: auto auto;
  background-repeat: repeat;
  background-position: top left;
}
.book-front {
  background-image: url("../erre_img/book-cover.svg");
  width: 410.4px;
  height: 256.5px;
  -webkit-transform: translate3d(-205.2px, -128.25px, 0.95px)
    translate3d(0, 0, 0) rotateY(0deg);
  transform: translate3d(-205.2px, -128.25px, 0.95px) translate3d(0, 0, 0)
    rotateY(0deg);
}
.book-side-left {
  background-image: url("../erre_img/book-spine.jpg");
  width: 1.9px;
  height: 256.5px;
  -webkit-transform: translate3d(-205.2px, -128.25px, 0.95px)
    translate3d(-0.95px, 0, -0.95px) rotateY(-90deg);
  transform: translate3d(-205.2px, -128.25px, 0.95px)
    translate3d(-0.95px, 0, -0.95px) rotateY(-90deg);
}
.book-side-right {
  background-image: url("../erre_img/book-side.jpg");
  width: 1.9px;
  height: 256.5px;
  -webkit-transform: translate3d(-205.2px, -128.25px, 0.95px)
    translate3d(409.45px, 0px, -0.95px) rotateY(90deg);
  transform: translate3d(-205.2px, -128.25px, 0.95px)
    translate3d(409.45px, 0px, -0.95px) rotateY(90deg);
}
.book-top {
  background-image: url("../erre_img/book-top.jpg");
  background-position: bottom right;
  width: 410.4px;
  height: 1.9px;
  -webkit-transform: translate3d(-205.2px, -128.25px, 0.95px)
    translate3d(0px, -0.95px, -0.95px) rotateX(90deg);
  transform: translate3d(-205.2px, -128.25px, 0.95px)
    translate3d(0px, -0.95px, -0.95px) rotateX(90deg);
}
.book-bottom {
  background-image: url("../erre_img/book-top.jpg");
  width: 410.4px;
  height: 1.9px;
  -webkit-transform: translate3d(-205.2px, -128.25px, 0.95px)
    translate3d(0px, 255.55px, -0.95px) rotateX(-90deg);
  transform: translate3d(-205.2px, -128.25px, 0.95px)
    translate3d(0px, 255.55px, -0.95px) rotateX(-90deg);
}
.book-back {
  background-image: url("../erre_img/book-back.svg");
  width: 410.4px;
  height: 256.5px;
  -webkit-transform: translate3d(-205.2px, -128.25px, 0.95px)
    translate3d(0, 0, -1.9px) rotateY(180deg);
  transform: translate3d(-205.2px, -128.25px, 0.95px) translate3d(0, 0, -1.9px)
    rotateY(180deg);
}
