@import url('https://fonts.googleapis.com/css2?family=Lora:ital@1&family=Merriweather&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@200&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed&display=swap');


*{
  padding: 0;
  margin: 0;
  user-select: none;
}
body{
  position: relative;
  background-color: #F0F8FF
  /* background-color: #111;*/;
}
p{
  font-family: "Merriweather", serif;
  /* font-family: "Barlow Condensed",serif; */
  /* font-size: 1.6rem; */
  /* font-weight: 500; */
}
h1{
  color: white;
  /* text-shadow: 3px 2px 2px  black; */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 3em;
  z-index: 10;
}
h1 span {
    opacity: 0;
    display: inline-block;
    filter: blur(1px);
    animation: smoke 1.5s linear forwards;
}
@keyframes smoke {
    0% {
        opacity: 0;
        transform: rotateY(90deg);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: rotateY(0);
        filter: blur(0);
    }
}


.by{
  font-size: 0.5em;
  color: gold;
}
.carousel1, .carousel2, .carousel3, .carousel4,
  .carousel5, .carousel6, .carousel7, .carousel8,
  .carousel9, .carousel10, .carousel11, .carousel12,
  .carousel13, .carousel14, .carousel15, .carousel16,
  .carousel17, .carousel18, .carousel19, .carousel20,
  .carousel21, .carousel22, .carousel23, .carousel24, .carousel25{
  height: 100vh;
  position: relative;
  background-color: transparent;
  /* top: 50%;
  left:50%;

  transform: translate(-50%, -50%); */

}
span{
  cursor: pointer;
}

.pages span::after{
  /* text-decoration: underline; */
  /* text-decoration-color: grey; */
  /* text-shadow: 0 0 1px #050b45; */
  content: '';
  position: absolute;
  /* width: .4em;
  height: .4em; */
  /* background-color:white; */
  justify-content: center;
  border: 3px solid transparent;
  border-color: white transparent transparent;
  opacity: .5;

  /* left: -1.25em; */
  /* position: relative; */

}

span:hover{
  color: white;
}


span::before{
    content:attr(data-content);
    position: absolute;
    /*color: white;*/
    font-size: 1.3em;
    display: inline-block;
    border: 2px solid white;
    background-color: #050b45;

    top: -1px;
    border-radius: 10px 10px;
    opacity: 0;
    filter: Alpha(opacity=0);   /*window8*/

   white-space: nowrap;
   transition-property: opacity color;
   transition-timing-function: ease-out;
   transition-duration: 1s;
   transition-delay: .2s;
   -webkit-transition: opacity color  1s ease-out;
   -moz-transition: opacity color  1s ease-out;
   -o-transition: opacity color  1s ease-out;
 }


 span:hover::before{
    opacity: 1;
    filter:Alpha(opacity=100);
    /*color:white;*/
    transform: translateX(-25%);
    padding: 0px 4px;
}

