@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: 'Noto Nastaliq Urdu', serif;
    font-family: 'Roboto', sans-serif;
}

body {
    background: #000;

}

.max_width {
    max-width: 1100px;
    margin: 0 auto;
}

img {
    width: 100%;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000;
    box-shadow: 0px 7px 8px -1px rgba(255, 255, 255, 0.75);
    -webkit-box-shadow: 0px 7px 8px -1px rgba(255, 255, 255, 0.75);
    -moz-box-shadow: 0px 7px 8px -1px rgba(255, 255, 255, 0.75);
    z-index: 99;
    user-select: none;
}

nav .nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

nav .nav .logo {
    width: 120px;
    position: relative;
}

nav .nav .logo a {

    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
}

nav .nav .log2 {
    width: 200px;
}

.book-container {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 600px;
    margin-top: 200px;
}

@keyframes initAnimation {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(-30deg);
    }
}

.book_box {
    position: relative;
}

.read_container button {
    margin-top: 70px;
    margin-bottom: 100px;
    padding: 10px 25px;
    font-family: 'Noto Nastaliq Urdu', serif;
    color: #0c0d0e;
    background-color: #f9d20a;
    font-size: larger;
    border-radius: 50px;
    border: 3px solid rgb(228, 218, 218);

    cursor: pointer;
}

.read_container div a :hover {
    background-color: #fa9f3a;

}

.read_container div :hover {
    opacity: 0.9;

    -webkit-box-shadow: 0px 0px 100px 0px rgba(255, 165, 0, 1);
    -moz-box-shadow: 0px 0px 100px 0px rgba(255, 165, 0, 1);
    box-shadow: 0px 0px 100px 0px rgba(255, 165, 0, 1);
    transition: .9s ease;

}



span h1 {
    color: #e4e3de;
    font-family: 'Noto Nastaliq Urdu', serif;
    margin-top: 50px;
    text-align: center;
    font-size: 50px;
    opacity: 0.5;
}


.read_container button i {
    padding-right: 8px;
}

.book_box .book-name {
    position: absolute;
    font-size: 60px;
    font-family: 'Noto Nastaliq Urdu', serif;
    color: #fff;
    left: -70px;
    top: 30%;
    opacity: 0.4;
}

.book_box .book {
    width: 200px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-30deg);
    transition: 1s ease;
    animation: 1s ease 0s 1 initAnimation;
}

.book_box .book:hover {
    transform: rotateY(0deg);
}

.book_box .book> :first-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 300px;
    transform: translateZ(25px);
    background-color: #0040b8;

    border-radius: 0 2px 2px 0;
    box-shadow: 5px 5px 20px #000;
}

.book_box .book::before {
    position: absolute;
    content: ' ';
    background-color: blue;
    left: 0;
    top: 3px;
    width: 48px;
    height: 294px;
    transform: translateX(172px) rotateY(90deg);
    background: linear-gradient(90deg,
            #fff 0%,
            #f9f9f9 5%,
            #fff 10%,
            #f9f9f9 15%,
            #fff 20%,
            #f9f9f9 25%,
            #fff 30%,
            #f9f9f9 35%,
            #fff 40%,
            #f9f9f9 45%,
            #fff 50%,
            #f9f9f9 55%,
            #fff 60%,
            #f9f9f9 65%,
            #fff 70%,
            #f9f9f9 75%,
            #fff 80%,
            #f9f9f9 85%,
            #fff 90%,
            #f9f9f9 95%,
            #fff 100%);
}

.book_box .book::after {
    background-color: #0040b8;
    box-shadow: -10px 0 50px 10px #000;
    position: absolute;
    top: 0;
    left: 0;
    content: ' ';
    width: 200px;
    height: 300px;
    transform: translateZ(-25px);
    border-radius: 0 2px 2px 0;

}

.book_box .book.n2::after {
    background-color: #35413a;

}

.book_box .book.n3::after {
    background-color: #646a74;

}

.book_box .book.n4::after {
    background-color: #b3a957;

}

.book_box .book.n5::after {
    background-color: #cacaa2;

}

.book_box .book.n6::after {
    background-color: #2f3541;

}

.book_box .book.n7::after {
    background-color: #b4b9c2;

}

.book_box .book.n8:after {
    background-color: #6b3939;

}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-panel {
    background-color: #f9d20a;
    color: #f9d20a;

}

audio {
    margin-top: 10px;
    height: 30px;
}

footer .max_width {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    user-select: none;
}

footer img {
    width: 200px;
}

footer div {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 10px 10px;
    grid-template-areas:
        ". . . .";
}

footer div li {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    padding: 10px;
    gap: 0 20px;
    border-radius: 5px;
    position: relative;
}

footer div li a {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

footer div li img {
    width: 50px;
}

footer div li p {
    font-size: 16px;
    color: #fff;
    font-family: 'Noto Nastaliq Urdu', serif;
}

@media screen and (max-width: 885px) {
    .read_container button {

        padding: 9px 18px;
    }



    .read_container div :hover {
        opacity: 0.9;
        background-color: #fa9f3a;

    }


    footer .max_width {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px 0;
    }

    footer div {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        gap: 10px 10px;
        grid-template-areas:
            ". .";
    }
}

/*------------------------------------ index35------ */

.audio_heading {
    text-align: end;
    margin-top: 100px;
    user-select: none;

}

.audio_heading h1 {
    color: #ffffff;
    font-family: 'Noto Nastaliq Urdu', serif;
    user-select: none;

}

.audio_heading h2 {
    color: #f9d20a;
    user-select: none;
}

.audio {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0 15px 0;
    font-family: 'Noto Nastaliq Urdu', serif;
    user-select: none;
}

.audio h2 {
    color: #f9d20a;
    font-family: 'Noto Nastaliq Urdu', serif;
    user-select: none;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-panel {
    background-color: #f9d20a;
    color: #f9d20a;

}

.max_width h2 {
    color: #fa9f3a;
    text-align: center;
    font-family: 'Noto Nastaliq Urdu', serif;
    user-select: none;
}

audio {
    height: 30px;
}

@media screen and (max-width: 885px) {

    .audio {
        display: block;

    }

    audio {
        margin-top: 10px;
        height: 30px;
        width: 300px;
        margin-left: 40px;
    }

}