/*==================================================
        YOGA FOTO STATION
        3D FLIPBOOK
==================================================*/

.album-section{

    background:#111;
    padding:80px 0;

}


/*==================================================
        BOOK CONTAINER
==================================================*/

.book-container{

    width:100%;

    display:flex;
    justify-content:center;
    align-items:center;

    position:relative;

    overflow:hidden;

    background:#1b1b1b;

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    box-shadow:0 25px 60px rgba(0,0,0,.45);

    margin:0 auto;

}


/*==================================================
        FLIPBOOK ROOT
==================================================*/

#flipBook{

    width:100%;
    height:100%;

    display:flex;

    justify-content:center;
    align-items:center;

}


/*==================================================
        PDF PAGE
==================================================*/

.page{

    background:#fff;

    overflow:hidden;

    box-sizing:border-box;

}


.page canvas{

    width:100%;
    height:100%;

    display:block;

    user-select:none;

    pointer-events:none;

    object-fit:contain;

}


/*==================================================
        TOOLBAR
==================================================*/

.flipbook-toolbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;

    background:#1b1b1b;

    padding:18px 25px;

    border-radius:15px;

    border:1px solid rgba(255,255,255,.08);

    gap:20px;

    flex-wrap:wrap;

}


.toolbar-right{

    display:flex;

    gap:15px;

}


.toolbar-btn{

    background:#d4af37;

    color:#111;

    border:none;

    padding:12px 22px;

    border-radius:10px;

    font-size:15px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}


.toolbar-btn:hover{

    background:#f3cb45;

    transform:translateY(-2px);

}


.toolbar-btn:disabled{

    opacity:.4;

    cursor:not-allowed;

    transform:none;

}


.page-counter{

    color:#fff;

    font-size:18px;

    font-weight:700;

}


/*==================================================
        BOOK SIDE ARROWS
==================================================*/

.book-nav{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    z-index:100;

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    background:rgba(212,175,55,.95);

    color:#111;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:20px;

    cursor:pointer;

    box-shadow:0 5px 20px rgba(0,0,0,.35);

    transition:.25s;

}


.book-nav:hover{

    background:#f3cb45;

    transform:translateY(-50%) scale(1.08);

}


.book-nav:disabled{

    opacity:.35;

    cursor:not-allowed;

    transform:translateY(-50%);

}


.book-nav-left{

    left:15px;

}


.book-nav-right{

    right:15px;

}


/*==================================================
        FULLSCREEN
==================================================*/

.book-container:fullscreen{

    width:100vw !important;

    height:100vh !important;

    max-width:none !important;

    border-radius:0;

    border:none;

    background:#111;

}


.book-container:-webkit-full-screen{

    width:100vw !important;

    height:100vh !important;

    max-width:none !important;

    border-radius:0;

    border:none;

    background:#111;

}


/*==================================================
        STPAGEFLIP
==================================================*/

.stf__parent{

    margin:auto !important;

}


.stf__wrapper{

    margin:auto !important;

}


.stf__block{

    border-radius:8px;

}


.stf__item{

    background:#fff;

}


.stf__page{

    background:#fff;

}


.stf__outerShadow{

    box-shadow:0 0 40px rgba(0,0,0,.5);

}


/*==================================================
        LOADING
==================================================*/

.loading-book{

    color:#fff;

    text-align:center;

    font-size:22px;

}


.loading-book i{

    font-size:45px;

    color:#d4af37;

    margin-bottom:20px;

}


/*==================================================
        TABLET
==================================================*/

@media(max-width:992px){

    .book-nav{

        width:44px;
        height:44px;

        font-size:17px;

    }

}


/*==================================================
        MOBILE
==================================================*/

@media(max-width:768px){

    .flipbook-toolbar{

        justify-content:center;

    }


    .toolbar-right{

        width:100%;

        justify-content:center;

    }


    .book-nav{

        width:40px;
        height:40px;

        font-size:15px;

    }


    .book-nav-left{

        left:8px;

    }


    .book-nav-right{

        right:8px;

    }

}


@media(max-width:576px){

    .toolbar-btn{

        padding:10px 16px;

        font-size:14px;

    }


    .page-counter{

        font-size:16px;

    }


    .book-nav{

        width:36px;
        height:36px;

        font-size:13px;

    }

}

