
.reader {
    border-radius: 5px;
    border: 1px solid #29411d;
    overflow: hidden;
    background: white;
    color: black;
}

.reader-maximized {
    position: absolute;
    width: 100vw;
    height: 100vh;
    border-radius: 0px;
    border: 0;
    top: 0;
    left: 0;
}

.reader-header {
    background: #29411d;
    color: white;
    padding: 5px;
    font-size: 25px;
}

.reader-title {
    width: 95%;
}

.reader-controls {
    padding: 5px;
    border-bottom: 1px solid black;
    font-size: 25px;
}

.reader-icon, .reader-data {
    width: 20px;
    height: 20px;
    padding: 0 10px;
    font-size: 25px;
}

.reader-icon {
    cursor: pointer;
    font-weight: bold;
}

    .reader-icon:hover {
        color: gray;
    }

.book {
    position: relative;
    height: 800px;
    overflow-x: hidden;
    overflow-y: auto;
}

.daymode {
    background: white;
    color: black;
}

.nightmode {
    background: black;
    color: white;
}

.zoom-1 {
    zoom: 1;
}

.zoom-2 {
    zoom: 1.5;
}

.zoom-3 {
    zoom: 2;
}

.zoom-4 {
    zoom: 2.5;
}

.page {
    position: relative;
    line-height: 30px;
    padding: 20% 7%;
    margin: 0 auto;
    border: 1px solid #ccc;
    box-shadow: 5px 5px 0px 0px #e5e5e5;
    user-select: none;
    border-radius: 5px;
    margin-bottom: 5px;
    max-width: 700px;
    min-height: 900px;
    pointer-events: none;
}

.book-cover {
    padding: 0;
    margin-bottom: 0;
}

.page-book-title {
    position: absolute;
    top: 20px;
    left: 30px;
    color: #ccc;
    font-size: 15px;
}

.page-header {
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0;
}

.page-number {
    position: absolute;
    bottom: 30px;
    left: 50%;
    color: #ccc;
    font-size: 15px;
}

@media (max-width: 768px) {
    .reader-title {
        font-size: 20px;
    }

    .margins {
        width: 100%;
        padding: 0;
    }

    .page-book-title {
        top: 5px;
        left: 5px;
        font-size: 12px;
        line-height: 15px;
    }
}

.book-menu {
    position: absolute;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 10px;
    font-size: 20px;
    top: 0px;
    left: 0px;
    box-shadow: 5px 5px 0px 0px #e5e5e5;
}

    .book-menu li {
        padding-left: 20px;
        cursor: pointer;
    }

.toggle {
    appearance: none;
    width: 55px;
    height: 25px;
    display: inline-block;
    position: relative;
    border-radius: 50px;
    overflow: hidden;
    outline: none;
    border: none;
    cursor: pointer;
    background-color: #ccc;
    transition: background-color ease 0.3s;
    margin-bottom: -3px;
}

    .toggle:before {
        content: "";
        /*content: "on off";
        font: 10px/28px Helvetica;
        text-transform: uppercase;
        text-indent: -22px;
        word-spacing: 37px;
        white-space: nowrap;
        font-weight: bold;
        color: #fff;
        text-shadow: -1px -1px rgba(0,0,0,0.15);
        box-shadow: 0 1px 2px rgba(0,0,0,0.2);*/
        display: block;
        position: absolute;
        width: 20px;
        height: 20px;
        background: #fff;
        left: 3px;
        top: 3px;
        border-radius: 50%;
        transition: all cubic-bezier(0.3, 1.5, 0.7, 1) 0.3s;
    }

    .toggle:checked {
        background-color: #707070;
    }

        .toggle:checked:before {
            left: 32px;
        }