@import url('https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Hindi:ital@0;1&display=swap');
body{
    margin: 0;
    overflow-x: hidden;
    background-color: #f0e3d2cc;

}
/* width */
::-webkit-scrollbar {
    width: 5px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #f1f1f100;
  }

/* Handle */
::-webkit-scrollbar-thumb {
    border-radius: 1rem;
    height: 5px;
    background: rgb(33, 2, 2);

  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
#container{
    padding: 1rem;
    color: black;
    z-index: 2;
    width: auto;
    height: max-content;
    overflow-y: scroll;

    
    font-family: 'Tiro Devanagari Hindi', serif;
}

#heading{
    font-size: 1.5rem;
    /* position: fixed;    */
    margin-left: 1rem;
    margin-right: 1rem;
    display: flex;
    justify-content: space-between;
    z-index: 2;
    color: #0000007d;
    /* border: 1px solid black;  */
}
#dark-light{
    display: flex;
    align-items: center;
}
/* .content{
} */

.page{
  font-size: 2rem;
  inset: 0;
  height: fit-content;
  overflow-y: scroll;
  margin-top: 6rem;
  margin-bottom: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  text-align: justify;
  text-justify: inter-word;
  /* border: 2px solid black; */
  transition: 400ms opacity ease-in-out;
  /* transition-delay: 200ms; */
  opacity: 0;
}
.page[data-active]{
  opacity: 1;
  /* transition-delay: 0ms; */
}
#loader{
  height: 100%;
  width: auto;
  background-color: #071826;

}
#loader img{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#refresh{
  height: 100%;
  width: auto;
  background-color: #071826;
  display: none;

}
#refresh img{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.loadingtext{
  align-items: center;
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.quote{
  color: aliceblue;
  font-size: medium;
}
.writer{
  color: beige;
  font-size: larger;
}


.highlight{
  background-color: yellow;
}

.btn{
  /* inset: 0; */
  bottom: 0;
  width: 100vw;
  position: absolute;
  bottom: 2rem;
  display: flex;
  justify-content: space-between;
}
.carouselbutton{
  color: black;
  height: 80vh;
  width: 33%;
  opacity: 0 ;


  /* position: relative; */

}

.pageNumber{
  font-size: 1rem;
  color:green;
  position: fixed;
  bottom: 0;
  bottom: 1rem;
  right: 3rem;
}

/* progress bar */
#myProgress {
  width: 100%;
  /* background-color: grey; */
  position: fixed;
  bottom: 0;
  /* display: flex; */

}

#myBar {
  width: 0%;
  height: 5px;
  background-color: rgb(50, 142, 50);
}
/* #percentage{
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  font-size: 1rem;
} */
#menu{
  display: flex;
  align-items: center;
  position: inherit;
  justify-content: space-between;
  top:0
}
#book{
 border: none;
 background-color: rgba(0, 0, 0, 0);
}










/* toggle button */
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 10px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  #polygon{
    cursor: pointer;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 50px;
    width: 30px;
    /* left: 10px; */
    bottom: -15px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  .slider:after{
    background-color: #031c31;
  }
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 34px;
  }

 
