
.flip-box {
  background-color: transparent;
  padding-bottom: 140%;
  position: relative;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
  z-index: 999;
}

/* This container is needed to position the front and back side */
.flip-box-inner {
  position: absolute;
  width: 100%;
  height: auto;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
  -ms-transform: none;
}

/* IE Compatibility */
 @media screen and (min-width:0\0)
{
  .flip-box:hover .flip-box-back 
  {
    visibility: visible;      
  }
   
  .flip-box:hover .flip-box-front 
  {
    visibility: hidden;      
  }  

  .flip-box-back 
  {
    visibility: hidden;    
  }   
}

/* Position the front and back side */
.flip-box-front, .flip-box-back {
  position: absolute;
  width: 100%;
  height: auto;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  transform: rotateX(0deg)
}

/* Style the front side */
.flip-box-front {
  background-color: #4894D8;
  color: white;
}

/* Style the back side */
.flip-box-back {
  background-color: #4894D8;
  color: white;
  padding: 5px;
  transform: rotateY(180deg);
  -ms-transform: none;
}

.flip-box-title 
{
  font-size: large;
  color: white; 
  margin: 0px; 
  padding: 10px;
}

.wrapper-grid
{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 15px;
}