.flip-card {
    background-color: transparent;
    width: 100%;
    padding-top:0;
    /*height: 200px;*/
    border: 1px solid #f1f1f1;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
    margin-top: 2rem;
  }
  .flip-card-front {
    background-position: center center; background-size: contain; background-repeat: no-repeat;
  }
  
.flip-card p, .flip-card h1, .flip-card h2, .flip-card h3, .flip-card a, .flip-card a:hover, .flip-card a:visited, .flip-card a:active {
    color:#ffffff !important;
}
.flip-card a {
  font-weight: 800 !important; white-space: nowrap !important;
}
.no-margin {
  margin-top: 0 !important; margin-bottom:0 !important;
}
.flip-card a::after {
  display: inline-block;
  -webkit-transform: scale(0.5, 1); /* Safari and Chrome */
  -moz-transform: scale(0.5, 1); /* Firefox */
  -ms-transform: scale(0.5, 1); /* IE 9 */
  -o-transform: scale(0.5, 1); /* Opera */
  transform: scale(0.5, 1); /* W3C */
  content: ">";
  position: relative;
  margin-left: 2px;  
}
.flip-card h1, .flip-card h2, .flip-card h3 {
  line-height: 1.2rem !important; margin-top:1rem !important;
}
.flip-card-back {
    padding:2rem; overflow-y: auto; text-align: left;
}
.flip-card-back, .flip-card-back p {
    font-size:0.8rem;
}

  /* This container is needed to position the front and back side */
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    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-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  /* Position the front and back side */
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    top:0;
    left:0;
    bottom:0;
    right:0;
  }
  
  /* Style the front side (fallback if image is missing) */
  .flip-card-front {
    background-color: #bbb;
    color: black;
  }
  
  /* Style the back side */
  .flip-card-back {
    background-color: dodgerblue;
    color: white;
    transform: rotateY(180deg);
  }