:root {
    --main-color: #007dd1;
    --main-color-hover: #0274c1;
    --font-family-key: 'Montserrat';
}

body {
    font-family: var(--font-family-key);
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    top: 0px !important;
    position: relative;
    background: #f2f2f2;
    background: #000;
}

.clear {
    clear: both;
}

.book {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 40px;
}

.book1 {
    width: 100vw;
    height: 100vh;
    perspective: 2000px;
    position: relative;
}

.page {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: left center;
    transform-style: preserve-3d;
    transition: transform 1s ease;
    text-align: center;
}

.page a {
    /* display: block; */
}

.page img {
    /* width: 100%; */
    height: 100%;
    /* height: auto; */
    /* object-fit: cover; */
    backface-visibility: hidden;
    display: inline-block;
}

table {
    background: none;
}

table th td,
table tr td {
    padding: 0px;
}

@media(max-width: 1024px) {
    .page {
        height: auto;
    }
    .page img {
        height: auto;
    }
}

@media(max-width: 991px) {}

@media(max-width: 767px) {
    .book {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 0;
    }
}

.back {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(180deg);
}

.flipped {
    transform: rotateY(-180deg);
}

.controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    gap: 10px;
    display: none;
}

.controls.active {
    display: flex;
}

.controls button {
    padding: 15px 15px;
    font-size: 16px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    background: rgba(226, 25, 196, 0.8);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.controls button:hover {
    background: rgba(255, 255, 255, 0.4);
    background: rgba(226, 25, 196, 1);
}

@media(max-width: 767px) {
    .controls button {
        padding: 10px 15px;
    }
    .book .controls {
        display: flex;
    }
}

.page-indicator {
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 16px;
    border-radius: 10px;
    z-index: 9999;
    font-weight: bold;
}

@media(max-width: 767px) {
    .page-indicator {
        bottom: 70px;
    }
}


/**/

.title1 {
    text-align: center;
    text-transform: uppercase;
    font-size: 26px;
    margin: 20px 0 12px;
    font-weight: 600;
}

.list {}

.list ul {
    padding: 0;
    margin: 0 -8px;
    text-align: center;
}

.list ul li {
    list-style-type: none;
    display: inline-block;
    width: 33%;
    padding: 8px;
}

@media(max-width: 991px) {
    .list ul li {
        width: 49%;
    }
}

@media(max-width: 767px) {
    .title1 {
        font-size: 20px;
    }
    .list ul li {
        display: block;
        width: 100%;
    }
}

.list ul li .item {
    box-shadow: 0px 0px 10px #ddd;
    padding: 10px;
    border-radius: 5px;
    background: #fff;
}

.list ul li .item .img {}

.list ul li .item h3 {
    font-size: 18px;
}

.list ul li .item h3 a {
    display: block;
    height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.back1 {
    padding: 10px 0 10px 10px;
    position: absolute;
    top: 0px;
    left: 0;
    z-index: 9;
}

.back1 a {
    color: #fff;
}