@import url('https://fonts.googleapis.com/css2?family=Dongle&display=swap');

::-webkit-scrollbar {
  display: none;
}

body{
  padding: 0;
  margin: 0;
  background-color: #ddeaff;
  overflow: hidden;
  
}

#display-content {
  display: none;
  background-color: white;
}

/************************************* 
OVERLAY 
*************************************/
#overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgb(45,53,79);
  background: linear-gradient(0deg, rgba(45,53,79,0.3054796918767507) 0%, rgba(253,187,45,0) 100%);
}

/************************************* 
PRE-LOADING 
/************************************/
#preloadGIF{
  /* allow to cover the page */
  object-fit: cover;
  /* making it a layer */
  position: absolute;
  /* fill the whole screen */
  height: 100%;
  width: 100%;
  /* move it behind the other stuff */
  z-index: -1;
 
 }


/************************************* 
VIDEO CONTENT DIV 
/************************************/
#bookHolder{
  background-color: white;
  background-size: cover;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%; 
  overflow: hidden;
  object-fit: cover;
  z-index: -1;
}

#videoHolder{
  /* allow to cover the page */
  object-fit: cover;
  /* making it a layer */
  position: absolute;
  /* fill the whole screen */
  height: 100%;
  width: 100%;
  /* move it behind the other stuff */
  z-index: -1;
}


/************************************* 
TOP UI 
/************************************/
.topUI{
  display:inline-block;
  position: absolute;
  top: 5%;  
  left: 5%;
  width: 30%;
  z-index: 2;
}

.topUI img{
  width: 15%;
  height: auto;
  margin: 5px;
}

.ui {
  display: none;
}

.misfitsUI {
  display: inline-block;
}


/************************************* 
LANDING MODAL 
/************************************/
#modal{
  z-index: 5;
}

#modal img{
  max-width: 250px;
  width: 100%;
  height: auto;
}

#modal .modal-dialog {
  width: 100vh !important;
  height: auto;
}

#modal .modal-content{
  border-radius: 30px !important;
  border: 3px solid #B6C470 !important;
  
}

.modal-backdrop{
  background-color: #e9f1ff !important;
  z-index: 4;

}


#modal p{
  font-family: "Dongle", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 4vh;
  line-height: .80;
  color: #848fa3;
}

#modalBtn {
  background-color: #F7A374;
  color: white;
  border-radius: 50px;
  border: 0;
  font-family: "Dongle", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 4vh;
}


/*************************************
STORY MODAL
/************************************/

#storyModal{
  z-index: 5;
}

#StrymodalBtn {
  background-color: #F7A374;
  color: white;
  border-radius: 50px;
  border: 0;
  font-family: "Dongle", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.5vw;
}

#storyModal p{
  font-family: "Dongle", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.5vw;
  line-height: .80;
  color: #848fa3;
}

#storyModal img{
  max-width: 250px;
  width: 100%;
  height: auto;
}

#storyModal .modal-dialog {
  width: 100vh !important;
  height: auto;
}

#storyModal .modal-content{
  border-radius: 30px !important;
  border: 3px solid #B6C470 !important;
}



/************************************* 
BOOKMARK 
/************************************/
#bookMark{
  position: fixed;
  width: 40%;
  height: auto;
  left: 87%;
  top: -2%;
  z-index: 2;
}

#bookMark img{
  max-width: 100px;
  width: 15%;
  height: auto;
}

#bookMark:hover{
  cursor: pointer;
  top: -1%;
}


/************************************* 
BOOKMARK MODAL
/************************************/

#chapters .modal-dialog {
  width: 300vh !important;
  height: auto;
}

#chapters .modal-content{
  background-image: url("../images/bookmark_bg.png");
  border-radius: 30px;
  border: 3px solid #DD7E65;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  object-fit: cover;
  
}

#chapters .modal-backdrop{
  background-color: #e9f1ff;
}

#bmTitle{
  display:inline-block;
  width: 70% !important;
  padding: 0;
  margin: 0 !important;
  z-index: 2;
}

#bmTitle img{
  width: 100% !important;
  height: auto;
}


.ch img {
  padding: 2%;
  display: inline-block;
  width: 50%;
  max-width: 158px;
  height: auto;
  margin: auto;
}

.ch img:hover {
  transform: scale(1.1); 
}

#closeBtn {
  position: absolute;
  width: 10%;
  height: auto;
  left: 94%;
  top: -7%;
  z-index: 2;
}

#closeBtn img{
  max-width: 20px;
  width: 5%;
  height: auto;
}


/************************************* 
LANDING PAGE
/************************************/

/* video content responsive */
#video-body{
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%; 
  overflow: hidden;
}

#video-body video{
  /* allow to cover the page */
  object-fit: cover;
  /* making it a layer */
  position: absolute;
  /* fill the whole screen */
  height: 100%;
  width: 100%;
  /* move it behind the other stuff */
  z-index: -1;
}

.mainButton{
  display:inline;
  width: 100%;
  align-items: center;
  text-align: center;
  position: absolute;
  top: 80%;
  
}

