/* https://codepen.io/Vaddo/pen/DLVKxW */

.folding-paper h2 {
  font-size: 0.8rem;
  font-family: 'Albertus',display;
  color: green;
  margin-top:-0.2;
  text-align:center;
}

.folding-paper p ,.folding-paper ul {
  font-size: 8px;
  line-height: 9px;
  margin: 0px;
}

.folding-paper ul {
  margin-left:0.4rem;
  line-height: 1;
  border: 1px solid black;
  padding:0.2rem 1rem;
}

.folding-paper li::marker {
  content: '✓ ';
}

.folding-paper {
  width: 12rem;
  aspect-ratio: 1/2;
  /*margin: 50px auto;*/
  -webkit-perspective: 800px;
  -webkit-backface-visibility: hidden;
  -moz-perspective: 800px;
  -moz-backface-visibility: hidden;
  -ms-perspective: 800px;
  -ms-backface-visibility: hidden;
  -o-perspective: 800px;
  -o-backface-visibility: hidden;
  perspective: 800px;
  backface-visibility: hidden;
}
.folding-paper .part1 {
  position: relative;
  z-index: 2;
  background-color: white;
  height: 5em;
  padding: 15px 20px 0px 20px;
  -moz-transition: all 0.6s linear;
  -o-transition: all 0.6s linear;
  -webkit-transition: all 0.6s linear;
  transition: all 0.6s linear;
  -moz-box-shadow: inset rgba(0, 0, 0, 0.3) 0px 0px 100px, rgba(0, 0, 0, 0.4) 0px -4px 10px;
  -webkit-box-shadow: inset rgba(0, 0, 0, 0.3) 0px 0px 100px, rgba(0, 0, 0, 0.4) 0px -4px 10px;
  box-shadow: inset rgba(0, 0, 0, 0.3) 0px 0px 100px, rgba(0, 0, 0, 0.4) 0px -4px 10px;
}
.folding-paper .part2 {
  background-color: white;
  height: 100px;
  padding: 0px 20px 0px 20px;
  -moz-transition: all 0.6s linear;
  -o-transition: all 0.6s linear;
  -webkit-transition: all 0.6s linear;
  transition: all 0.6s linear;
  -moz-box-shadow: inset rgba(0, 0, 0, 0.2) 0px 0px 100px, black 0px 0px 10px;
  -webkit-box-shadow: inset rgba(0, 0, 0, 0.2) 0px 0px 100px, black 0px 0px 10px;
  box-shadow: inset rgba(0, 0, 0, 0.2) 0px 0px 100px, black 0px 0px 10px;
}
.folding-paper .part3 {
  background-color: white;
  height: 85px;
  padding: 0px 20px 15px 20px;
  -moz-transition: all 0.6s linear;
  -o-transition: all 0.6s linear;
  -webkit-transition: all 0.6s linear;
  transition: all 0.6s linear;
  -moz-box-shadow: inset rgba(0, 0, 0, 0.3) 0px 0px 100px, rgba(0, 0, 0, 0.4) 0px 4px 10px;
  -webkit-box-shadow: inset rgba(0, 0, 0, 0.3) 0px 0px 100px, rgba(0, 0, 0, 0.4) 0px 4px 10px;
  box-shadow: inset rgba(0, 0, 0, 0.3) 0px 0px 100px, rgba(0, 0, 0, 0.4) 0px 4px 10px;
}
.folding-paper:hover .part1 {
  -moz-transform: rotateX(-30deg) translateY(0.65em) scale(0.98);
  -ms-transform: rotateX(-30deg) translateY(0.65em) scale(0.98);
  -webkit-transform: rotateX(-30deg) translateY(0.65em) scale(0.98);
  transform: rotateX(-30deg) translateY(0.65em) scale(0.98);
  -moz-transform-origin: 50% 100%;
  -ms-transform-origin: 50% 100%;
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -moz-box-shadow: inset rgba(0, 0, 0, 0.5) 0px 0px 100px, rgba(0, 0, 0, 0.1) 0px -20px 10px;
  -webkit-box-shadow: inset rgba(0, 0, 0, 0.5) 0px 0px 100px, rgba(0, 0, 0, 0.1) 0px -20px 10px;
  box-shadow: inset rgba(0, 0, 0, 0.5) 0px 0px 100px, rgba(0, 0, 0, 0.1) 0px -20px 10px;
}
.folding-paper:hover .part2 {
  -moz-transform: rotateX(30deg) scale(1);
  -ms-transform: rotateX(30deg) scale(1);
  -webkit-transform: rotateX(30deg) scale(1);
  transform: rotateX(30deg) scale(1);
  -moz-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -moz-box-shadow: inset rgba(0, 0, 0, 0.4) 0px 80px 100px;
  -webkit-box-shadow: inset rgba(0, 0, 0, 0.4) 0px 80px 100px;
  box-shadow: inset rgba(0, 0, 0, 0.4) 0px 80px 100px;
}
.folding-paper:hover .part3 {
  -moz-transform: rotateX(-30deg) translateY(-0.45em) scale(1.026);
  -ms-transform: rotateX(-30deg) translateY(-0.45em) scale(1.026);
  -webkit-transform: rotateX(-30deg) translateY(-0.45em) scale(1.026);
  transform: rotateX(-30deg) translateY(-0.45em) scale(1.026);
  -moz-transform-origin: 50% 0%;
  -ms-transform-origin: 50% 0%;
  -webkit-transform-origin: 50% 0%;
  transform-origin: 50% 0%;
  -moz-box-shadow: inset rgba(0, 0, 0, 0.4) 0px 80px 100px;
  -webkit-box-shadow: inset rgba(0, 0, 0, 0.4) 0px 80px 100px;
  box-shadow: inset rgba(0, 0, 0, 0.4) 0px 80px 100px;
}

.pageNumber {
  float: right;
  margin-bottom: 100px;
  color: gray;
}