@import url('https://fonts.googleapis.com/css2?family=Lora:ital@1&family=Merriweather&display=swap');


*{
  padding: 0;
  margin: 0;
  user-select: none;
}
body{
  /* position: relative; */
  background-image: url('kids.jpg');
  background-size: cover;
  background-repeat: no-repeat;
}
p{
  /* font-family: "Lora", serif; */
  font-family: "Merriweather",serif;
}
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{
  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;
}

.book-cover{
  height: calc(500px + 13vh);
  width: calc(400px + 10vw);
  /* background-color: brown; */

  z-index: 3;
  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;
}


.pages{
  font-size: 1.8em;
  /* font-weight:500; */
  /* font-family: "Lora", serif; */
  background-color: lightgrey;
  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; */
}
.page-number{
  color: grey;
  position: absolute;
  left: 50%;
  bottom: 2%;
  font-size: 0.7em;

}
.main-container{
  background-color: transparent;
  height: 100vh;

}

#btn-read{
  position: absolute;
  border-radius: 10px;
  right: 10px;
  top: 10px;
  color: #90C1E3;
  background-color: transparent;
}

.last-page{
  text-align: center;
  background-color: white;
}
.last-page-img{
  width: 15em;
  border-radius: 15%;
  text-align: center;
}
.end{
  background-color: #fff;
  border-radius: 5px;
}

.vid2{
  border: solid;
  border-radius: 10px;
  border-color: white;
}

.vid{
  position: absolute;
  top: 0;
  left:0;
  border-radius: 10px;
  /* bottom: 0; */
  /* right: 0; */
  /* min-height: 100%; */
  /* height: 100%; */
  width: 100%;
  /* background-size: cover; */
}
/* customizable snowflake styling */
.snowflake {
  color: #fff;
  font-size: 1em;
  font-family: Arial;
  text-shadow: 0 0 1px #000;
}

@-webkit-keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@-webkit-keyframes snowflakes-shake{0%{-webkit-transform:translateX(0px);transform:translateX(0px)}50%{-webkit-transform:translateX(80px);transform:translateX(80px)}100%{-webkit-transform:translateX(0px);transform:translateX(0px)}}@keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@keyframes snowflakes-shake{0%{transform:translateX(0px)}50%{transform:translateX(80px)}100%{transform:translateX(0px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;-webkit-animation-name:snowflakes-fall,snowflakes-shake;-webkit-animation-duration:10s,3s;-webkit-animation-timing-function:linear,ease-in-out;-webkit-animation-iteration-count:infinite,infinite;-webkit-animation-play-state:running,running;animation-name:snowflakes-fall,snowflakes-shake;animation-duration:10s,3s;animation-timing-function:linear,ease-in-out;animation-iteration-count:infinite,infinite;animation-play-state:running,running}.snowflake:nth-of-type(0){left:1%;-webkit-animation-delay:0s,0s;animation-delay:0s,0s}.snowflake:nth-of-type(1){left:10%;-webkit-animation-delay:1s,1s;animation-delay:1s,1s}.snowflake:nth-of-type(2){left:20%;-webkit-animation-delay:6s,.5s;animation-delay:6s,.5s}.snowflake:nth-of-type(3){left:30%;-webkit-animation-delay:4s,2s;animation-delay:4s,2s}.snowflake:nth-of-type(4){left:40%;-webkit-animation-delay:2s,2s;animation-delay:2s,2s}.snowflake:nth-of-type(5){left:50%;-webkit-animation-delay:8s,3s;animation-delay:8s,3s}.snowflake:nth-of-type(6){left:60%;-webkit-animation-delay:6s,2s;animation-delay:6s,2s}.snowflake:nth-of-type(7){left:70%;-webkit-animation-delay:2.5s,1s;animation-delay:2.5s,1s}.snowflake:nth-of-type(8){left:80%;-webkit-animation-delay:1s,0s;animation-delay:1s,0s}.snowflake:nth-of-type(9){left:90%;-webkit-animation-delay:3s,1.5s;animation-delay:3s,1.5s}


@media (max-width: 988px) {
  .pages{
    font-size: 1.3em;
    padding: 3em 1em;
    min-width:  370px;
    word-spacing: 0.2em;
  }
  .last-page-img{
    width: 10em;
  }
  .book-cover{
    height: calc(475px + 10vh);
    width: calc(375px + 7vw);
  }
}