.lab{
  position: absolute;
  color: white;
  top:2%;
  left:2%;
  font-size: 0.7rem;
  opacity: 0.5;
}
.end{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color:white;
  animation: fade-in 8s forwards;


}
@keyframes fade-in{
  0% {
    opacity: 0;
  }
  50%{
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.book-cover{
  height: calc(500px + 12vh);
  width: calc(400px + 10vw);
  /* background-color: brown; */

  z-index: 11;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  border-radius: 15px;
  border:  5px inset white;
  /* background-image: url("bookbackground.jpg"); */
  /* background-repeat: no-repeat; */
  background-size: cover;
  overflow: hidden;
  /* overflow: hidden; */
}

.carousel-control-next-icon{
  width: 5vw;
  height: 5vw;
  background-color: #050b45;
  border-radius: 0% 45%  45% 0%;
  /* position: absolute;
  right: 100px; */


}
.carousel-control-prev-icon{
  width: 5vw;
  height: 5vw;
  background-color: #050b45;
  border-radius: 45% 0%  0% 45%;


  /* position: absolute;
  left: 100px; */
}
.nav-btn{
  visibility: hidden;
  z-index: 20;
}


.pages{
  font-size: 1.8em;
  /* font-weight:500; */
  /* font-family: "Lora", serif; */
  /* background-color: lightgrey; */
  background-color: #EEF4EA;
  /* background-image: url('bk2.jpg');
  background-size: cover;
  background-repeat: no-repeat; */
  padding: 2em 1em;
  line-height: 2;
  /* word-spacing: 0.5em; */
  position: relative;
  top: 50%;
  left:50%;
  transform: translate(-50%, -50%);
  border: 3px outset white;
  border-radius: 15px;
  max-width: 550px;
  max-height: 790px;
  opacity: 1;
  text-align: justify;
  /* justify-content: space-between; */
  z-index: 10;
}
.page-number{
  color: grey;
  position: absolute;
  left: 50%;
  bottom: 2%;
  font-size: 0.7em;

}
.main-container{
  background-color: transparent;
  height: 100vh;

}
.Oo{
  font-size: 50px;
  padding: 0;
  margin: 0;
  line-height: 1;
  /* font-style: oblique; */
  font-family:serif;
}

#btn-read{
  position: absolute;
  border-radius: 10px;
  border-color: #FFF;
  right: 10px;
  top: 10px;
  color: #fff;
  background-color: transparent;
}

.last-page{
  text-align: center;
  background-color: white;
}
.last-page-img{
  width: 15em;
  border-radius: 15%;
  text-align: center;
}
.overlay{
  position: absolute;
  top: 0;
  left:0;
  border-radius: 10px;
  background-color: green;
  height: 100%;

}

.vid{
  position: absolute;
  top: 0;
  left:0;
  border-radius: 10px;
  /* bottom: 0; */
  /* right: 0; */
  /* min-height: 100%; */
  height: 100%;
  transform: translateX(-38%);
  /* background-size: cover; */
}
.vid2{
  position: absolute;
  top: 50%;
  left:70%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  height: 70%;
  opacity: 0.7;
}

.vid3{
  position: absolute;
  top: 50%;
  left:50%;
  transform: translate(-50%, -50%);
  height: 100%;
  /* transform: translateX(-30%); */
}
.jet-container{
  position: absolute;
  top:10px;
}
.jet{
  height: 1em;
}

/* #layout {
  color:transparent;
  height:600px;
  width:100%;
  height:100%;
} */

/* url(   https://www.manufosela.es/shooting_stars/hori.png), */
/* .stars {
  z-index: 0;
  position: absolute;
  background-image: url( https://www.manufosela.es/shooting_stars/stars_5.png);
  background-repeat: repeat-x, repeat-x repeat-y;
  transform:translate3D(0em, 0em, 0);
  animation: stars 21s ease;
  transform-style: preserve-3d;
} */


@media (max-width: 980px) {
  .pages{
    font-size: calc(1.32em);
    padding: 3em 1em;
    min-width:  370px;
    word-spacing: 0.2em;
  }
  .last-page-img{
    width: 10em;
  }
  .book-cover{
    height: calc(475px + 12vh);
    width: calc(375px + 7vw);
  }
}

.frame {
  width: 500px;
  height: auto;
  margin: 15% auto 0;
  position: absolute;
  width: 100%;
}

svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/**
 * Paper Plane
 */
/*Paper Plane: Container*/
.plane-container {
  width: 200px;
  margin: 0px auto;
  z-index: 6;
}
 /*Paper Plane: Image*/
.plane {
  width: 100%;
  height: 60px;
  z-index: 6;
}

/*Paper Plane: Animation*/
.plane-container {
  -webkit-animation: paper-plane-scoping 2s alternate infinite;
  -moz-animation: paper-plane-scoping 2s alternate infinite;
  animation: paper-plane-scoping 2s alternate infinite;

  -webkit-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
  animation-timing-function: linear;
}

@-webkit-keyframes paper-plane-scoping {
  0% {
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
  }
  100% {
    -webkit-transform: translateY(100px);
    -moz-transform: translateY(100px);
    transform: translateY(100px);
  }
}

.plane {
  -webkit-animation-timing-function: ease-in-out;
  -moz-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;

  -webkit-animation: paper-plane-soaring 4s forwards infinite;
  -moz-animation: paper-plane-soaring 4s forwards infinite;
  animation: paper-plane-soaring 4s forwards infinite;
}
@-webkit-keyframes paper-plane-soaring {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  40% {
    -webkit-transform: rotate(15deg);
    -moz-transform: rotate(15deg);
    transform: rotate(15deg);
  }
  50% {
    -webkit-transform: rotate(15deg);
    -moz-transform: rotate(15deg);
    transform: rotate(15deg);
  }
  60% {
    -webkit-transform: rotate(-10deg);
    -moz-transform: rotate(-10deg);
    transform: rotate(-10deg);
  }
  70% {
    -webkit-transform: rotate(-10deg);
    -moz-transform: rotate(-10deg);
    transform: rotate(-10deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}
.sun{
  position: absolute;
  background: yellow;
  height: 7em;
  width: 7em;
  border-radius: 50%;
  opacity: 0.5;
  left:70%;
  border: orange 0.234em solid;
  box-shadow: inset 0 0 0.5em orange, 0 0 0.5em 0 orange;
}

/**
 * Clouds
 */
.clouds {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  transform: translateZ(0);
  stroke: #E5E7E9;

  stroke-width: 10px;
  stroke
}

.cloud {
  position: absolute;
  top: 20%;
  width: 300px;
  right: 0;
  opacity: 1;
}

.cloud.front {
  z-index: 0;
}

.cloud.distant {
  z-index: -1;
}

.cloud.background {
  z-index: -1;
}

/*Cloud Sizing*/
.cloud.smaller {
  margin-right: 400px;
  width: 100px;
  margin-top: 50px;
}

.cloud.small {
  margin-right: 200px;
  width: 150px;
}

.cloud.big {
  width: 500px;
  margin-top: 50px;
  margin-right: 150px;
}

.cloud.massive {
  width: 600px;
  margin-top: 20px;
  margin-right: 0px;
}


/*Cloud: Animation*/
.cloud {
  -webkit-animation-name: cloud-movement;
  -webkit-animation-timing-function: linear;
  -webkit-animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 13s;

  -moz-animation-name: cloud-movement;
  -moz-animation-timing-function: linear;
  -moz-animation-direction: forwards;
  -moz-animation-iteration-count: infinite;
  -moz-animation-duration:13s;

  animation-name: cloud-movement;
  animation-timing-function: linear;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-duration:13s;
}

.slow {
  -webkit-animation-duration: 19.2s;
  -moz-animation-duration: 19.2s;
  animation-duration: 19.2s;
}

.slower {
  -webkit-animation-duration: 22.2s;
  -moz-animation-duration: 22.2s;
  animation-duration: 22.2s;
}

.slowest {
  -webkit-animation-duration: 26.5s;
  -moz-animation-duration: 26.5s;
  animation-duration: 26.5s;
}

.super-slow {
  -webkit-animation-duration: 40.5s;
  -moz-animation-duration: 40.5s;
  animation-duration: 40.5s;
}

@-webkit-keyframes cloud-movement {
  0% {
    opacity: 0.1;
    -webkit-transform: translateX(300px);
    -moz-transform: translateX(300px);
    transform: translateX(300px);
  }
  10% {

    opacity: 0.8;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
    -webkit-transform: translateX(-1000px);
    -moz-transform: translateX(-1000px);
    transform: translateX(-1000px);
  }
}
