* {
    touch-action: manipulation;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#header {
    height: 65px;
    width: 100%;
    border-radius: 12px;
    background-color: #ffffff;
}

#menu {
    height: 500px;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    background-color: #ffffff;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
    overflow-x: hidden;
}

.standardText {
    font-size: 16px;
    font-family: "DynaPuff", serif;
    font-weight: 200;
    font-style: normal;
}

.bookText {
    font-size: 25px;
    font-family: "Quicksand", serif;
    font-weight: 400;
    font-style: normal;
    color: #000000;
}

.bookImages {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icon {
    width: 25px;
}

.book {
    position: relative;
    width: 350px;
    height: 490px;
    transition: transform 0.5s;
}

.paper {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    perspective: 1500px;
}

.front,
.back {
    background-color: white;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    transform-origin: left;
    transition: transform 0.5s;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.194) inset;
}

.front {
    z-index: 1;
    backface-visibility: hidden;
    border-left: 5px groove rgba(0, 0, 0, 0.263);
}

.front-cover {
    filter: drop-shadow(1rem 1rem 15px rgba(0, 0, 0, 0.509));
}

.back-cover {
    filter: drop-shadow(1rem 1rem 15px rgba(0, 0, 0, 0.509));
}

.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)
}

.flipped .front,
.flipped .back {
    transform: rotateY(-180deg);
}

button {
    border: none;
    color: black;
    background-color: transparent;
    cursor: pointer;
    margin: 10px;
    transition: transform 0.5s;
}

button:focus {
    outline: none;
}

button:hover i {
    color: #636363;
}

i {
    font-size: 50px;
    color: gray;
}

#p1 {
    z-index: 16;
}

#p2 {
    z-index: 15;
}

#p3 {
    z-index: 14;
}

#p4 {
    z-index: 13;
}

#p5 {
    z-index: 12;
}

#p6 {
    z-index: 11;
}

#p7 {
    z-index: 10;
}

#p8 {
    z-index: 9;
}

#p9 {
    z-index: 8;
}

#p10 {
    z-index: 7;
}

#p11 {
    z-index: 6;
}

#p12 {
    z-index: 5;
}

#p13 {
    z-index: 4;
}

#p14 {
    z-index: 3;
}

#p15 {
    z-index: 2;
}

#p16 {
    z-index: 1;
}

@media screen and (max-width: 991px) {
    .bookText {
        font-size: 21px;
        font-family: "Quicksand", serif;
        font-weight: 400;
        font-style: normal;
        color: #000000;
    }
}

@media screen and (min-width: 991px) {
    .book {
        position: relative;
        width: 425px;
        height: 595px;
        transition: transform 0.5s;
    }
}