.card-effect {
  background-color: #fff;
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  margin: 5% 5%;
  max-width: 90%;
  min-width: 25%;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
}
.card-effect .card-body{
  border: 1px solid rgba(0,0,0,.125);
}

.card-effect * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

.card-effect:before, .card-effect:after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
  background-color: var(--info);
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
  content: '';
  box-shadow: 0 0 10px #000000;
  opacity: 0.9;
  z-index: 1;
}

.card-effect:before {
  -webkit-transform: skew(45deg) translateX(-155%);
  transform: skew(45deg) translateX(-155%);
}

.card-effect:after {
  -webkit-transform: skew(45deg) translateX(155%);
  transform: skew(45deg) translateX(155%);
}

.card-effect img {
  backface-visibility: hidden;
  max-width: 100%;
  vertical-align: top;
}

.card-effect figcaption {
  top: 50%;
  left: 50%;
  width: 80%;
  position: absolute;
  z-index: 2;
  -webkit-transform: translate(-50%, -50%) scale(0.5);
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  -webkit-box-shadow: 0 0 10px #000000;
  box-shadow: 0 0 10px #000000;
}

.card-effect figcaption h5 {
  background-color: #000000;
  border: 2px solid #fff;
  color: #fff;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0;
  padding: 5px 10px;
  text-transform: uppercase;
}

.card-effect h2{
  background-color: #000000;
  border: 2px solid #fff;
  color: #fff;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0;
  padding: 5px 10px;
  text-transform: uppercase;
}

.card-effect a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.card-effect:hover > img, .card-effect.hover > img {
  opacity: 0.5;
}

.card-effect:hover:before, .card-effect.hover:before {
  -webkit-transform: skew(45deg) translateX(-55%);
  transform: skew(45deg) translateX(-55%);
}

.card-effect:hover:after, .card-effect.hover:after {
  -webkit-transform: skew(45deg) translateX(55%);
  transform: skew(45deg) translateX(55%);
}

.card-effect:hover figcaption, .card-effect.hover figcaption {
  -webkit-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.card.cards-shadown {
  box-shadow: 2px 2px 30px #aaaaaa;  
}

.card.cards-shadown.cards-hover{
  max-width: 100%;
  min-width: 25%;
  position: 0px !important;
}

.card.cards-shadown.cards-hover:hover {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  z-index: 99;
}

.card-footer {
    padding: 0.75rem 1.25rem;
    background-color: white; 
    border-top: 0px solid rgba(0,0,0,.125);
}
