/*html {
  height: 100%;
  overflow: hidden;
}*/
/*body {
  background: black;
  margin: 0;
  width: 100%;
  height: 100%;
}*/
.containerBook{
    height: 70vh;
    width: 90%;
    overflow: hidden;
}

.frontcover{
    background: #CEAA35 !important;
}

.frontcover h1,.frontcover p{
  text-align: center;
  font-weight: bolder;
  color: #fff;
  text-shadow: 1px 1px #000;
}

.page small, .page p{
    text-align: center;
    font-family: forte Regular;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
}
.manypages div p{
    height: 30vh;
}
.scene {
  width: 45%;
  height: 90%;
  margin: auto;
  perspective: 1000px;
}
.page.hover, .scene:hover  {
  margin: 5% 5% 5% 50%;
}

/*here is the top of your book*/
.bookTop {
  content: "";
  height: 10px;
  /*width: 430px;*/
  width: 102%;
  border-top: 3px solid #CEAA35;
  position: relative;
  left: 6px;
  /* top: 1px; */
  z-index: 5;
  /* margin: auto; */
  background: repeating-linear-gradient(#fff, #ccc .5px, #fff .5px, #ccc .5px); /* Standard syntax (must be last) */
  /* transform: rotateX(90deg) rotateY(0deg) translateY(-54px); */
  -ms-transform: skewX(30deg); /* IE 9 */
  -webkit-transform: skewX(30deg); /* Safari */
  transform: skewX(30deg); /* Standard syntax */
  border-right: none;
}

/*This is the side that looks like pages. Feel free to change the #9198e5 value*/
.bookSide {
  content: "";
  /*height: 498px;*/
  height: 96%;
  width: 20px;
  position: absolute;
  right: -16px;
  top: 8px;
  margin: auto;
  background: repeating-linear-gradient(90deg, #fff, #ccc .5px, #fff .5px, #ccc .5px, #fff .3px);
  -ms-transform: skewY(-40deg); /* IE 9 */
  -webkit-transform: skewY(-40deg); /* Safari */
  transform: skewY(-40deg); /* Standard syntax */
  color: white;
  text-align: center;
  border-right: 4px solid #CEAA35;
  font-size: 90%;
  transform-style: preserve-3d;
  border-top: none;
  z-index: 6;
  border-right: 4px solid #CEAA35;
  border-bottom: none;
}

.book {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.page {
    cursor: pointer;
    position: absolute;
    color: black;
    width: 100%;
    height: 90%;
    transition: 1.5s transform;
    transform-style: preserve-3d;
    transform-origin: left center;
}
.front,
.back {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 10% 5% 5%;
    box-sizing: border-box;
    backface-visibility: hidden;
    background: -webkit-gradient(linear, 0% 0%, 100% 100%, from(#FFFFFF), to(#CCCCCC));
    background: linear-gradient(to bottom right, #fff, #ccc);
}
.back {
    transform: rotateY(180deg);
}

.backcover {
  height: 100%;
	top: 0;
}
.page.active{
  z-index: 1; 
}
.page.flipped {
  transform: rotateY(-180deg);
}
.page.flipped:last-of-type{
  z-index: 1;
}

p {
  text-indent: 1em;
  line-height: 1.7;
}

.qr {
  margin: 50px auto;
  max-width: 50%;
}
.qr img {
  display: block;
}


/*This is for the version of the index page lesser than 1000px*/
/* @media screen
and (max-width: 1200px)
and (min-width: 600px) {

} */
/* iPads (portrait) ----------- */
@media only screen
  and (min-device-width : 768px)
  and (max-device-width : 1200px)
  and (orientation : portrait) 
  {
    .containerBook{ height: 55vh; width: 100%;}
    .scene { width: 48%; height: 30vh; margin: 5% 2%; float:right}
    .frontcover h1{font-size: 3em; font-weight: bolder;}
    .frontcover p{font-size: 2em; font-weight: bolder;}
    .bookTop { width: 102% }
  }

@media  screen and (max-width : 700px) 
  and (min-width : 451px){
    .frontcover h1{font-size: 170%; font-weight: bolder;}
    .containerBook{ height: 55vh; width: 100%;}
    .otherlogos img{ width: 30px; height: 30px; }
}

@media  screen and (max-width : 450px){
    .frontcover h1{ 
      font-size: 1.35em; 
      word-wrap: break-word; 
      overflow: hidden; 
      text-overflow: ellipsis;
    }
    .frontcover p{font-size: 0.8em;}
    .containerBook{ height: 95vh; width: 100%;}
    .scene{ height: 50%; max-width: 90%; }
    .otherlogos img{ width: 25px; height: 25px; }
}
@media  screen and (max-width : 350px){
  .frontcover h1{
    font-size: 0.85em;
    margin-top: -35%;
  }
  .frontcover p{ font-size: 0.7em;}
  .containerBook{ height: 45vh; width: 250px;}
  .scene{ height: 90%; max-width: 90%; }
  .otherlogos img{ width: 25px; height: 25px; }
}