.flip-card {
  background: none;
  perspective: 1000px;
  margin-bottom: 30px; }
  .flip-card:after {
    content: "";
    display: block;
    padding-bottom: 100%; }
  @media (max-width: 768px) {
    .flip-card {
      margin-left: auto;
      margin-right: auto; } }

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  transition: transform 0.9s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); }

/* horizontal flip */
.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg); }

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden; }

.flip-card-front {
  background-color: #bbb;
  color: black; }
  .flip-card-front img {
    width: 100%;
    height: 100%; }
  .flip-card-front h2 {
    position: absolute;
    width: 100%;
    height: auto;
    bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    color: #fff;
    font-size: 24px;
    line-height: 26px; }
  @media (min-width: 768px) {
    .flip-card-front h2 {
      font-size: 26px;
      line-height: 28px; } }
@media (min-width: 992px) {
  .flip-card-front h2 {
    font-size: 24px;
    line-height: 26px; } }
@media (min-width: 1200px) {
  .flip-card-front h2 {
    font-size: 30px;
    line-height: 32px; } }

.flip-card-back {
  background-color: #fff;
  color: #888;
  transform: rotateY(180deg); }
  .flip-card-back h2 {
    margin-top: 15px;
    margin-left: 15px;
    margin-right: 10px;
    padding-bottom: 1rem;
    border-bottom: 1px solid #7e949b;
    color: #596d73;
    font-size: 16px;
    line-height: 18px; }
  @media (min-width: 768px) {
    .flip-card-back h2 {
      font-size: 17px;
      line-height: 19px; } }
@media (min-width: 992px) {
  .flip-card-back h2 {
    font-size: 18px;
    line-height: 21px; } }
@media (min-width: 1200px) {
  .flip-card-back h2 {
    font-size: 20px;
    line-height: 24px; } }
.flip-card-back p {
  padding-left: 15px;
  padding-right: 15px; }
.flip-card-back ul {
  list-style-type: none;
  margin-left: 0;
  padding-inline-start: 0;
  padding-left: 15px;
  padding-right: 15px; }
.flip-card-back li {
  text-indent: 0;
  margin-left: 0; }
  .flip-card-back li::before {
    content: none;
    margin-left: 0; }
