.snip1527 {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  color: #000;
  float: left;
  font-family: 'Cardo', serif;
  font-size: 18px;
  margin: 10px 1%;
  max-width: 350px;
  min-width: 250px;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
}

.snip1527 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.snip1527 img {
  max-width: 100%;
  vertical-align: top;
  position: relative;
}

.snip1527 figcaption {
  padding: 25px 20px 25px;
  position: absolute;
  bottom: 0;
  z-index: 1;
  height: 4rem;
  width: 100%;  
}

.snip1527 figcaption:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  
  content: '';
   background: #2980B9;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #FFFFFF, #6DD5FA, #2980B9);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #FFFFFF, #6DD5FA, #2980B9); 

  opacity: 0.8;
  z-index: -1;
}



.snip1527 h3, .snip1527 p {
  margin: 0;
  padding: 0;
}

.snip1527 h3 {
  display: inline-block;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 5px;
}



.snip1527 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

.snip1527:hover img, .snip1527.hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
.snip1527:hover figcaption, .snip1527.hover figcaption {
  background-color: #404042;
  color: #fff;
}

img {
  border-radius: 5px;
}

img {
  border-radius: 5px;
}
@media screen and (max-width: 360px){
  #mode1{
    width: 25rem;
    height: 30rem;
  }
}
