html {
  height: 100%;
  overflow: hidden;
}

h1 {
  text-align: center;

}

h2 {
  font-size: 15px;
}

h3 {
  font-weight: normal;
}

.scene {
    width: 45%;
    height: 90%;
    margin: 5% 5% 5% 50%;

  perspective: 1000px;
}

.book {
  position: relative;
  width: 100%;
  height: 100%;

  transform-style: preserve-3d;
  /* margin-top: 20px; */
}

.page {
  cursor: pointer;
  position: absolute;
  color: black;
  width: 100%;
  height: 100%;

  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);
}

.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;
  font-family: monospace; 
  /* had to change font here for paragraphs */
}

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


/* iPads (portrait) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
  .scene {
    width: 90%;
    height: 90%;
    margin: 5%;
}

.ml1 {
  font-weight: 900;
  font-size: 3.5em;
}

.ml1 .letter {
  display: inline-block;
  line-height: 1em;
}

.ml1 .text-wrapper {
  position: relative;
  display: inline-block;
  padding-top: 0.1em;
  padding-right: 0.05em;
  padding-bottom: 0.15em;
}

.ml1 .line {
  opacity: 0;
  /* position: absolute; */
  left: 0;
  height: 3px;
  width: 100%;
  background-color: #fff;
  transform-origin: 0 0;
}

.ml1 .line1 { top: 0; }
.ml1 .line2 { bottom: 0; }


}



body {
  background-image: url('https://thumbs.gfycat.com/DisgustingGregariousCassowary-size_restricted.gif');
  background-size: cover;
  height: 100vh;
  padding:0;
  margin:0;

  margin: 0;
  width: 100%;
  height: 100%;
  /* margin-top: 20px; */
  /* font-family: monospace; */
  font-family: monospace; 
}

img{
  text-align: center;
}

.nav-container{
  display: flex;
  justify-content: space-evenly;
  /* padding: 0.5px; */
  font-family: 'Cormorant Garamond', serif;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  height: 50px;
  /* background-color: white; */
}

.nav-item{
  display: flex;
  align-self:center;
  order:3;
  font-family: 'Cormorant Garamond', serif;
  position: relative;
  display: inline-block;
}

/* .nav-item div {
	display: inline-block;
} */

.nav-item a {
	color: #D97855;
	font-size: 20px;
	font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: bolder;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  /* padding: 10px; */
  outline: 50%;
} 
.nav-item a:hover, .nav-item a.active {
  /* color: #ffffff;
  background-color: #D97855; */
  position: relative;
  display: inline-block;
  
}

.letters{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#Cover{
  background: #0511F2;
  font-weight: bolder;
  font-size: 75px;
  text-align: center;
  text-transform: capitalize;
  padding-top: -100px;
}

#Back_Cover{
  background: #0511F2;
  font-weight: bolder;
  font-size: 75px;
  text-align: center;
  text-transform: capitalize;
  padding-top: -100px;
}