a{
  text-decoration: none;
}

.mainButton a img{
  width: 15%;
  height: auto;
  margin: 10px;
}



/************************************* 
BOTTOM UI
/************************************/
.fixed-bottom{
  position: absolute;
  top: 70%;
  width: 100%;
}


#subtext{
  display: inline-block;
  justify-content: center;
  text-align: center;
  padding: 0;
  margin-left: 14%;
  position: absolute;
  top: 80%;
  z-index: 3;
  width: 75%;
  height: auto;
}


#subtext p{
  display: inline-block;
  justify-content: center;
  text-align: center;
  margin: 0;
  font-family: "Dongle", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: white;
  font-size: 3.5vw;
  line-height: .75;
  text-shadow: 2px 2px 5px #5E6269;
}


.nextprevButton{
  display:inline-block;
  width: 100%;
  position: absolute;
  top: 80%;
  z-index: 5;
}

.nextprevButton #previousButton{
  width: 5%;
  height: auto;
  float: left;
  margin-left: 5%;
  display: block;
}

.nextprevButton #nextButton{
  width: 5%;
  height: auto;  
  float: right;
  margin-right: 5%;
  display: block;
}


/*************************************
HOVER
/************************************/
#homeButton:hover{
  content:url("../images/hover_Home.png");
}

#muteButton:hover{
  content:url("../images/hover_mute.png");
}

#unmuteButton:hover{
  content:url("../images/hover_unmute.png");
}

#nextButton:hover{
  content:url("../images/hover_next.png");
}


#previousButton:hover{
  content:url("../images/hover_previous.png");
}

#start:hover{
  content:url("../images/hover_Start_Reading.png");
  text-decoration: none;
}

#read:hover{
  content:url("../images/hover_Read_to_me.png");
  text-decoration: none;
}

#misville3d:hover{
  content:url("../images/hover_3dBtn.png"); 
}

#myButton:hover {
  content:url("../images/hover_aframe_btn.png"); 
}

#bmc_button:hover{
  content:url("../images/hover_bmc_btn.png"); 
}

#bookMark img:hover{
  content:url("../images/hover_bookmark.png");
}

#closeBtn:hover{
  content:url("../images/hover_Ch_close.png");
}

#modalBtn:hover {
  background-color: #F17941;
}

#StrymodalBtn:hover {
  background-color: #F17941;
}

/*************************************
MISVILLE 3D BUTTON 
/************************************/
#misville3d{
  display:inline-block;
  position: absolute;
  left: 40%;
  top: 45%;
  z-index: 2;
  width: 20%;
  display: none;
  border: 0;
  background:none; 
}


#misville3d img{
  width: 2%;
  height: auto;
}

/* A-Frame Button */
#myButton {
  position: absolute;
  top: 80%;
  left: 43%;
  z-index: 1;
  border: 0;
  background:none;
}

/*************************************
BUY ME COFFEE
/************************************/
#bmc{
  background-image: url("../images/end.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  width: 100%;
  position: absolute;
  display: none;
}


#bmc p{
  font-family: "Dongle", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #F7A374;
  font-size: 3.5vw;
  line-height: .75;
  position: absolute;
  top: 58%;
  left: 17%;
  text-align: center;
}


#bmc_button {
  z-index: 5 !important;
  display:inline-block;
  width: 20%;
  align-items: center;
  text-align: center;
  position: absolute;
  top: 75%;
  left: 40%
}

#bmc_button img{
  width: 4%;
  height: auto;
}

/*************************************
ORIENTATION LOCK
/************************************/
#landscape-lock{
  z-index: 15;
  position: absolute;
  left: 0;
  top: 0;
  background-image: url("../images/forcetolandscape.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

#landscape-lock p{
  justify-content: center;
  text-align: center;
  margin-top: 80%;
  font-family: "Dongle", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: white;
  font-size: 10vw;
  line-height: .75;
  z-index: 15;
}

#lockText{
  display: none;
}



/*************************************
MEDIA QUERY 
*************************************/

@media (max-height: 460px) {
  /* Modal Show Cookies in Index.html */
  #modal .modal-body{
    padding: 0 !important;
  }

  #modal img{
    padding: 0;
    max-width: 200px;   
  }
  #modal p{
    margin: 0;
    padding: 0;
  }

  #modalBtn{
    padding: 0;

    margin: 10px;
  }

  /* Modal Show Turn audio for great experience in misfits.html */
  #storyModal .modal-body{
    padding: 0 !important;
  }

  #storyModal img{
    padding: 0;
    max-width: 200px;   
  }

  #storyModal p{
    margin: 0;
    padding: 0;
  }

  #StrymodalBtn{
    margin: 10px;
  }

  /* Modal Show Chapters in misfits.html */

  #chapters .modal-dialog {
    width: 200vh !important;
    height: auto;
  }
  
  #chapters .modal-body{
    padding: 0 !important;
    margin: 0 !important;    
  }
  
  
  #bmTitle img{
    margin: 10px;
    padding: 0 !important;
    width: 50% !important;

  }  

  .ch img {

    max-width: 90px;

  }
}