.book-cell {
  position: relative;
  display: flex;
  padding: 25px;
  width: 100%;
  height: 200px;
  margin-right: 1px;
}
.book-cell:nth-child(1) {
  background-color: #2e9fd2;
  margin-top: 10%;
}
.book-cell:nth-child(1) .book-see a {
  color: #2e9fd2;
}
.book-cell:nth-child(2) {
  background-color: #a4e0eb;
}
.book-cell:nth-child(2) .book-see a {
  color: #a4e0eb;
}
.book-cell:nth-child(3) {
  background-color: #edb9d6;
}
.book-cell:nth-child(3) .book-see a {
  color: #edb9d6;
}
.book-cell:nth-child(4) {
  background-color: #fdca95;
}
.book-cell:nth-child(4) .book-see a {
  color: #fdca95;
}
.book-cell:nth-child(5) {
  background-color: #cbb5e2;
}
.book-cell:nth-child(5) .book-see a {
  color: #cbb5e2;
}
.book-cell .book-see a:hover {
  color: #000;
}
.book-photo {
  width: 130px;
  flex-shrink: 0;
  bottom: -35px;
  left: 35px;
  border-radius: 2px;
  box-shadow: -2px 6px 19px 0px #7f818e;
  transition: 0.3s ease;
}
.book-photo:hover {
  transform: scale(1.03);
}

.book-img {
  flex-shrink: 0;
}

.book-title {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.book-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.3rem;
}

