.flip-card {
  background-color: transparent;

  perspective: 1000px;
}

.flip-card-inner {
  position: relative;

  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}



.flip-card-front {
   position: absolute;
  color: black;
   -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-back {

  color: white;
  transform: rotateY(180deg);
   -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}