/* ================= PRAYER PAGE ================= */

.prayer-wrapper{
    max-width:1200px;
    margin:auto;
    padding:120px 20px 60px;
}


/* ================= HEADER ================= */

.prayer-header{
    text-align:center;
    margin-bottom:40px;
}

.prayer-header h1{
    font-size:36px;
    margin-bottom:10px;
}

.prayer-header p{
    color:#666;
    font-size:16px;
}


/* ================= BOOK CONTROLS ================= */

.book-controls{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-bottom:25px;
}

.book-controls button{
    padding:10px 20px;
    border:none;
    background:#111;
    color:#fff;
    font-size:15px;
    border-radius:6px;
    cursor:pointer;
    transition:0.3s ease;
}

.book-controls button:hover{
    background:#444;
}


/* ================= FLIPBOOK ================= */

.flipbook-container{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
}

#flipbook{
    width:900px;
    height:600px;
    max-width:100%;
    position:relative;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,0.2);
    border-radius:10px;
    background:#ddd;
}

/* Individual pages */

.page{
    width:100%;
    height:100%;
    background:white;
    overflow:hidden;
}

.page canvas{
    width:100%;
    height:100%;
    display:block;
}

/* Individual pages */

.page{
    width:100%;
    height:100%;
    background:white;
    overflow:hidden;
}


/* Canvas rendered by PDF.js */

.page canvas{
    width:100%;
    height:100%;
    display:block;
}


/* ================= MOBILE ================= */

@media (max-width:1000px){

    #flipbook{
        width:100%;
        height:520px;
    }

}

@media (max-width:600px){

    .prayer-header h1{
        font-size:28px;
    }

    .prayer-header p{
        font-size:14px;
    }

    #flipbook{
        height:420px;
    }

    .book-controls{
        gap:10px;
    }

    .book-controls button{
        font-size:14px;
        padding:8px 14px;
    }

}