
.container {
      padding-right: 0px;
     }
     
     
.book1 {
    /*border: 1px solid;*/
    padding: 10px;
    margin-bottom: 50px;
}

     
.contain {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.book-container {
        width: calc(100% / 6 - 10px );
        /* width: 100%; */
        display: flex;
        flex-direction: column;
       /*  justify-content: space-between;*/
      /* border-left: 1px solid #cccc;
       border-right: 1px solid #cccc;*/
       border: 1px solid #cccc;
        margin:5px;
        border-radius:10px;
      /*  padding: 10px;*/
        padding: 20px 10px;

}
@media screen and (min-width: 0px) {
    .book-container{
      width: calc(100% / 1 - 10px );
      max-width:320px;
     }
}
@media screen and (min-width: 500px) {
    .book-container{
      width: calc(100% / 2 - 10px );
     }
}
@media screen and (min-width: 750px) {
    .book-container{
      width: calc(100% / 3 - 10px );
     }
}
@media screen and (min-width: 950px) {
    .book-container{
      width: calc(100% / 4 - 10px );
     }
}
@media screen and (min-width: 1200px) {
    .book-container{
      width: calc(100% / 5 - 10px );
     }
}
@media screen and (min-width: 1500px) {
    .book-container{
      width: calc(100% / 6 - 10px );
     }
     .contain {
     /* border:1px solid red;*/
      max-width:95%;
      margin:auto;

     }
}

.book-title {
    /* text-align: right; */
    margin-top: 20px;
    color: #000;
   /* border: 1px solid #333;*/
}
.b-title {
    /* border: 1px solid red; */
}
.b-title h5 {
    color: #000;
    font-size: 1.05rem;
    margin: 0;
    margin-bottom:2px;
}

.cl-sub {
    display: flex;
    width: 100%;
    justify-content: space-between;
    font-size:0.9rem;
}
.sub {
   /* border: 1px solid #000;*/
  /* color:#333;*/
   color: #686f7a;
    width: 63%;
}
.cl {
    /* border: 1px solid #000; */
    width: 35%;
    text-align: center;
}
.cl span.cl2 {
    /* border: 1px solid #ccc; */
    margin: 0;
    padding: 2px 12px;
    /* color: #fff; */
    background: gold;
    border-radius: 10px;
    text-wrap:nowrap;
}

/* rotate books css starts */

/*         *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
} */

section{
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    perspective: 1000px;
}

section .book{
    position: relative;
   /* width: 383px;
    height: 567px;*/
    width: 240px;
    height: 300px;
    box-shadow: 20px 20px 20px rgba(0,0,0,0.2);
    transform-style: preserve-3d;
    transition: 0.5s;
    /*transform: rotateY(75deg); */
    transform: rotateY(45deg);
}
section .book:hover{
    /*transform: rotateY(60deg);*/
    transform: rotateY(0deg);
    box-shadow: 0px 20px 20px rgba(0,0,0,0.2);
}
section .book:active{
    transform: rotateY(180deg);

}
section .book:before{
    content: '';
    position: absolute;
  /*  width: 60px; */
    width: 30px;
    height: 100%;
    transform-origin: left;
    background: url(turnjs4/samples/docs/Rotate_book/side2.jpg);
    background-position: center;
    transform: rotateY(90deg);
}

section .book:after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: center;
    background: url(turnjs4/samples/docs/Rotate_book/back1.jpg);
    background-position: center;
    /*   transform: rotateY(180deg) translateZ(60px); */
    transform: rotateY(180deg) translateZ(30px);
    object-fit: cover;
}
section .book img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



h5.cl-title {
    /*display: none;*/
    /* border: 1px solid #000; */
    margin: 20px;
    padding: 20px;
    background: #033431;
    color: #fff;
    border-radius: 10px;
    font-size: 24px;
}

.link{
  /*border:1px solid red;*/
  overflow-y:auto;
/*  padding-bottom: 50px;*/
}

.link ul {
   
    display: flex;
  /*  position: fixed;*/
    background: #fff;
    z-index: 1;
    padding: 10px;
  /*  overflow-y: auto;
    width: 100vw;*/
}
.link ul li{
    margin: 5px;
    padding: 5px 10px;
    border: 1px solid #333;
    border-radius: 20px;
    background:#033431;
    list-style: none;
    text-wrap: nowrap;
}
.link ul li a{
  color:#fff;
  text-wrap: nowrap;
}

i.fas.fa-angle-up {
    /* border: 1px solid red; */
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    display: flex;
    position: absolute;
    background: #fff;
    border-radius: 20px;
    position: fixed;
    bottom: 70px;
    font-size: 25px;
    right: 15px;
    box-shadow: 0 0 5px #333;
}