body {
    margin: 0;
    background: #000;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

/* Header */
.site-header {
    background: #f1f1f1;
    text-align: center;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
}

.book-container {
    width: 100%;
    text-align: center;
}

/* DESKTOP TOOLBAR */
.toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #111;
}

.toolbar button {
    padding: 8px 14px;
    background: #00b894;
    border: none;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

#page-num {
    color: #fff;
    font-weight: bold;
}

/* Flipbook wrapper */
/*#flip-wrapper {*/
/*    position: relative;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    overflow: hidden;*/
/*}*/

#flip-wrapper {
    width: 100%;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}



#flipbook {
    margin: 0px auto;
    background: transparent;
}

#flipbook .page {
    background: #fff;
}

#flipbook img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Side Arrows */
.side-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 90px;
    background: rgba(0,0,0,0.4);
    color: #796c6c;
    font-size: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1000;
}

.side-nav.left {
    left: 0px;
}

.side-nav.right {
    right: 0px;
}

.side-nav:hover {
    background:#00b89424;
}

/* MOBILE */
@media(max-width: 768px) {

    .toolbar {
        display: none;
    }

    #flip-wrapper {
        padding: 20px 0;
    }

}
@media(max-width: 768px) {

    .side-nav {
        color: #ffffff;       /* mobile white */
        background: transparent;
    }

}



