html {
  height: 100%;
}
body {
  margin: 0;
  width: 100%;
  height: 100%;
}


.scene {
  width: 50%;
  height: 90%;
  margin: 0% 0% 0% 50%;

  perspective: 1000px;
}

.buitenBoek {
  height: 315px;
  box-shadow: 5px 5px 20px rgba(0,0,0,0.5);
  margin-bottom: 60px;
}

/* Extra small devices */
@media (max-width: 767px) {
  .buitenBoek {
    height: 26.5vw;
  }
}

/* Small devices Tablets */
@media (min-width: 766px) and (max-width: 992px) {
  .buitenBoek {
    height: 195px;
  }
}

/* Medium devices Desktops */
@media (min-width: 991px) and (max-width: 1200px) {
  .buitenBoek {
    height: 260px;
  }
}

/* Large devices Desktops */
@media (min-width: 1199px) {
}



.book {
  position: relative;
  width: 100%;
  height: 100%;

  transform-style: preserve-3d;
}

.page {
  cursor: pointer;
  position: absolute;
  color: black;
  width: 100%;
  height: 100%;

  transition: 1.5s transform;
  transform: translateZ(-1px);
  transform-style: preserve-3d;
  transform-origin: left center;
}
.front,
.back {
  position: absolute;

  width: 100%;
  height: 100%;
  padding: 0;
  box-sizing: border-box;

  backface-visibility: hidden;

  img {
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
  }
}
.back {
  transform: rotateY(180deg);
}

.page.active {
  z-index: 1;
  transform: translateZ(0);
}
.page.flipped {
  transform: translateZ(0) rotateY(-180deg);
}
.page.flipped:last-of-type {
  z-index: 1;
}


/* 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%;
}
