
.cardflip {
  display: flex;
  margin: 0 auto;
  justify-content: left;
  align-items: left;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.card_title { width: 100%; position: absolute; bottom: -70px; margin: 0; color: #323232; padding: 15px 0 25px 0; text-align: left; font-size: 20px; color: #ff9f00; font-weight: 500; }

.heading {
  width: 100%;
  margin-left: 1rem;
  font-weight: 900;
  font-size: 1.618rem;
  text-transform: uppercase;
  line-height: 1;
  padding-bottom: .5em;
  margin-bottom: 1rem;
  position: relative;
}
.heading:after {
  display: block;
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #1a9be6, #1a57e6);
  bottom: 0;
}

.description {
  width: 100%;
  margin-top: 0;
  margin-left: 1rem;
  margin-bottom: 3rem;
}

.card {
  color: inherit;
  cursor: default;
  width: calc(50% - 30px);
  min-width: calc(50% - 30px);
  padding-top: 27.2%;
  perspective: 1000px;
  margin: 0px 15px 70px 15px;
  position: relative;
}
@media screen and (max-width: 800px) {
  .card {
    width: calc(50% - 3rem);
  }
}
@media screen and (max-width: 500px) {
  .card {
    width: 100%;
  }
}

.front,
.back {
  display: flex;
  background-position: center;
  background-size: cover;
  text-align: center;
  justify-content: center;
  align-items: center;
  position: absolute;
  height: 100%;
  width: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: ease-in-out 200ms;
  top:0;
  border-radius: 20px;
}

.front {
  background-size: cover;
  font-size: 1.618rem;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  font-family: Poppins, sans-serif;
  z-index: 1
}
.front:before {
  position: absolute;
  display: block;
  content: '';
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background: linear-gradient(135deg, #1a9be6, #1a57e6);*/
  opacity: .25;
  z-index: -1;
}
.card:hover .front {
  /*transform: rotateY(180deg);*/
  opacity: 0.7;
}
.card:nth-child(even):hover .front {
  /*transform: rotateY(-180deg);*/
}

.back {
  background: rgb(255,159,0.9); background: linear-gradient(90deg, rgba(244,144,0,0.9) 0%, rgba(255,175,65,0.9) 100%);
  background-size: cover;
  /*transform: rotateY(-180deg);*/
  padding: 0 40px;
  text-align: left;
  z-index: 2;
  opacity:0;
}
.back:before {
  position: absolute;
  display: block;
  content: '';
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background: linear-gradient(135deg, #fff, #fff);*/
  opacity: .8;
  z-index: -1;
}

.back h4 { color: #fff; font-weight: 600; border-bottom: 1px solid #fff; border-bottom: 1px solid #fff; padding-bottom: 20px; margin-bottom: 20px; margin-top: 0; }
.back p { color: #fff !important; margin-bottom: 0; letter-spacing: -1px; font-size: 17px !important; font-weight: 500 !important; }

.card:hover .back {
  /*transform: rotateY(0deg);*/
  opacity: 1;
}
.card:nth-child(even) .back {
  /*transform: rotateY(180deg);*/
}

.card:nth-child(even):hover .back {
  /*transform: rotateY(0deg);*/
}