.book-author {
  margin-top: 3px;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.book-content {
  padding: 0 20px;
  color: #ffffff;
  overflow: hidden;
}
.book-sum {
  margin-top: 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.book-see {
  margin-top: 15px;
  text-align: center;
  background-color: #fff;
  color: #fbadaf;
  font-weight: 600;
  padding: 8px;
  font-size: 14px;
  width: 160px;
  border-radius: 20px;
}
.book-see:hover {
  color: #ff6e72;
}
.book-see.book-blue {
  color: #a4e0eb;
}
.book-see.book-blue:hover {
  color: #22cdec;
}
.book-see.book-pink {
  color: #edb9d6;
}
.book-see.book-pink:hover {
  color: #ff6dbe;
}
.book-see.book-yellow {
  color: #fdca95;
}
.book-see.book-yellow:hover {
  color: #fb9124;
}
.book-see.book-purple {
  color: #cbb5e2;
}
.book-see.book-purple:hover {
  color: #a764ec;
}

@media only screen and (max-width: 425px){
  .book-sum {
    margin-top: 10px;
    -webkit-line-clamp: 2;
}
.book-photo {
    width: 110px;
    }
.book-cell{
  height: 165px;
}
}


/* Variables */
.pub_content p{text-align: justify;}
.pub_content{position: relative;
    padding: 1rem;}
.book_desc {
    top: 95px;
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
	cursor: pointer;
}
.pub_thumb {
  top: 30px;
  position: relative;
  width: 300px;
  height: 400px;
  border-right: 1px #fff solid;
  -moz-transition: all 0.25s ease-out;
  -o-transition: all 0.25s ease-out;
  -webkit-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
  -moz-perspective: 500px;
  -webkit-perspective: 500px;
  perspective: 500px;
  -moz-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -moz-transform: perspective(600px) rotateX(0deg) rotateY(-30deg) rotateZ(0deg);
  -ms-transform: perspective(600px) rotateX(0deg) rotateY(-30deg) rotateZ(0deg);
  -webkit-transform: perspective(600px) rotateX(0deg) rotateY(-30deg) rotateZ(0deg);
  transform: perspective(600px) rotateX(0deg) rotateY(-30deg) rotateZ(0deg);
  -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 6px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 6px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 6px;
}
.pub_thumb:before {
  /* page side */
  /* width: 30px; */
  height: 410px;
  position: absolute;
  border: 1px #ddd solid;
  content: "";
  right: 0px;
  background: #fff;
  /*background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2RkZGRkZCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');*/
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #dddddd));
  background-image: -moz-linear-gradient(#ffffff, #dddddd);
  background-image: -webkit-linear-gradient(#ffffff, #dddddd);
  background-image: linear-gradient(#ffffff, #dddddd);
  -moz-perspective: 500px;
  -webkit-perspective: 500px;
  perspective: 500px;
  -moz-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -moz-transform: perspective(600px) rotateX(0deg) rotateY(30deg) rotateZ(0deg) translate3d(30px, -7px, 0px);
  -ms-transform: perspective(600px) rotateX(0deg) rotateY(30deg) rotateZ(0deg) translate3d(30px, -7px, 0px);
  -webkit-transform: perspective(600px) rotateX(0deg) rotateY(30deg) rotateZ(0deg) translate3d(30px, -7px, 0px);
  transform: perspective(600px) rotateX(0deg) rotateY(30deg) rotateZ(0deg) translate3d(30px, -7px, 0px);
  -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 6px 12px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 6px 12px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 6px 12px;
}
.pub_thumb:after {
  /* back cover */
  width: 300px;
  height: 410px;
  position: absolute;
  border-right: 1px #ddd solid;
  content: "";
  top: 0;
  right: 0;
  background: var(--book);
  /* I need this to provide the back cover color */
  -moz-perspective: 500px;
  -webkit-perspective: 500px;
  perspective: 500px;
  -moz-transform: perspective(600px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate3d(36px, -7px, -20px);
  -ms-transform: perspective(600px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate3d(36px, -7px, -20px);
  -webkit-transform: perspective(600px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate3d(36px, -7px, -20px);
  transform: perspective(600px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate3d(36px, -7px, -20px);
  -moz-box-shadow: transparent 0px 6px 12px;
  -webkit-box-shadow: transparent 0px 6px 12px;
  box-shadow: transparent 0px 6px 12px;
}
.pub_thumb:hover {
  border-right: 0 #fff solid;
  -moz-transform: perspective(600px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  -ms-transform: perspective(600px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  -webkit-transform: perspective(600px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  transform: perspective(600px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  -moz-transition: all 0.25s ease-out;
  -o-transition: all 0.25s ease-out;
  -webkit-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
  cursor: pointer;
}
.pub_thumb:hover:after, .pub_thumb:hover:before {
  height: 400px;
  -moz-transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate3d(0px, 0px, -3px);
  -ms-transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate3d(0px, 0px, -3px);
  -webkit-transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate3d(0px, 0px, -3px);
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate3d(0px, 0px, -3px);
  -moz-transition: all 0.25s ease-out;
  -o-transition: all 0.25s ease-out;
  -webkit-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}
.pub_thumb:hover:before {
  -moz-perspective: 500px;
  -webkit-perspective: 500px;
  perspective: 500px;
  -moz-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -moz-transform: perspective(600px) rotateX(0deg) rotateY(30deg) rotateZ(0deg) translate3d(0px, 0px, -2px);
  -ms-transform: perspective(600px) rotateX(0deg) rotateY(30deg) rotateZ(0deg) translate3d(0px, 0px, -2px);
  -webkit-transform: perspective(600px) rotateX(0deg) rotateY(30deg) rotateZ(0deg) translate3d(0px, 0px, -2px);
  transform: perspective(600px) rotateX(0deg) rotateY(30deg) rotateZ(0deg) translate3d(0px, 0px, -2px);
  -moz-box-shadow: transparent 0px 6px 12px;
  -webkit-box-shadow: transparent 0px 6px 12px;
  box-shadow: transparent 0px 6px 12px;
}
@media only screen and (max-width: 991px){
  .pub_content {
    top: 60px;
}

.pub_content div {
    display: flex;
    justify-content: center;
    align-items: center;
	margin-bottom: 25px;
}

.book_thumb {
	   
    display: flex;
    justify-content: center;
	margin-bottom: 50px;
}

.book_desc {
top: 120%;
position: absolute;
display: flex;
flex-direction: row;
justify-content: center;
align-content: center;
}

/*.book_desc{display: none;}*/
}
@media only screen and (min-width: 992px){
  .pub_content {margin-left: 30px;
  
}
}
 
