



.viewpoint {
  list-style: none;
  padding: 0;
}

/*************************************
      Build the book
**************************************/

.shape {
  width: 260px;
  height: 400px;
  margin:70px 30px;
  float: left;
  -webkit-perspective: 1000px;
  -moz-perspective: 1000px;
  perspective: 1000px;

} 



.book {
  width: 260px;
  height: 400px;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: translateZ(-130px);
  -moz-transform: translateZ(-130px);
  transform: translateZ(-130px);
  -webkit-transition: -webkit-transform 320ms;
  -moz-transition: -moz-transform 320ms;
  transition: transform 320ms;
  cursor: pointer;
}

/*************************
     Rotate shapes
**************************/

.book:hover {
  -webkit-transform: rotateY(-78deg) translateZ(20px);
  -moz-transform: rotateY(-78deg) translateZ(20px);
  transform: rotateY(-78deg) translateZ(20px);
}

/*************************************
Transform and style
**************************************/

.book .front, 
.book .info {
  position: absolute;
  width: 260px;
  height: 400px;
  background-color: #fff;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}

.book .front  {
  -webkit-transform: translateZ(130px);
  -moz-transform: translateZ(130px);
  transform: translateZ(130px);
  background-size: cover;
  background-repeat: no-repeat;
}

.book .info {
  -webkit-transform: rotateY(90deg) translateZ(130px);
  -moz-transform: rotateY(90deg) translateZ(130px);
  transform: rotateY(90deg) translateZ(130px);
  border: 1px solid #B8B5B5;
  font-size: 0.75em;
}

/*************************************
Shadow beneath the 3D shapes
**************************************/

.book::after {
  content: '';
  width: 260px;
  height: 260px;
  position: absolute;
  bottom: 0;
  box-shadow: 0 30px 50px rgba(0,0,0,0.9);
  -webkit-transform-origin: 100% 100%;
  -moz-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
  -webkit-transform: rotateX(90deg) translateY(130px);
  -moz-transform: rotateX(90deg) translateY(130px);
  transform: rotateX(90deg) translateY(130px);
  -webkit-transition: box-shadow 350ms;
  -moz-transition: box-shadow 350ms;
  transition: box-shadow 350ms;
}

.book:hover::after {
  box-shadow: 50px -5px 50px rgba(0,0,0,0.4);
}

/*************************************
book information
**************************************/

.info div {
  color: #FFF;
  padding: 7px 10px;
  font-weight: bold;
  height: 195px;
  background-repeat: no-repeat;
  text-shadow: 0px 1px 1px rgba(0,0,0,2);
}

.info div h1 {
  margin: 10px 0 0 3px;
  font-size: 1.3em;

}
.info h3{
    padding: 5px 15px;
    font-size: 18px;
}

.info div .Year {
  border: 1px solid #ddd;
  padding: 1px 3px;

}

.info p {
  padding: 1.2em 1.4em;
  margin: 2px 0 0;
  font-weight: 400;
  color: #000;
  line-height: 1.4em;
  border-top: 10px solid #ee3636;
}

/******************************************
Generate some "lighting" using box shadows
*******************************************/


.book .front {
  box-shadow: inset 0px 0px 40px rgba(255,255,255,0);
}

.book:hover .front {
  box-shadow: inset 300px 0px 40px rgba(255,255,255,0.8);
}

.book .info, 
.book .info div {
  box-shadow: inset -300px 0px 40px rgba(0,0,0,0.5);

}

.book:hover .info, 
.book:hover .info div {
  box-shadow: inset 0px 0px 40px rgba(0,0,0,0);
}

.book .front,
.book .info,
.book .info div {
  -webkit-transition: box-shadow 350ms;
  -moz-transition: box-shadow 350ms;
  transition: box-shadow 350ms;
}

/*************************************
fronts and still images
**************************************/

.shape .front.one {
  background-image: url('https://in.ecoguardfilters.com/frontend/images/a.jpg');
}

.shape .front.two {
  background-image: url('https://in.ecoguardfilters.com/frontend/images/l.jpg');
}

.shape .front.three {
  background-image: url('https://in.ecoguardfilters.com/frontend/images/fu.jpg');
}
.shape .front.four {
  background-image: url('https://in.ecoguardfilters.com/frontend/images/h.jpg');
}
.shape .front.five {
  background-image: url('https://in.ecoguardfilters.com/frontend/images/w.jpg');
}
.shape .front.six {
  background-image: url('https://in.ecoguardfilters.com/frontend/images/fw.jpg');
}

/* ----------------------------------------- */
.shape .info div.one {
  background-image: url('https://in.ecoguardfilters.com/frontend/images/aback.jpg');
  
}

.shape .info div.two {
  background-image: url('https://in.ecoguardfilters.com/frontend/images/lback.jpg');
 
}

.shape .info div.three {
  background-image: url('https://in.ecoguardfilters.com/frontend/images/fuback.jpg');
  
}
.shape .info div.four {
  background-image: url('https://in.ecoguardfilters.com/frontend/images/hback.jpg');
  
}
.shape .info div.five {
  background-image: url('https://in.ecoguardfilters.com/frontend/images/wback.jpg');
  
}
.shape .info div.six {
  background-image: url('https://in.ecoguardfilters.com/frontend/images/fwback.jpg');
  
}


/*************************************
Media Queries
**************************************/
@media screen and (max-width: 480px){
  .shape {
    float: none;
    margin: 60px auto 60px;
  }
}