* {
    margin: 0;
    padding: 0;
    font-family: handwritten;
}
@font-face {
    font-family: handwritten;
    src: url(../AlteHaasGroteskRegular.ttf);
}
::-webkit-scrollbar {
    display: none;
}
body {
    font-family: sans-serif;
    background-color: #4B4038;
}
.content {
    width: 50%;
}
.container {
    display: grid;
    place-items: center;
}
.arrow {
    display: block;
    width: 100px;
}
/* Book */
.book {
    height: 100vh;
    width: 100vh;
    transition: transform 0.5s;
    transform: translateX(50%);
}

.paper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    perspective: 1500px;

}

.front,
.back {
    background-color: #CAAA98;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform-origin: left;
    transition: transform 0.5s;
}
.backtohome {
    width: 20%;
    position: absolute;
    top: 0;
    z-index: 50;
    left: 0;
}
.splash {
    width: 20%;
    position: absolute;
    top: 20;
    z-index: 50;
    right: 0;
    padding-right: 5%;
}
.vegan {
    width: 20%;
    position: absolute;
    z-index: 50;
    padding-bottom: 5%;
    bottom: 0;
}
.front {
    z-index: 1;
    backface-visibility: hidden;
    border-left: 3px solid #4B4038;
}

.back {
    z-index: 0;
}

.front-content,
.back-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-content {
    transform: rotateY(180deg);
}

/* Paper flip effect */
.flipped .front,
.flipped .back {
    transform: rotateY(-180deg);
}
/* Controller Buttons */
button {
    border: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
    background-color: transparent;
}
.dockleft {
    position: absolute;
    left: 0;
    z-index: 50;
}
.dockright {
    padding-right: 60px;
    position: absolute;
    right: 0;
    z-index: 50;
    padding-right: 4.8%;
}
.pagenumber {
    padding-bottom: 10px;
    position: absolute;
    bottom: 0;
    z-index: 50;
    left: 50%;
    right: 50%;
}
/* Paper stack order */
#p1 {
    z-index: 1;
}
#p2 {
    z-index: 4;
}
#p3 {
    z-index: 3;
}
#p4 {
    z-index: 2;
}
#p5 {
    z-index: 1;
}
#curry {
    cursor: pointer;
}
#tofu {
    cursor: pointer;
}
#snack {
    cursor: pointer;
}
input[type="checkbox"] {
    font: inherit;
     color: currentColor;
     width: 1.15em;
     height: 1.15em;
     border: 0.15em solid currentColor;
     border-radius: 0.15em;
     transform: translateY(-0.075em);
     color: black;
}
input[type=checkbox]:checked + label {
  color:green;
  text-decoration: line-through;
}
