.pdfviewer-pdfshelf{
    max-width: 1000px;
    width: 80%;
    display: flex;
    justify-content: center;
    z-index: -1;
    position: relative;
    height: 0px;
    box-sizing: border-box;
    border-bottom: 16px solid #f3f3f3;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    pointer-events: all;
    margin: auto;
    margin-top: 15%;
    margin-bottom: 100px;
}
.pdfviewer-pdfshelf:before {
    content: "";
    position: absolute;
    top: 16px;
    background: linear-gradient(90deg, #fafafa 0%, #ffffff 100%);
    height: 25px;
    width: calc(100% + 40px);
    box-shadow: 0px -1px 6px rgb(0 0 0 / 5%), 0px 4px 16px rgb(0 0 0 / 25%);
    z-index: 2;
}

.pdfviewer-pdf-grid{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    column-gap: 4%;
    width: 80%;
    margin: auto;
    transform: translateY(-100%);
    padding: 0 0 2px;
    z-index: -1;
    position: relative;
    top: 10px; 

}
.pdfviewer-pdf a img {
    width: 100%;
    height: auto;
    aspect-ratio: 115 /180;
    box-shadow: 0px -1px 26px -1px rgba(18,15,15,0.15);
-webkit-box-shadow: 0px -1px 26px -1px rgba(18,15,15,0.15);
-moz-box-shadow: 0px -1px 26px -1px rgba(18,15,15,0.15);
}
.pdfviewer-pdf:hover {
    transform: scale(1.03);
}
.pdfviewer-pdf {
    transform-origin: bottom center;
    transition: transform ease .35s;
    position: relative;
    display: inline-block;
}
.pdfviewer-pdf a {
    display: inline-block;
}

.pdfviewer-pdfshelf:after {
    content: "";
    height: 80px;
    width: calc(100% + 40px);
    position: absolute;
    top: 42px;
    display: block;
    background: linear-gradient(180deg, #f3f3f3 0%, rgba(255, 255, 255, 0) 100%);
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 97% 100%, 3% 100%);
    clip-path: polygon(0% 0%, 100% 0%, 97% 100%, 3% 100%);
    z-index: -1;
}

/**bookhself two design part style start**/
.pdfviewer-fancy-shelf-container {
     width: 100%;
     max-width:1000px;
     margin: auto;
     
}

 .pdfviewer-fancy-shelf {
    width: 100%;
    height: 142px;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    background-position: top;
} 
.pdfviewer-fancy-books{
    width: 80%;
    margin: auto;
    padding: 0 0 2px;
    z-index: 999;
    position: relative;
    top: 17px; 
    text-align: center;
} 

.pdfviewer-fancy-book a img {
    width: 100%;
    height: auto;
    aspect-ratio: 115 /180;
    box-shadow: 0px -1px 26px -1px rgba(18,15,15,0.15);
-webkit-box-shadow: 0px -1px 26px -1px rgba(18,15,15,0.15);
-moz-box-shadow: 0px -1px 26px -1px rgba(18,15,15,0.15);
}
.pdfviewer-fancy-book:hover {
    transform: scale(1.03);
}
.pdfviewer-fancy-book {
    transform-origin: bottom center;
    transition: transform ease .35s;
    position: relative;
    display: inline-block;
    width: 20%;
    padding-right: 10px;
    padding-left: 10px;
}
.pdfviewer-fancy-book a {
    display: inline-block;
}
/**bookhself two design part style  end**/

@media only screen and (max-width: 786px) { 
    .pdfviewer-fancy-book {
        padding-right: 5px;
        padding-left: 5px;
    }

}



