.card-wrapper {
  display: inline-block;
  perspective: 1000px;
}
.card-wrapper .card {
  position: relative;
  cursor: pointer;
  transition-duration: 0.6s;
  transition-timing-function: ease-in-out;
  transform-style: preserve-3d;
}
.card-wrapper .card .front,
.card-wrapper .card .back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transform: rotateX(0deg);
}
.card-wrapper .card .front {
  z-index: 2;
}
.card-wrapper .card .back,
.card-wrapper.flip-right .card .back {
  transform: rotateY(180deg);
}
.card-wrapper:hover .card,
.card-wrapper.flip-right:hover .card {
  transform: rotateY(180deg);
}
.card-wrapper.flip-left .card .back {
  transform: rotateY(-180deg);
}
.card-wrapper.flip-left:hover .card {
  transform: rotateY(-180deg);
}

/* DEMO */

.card-wrapper,
.card {
  width: 215px;
  height: 300px;
  margin: 5px;
	border-radius:20px;
}
.card .front,
.card .back {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #cde1e4;
  border-radius:20px;
}
.card .front {
  color: #FC545E;
  background: #cde1e4;
  font-weight: 700;
  font-size: 1rem;
	text-align: center;
}

.card .front img{
	margin: -75px 0 0 0;
	
}

.card .front h3{
	font-size: 18px;
	margin: 0 auto;
	line-height: 24px;
	padding: 100px 20px 0 20px;
	font-weight: 500;
	color: #000;
	position: absolute;
}

.card .front h3 span{
	color: #0361AF;
	font-weight: bold;
}


.card .back {
  font-size: 1.5rem;
  color: #FFFFFF;
  background: #055090;
}

.card .back p{
	font-size: 16px;
	margin: 0;
	line-height: 22px;
	padding: 20px;
	font-weight: 400;
	text-align: center;	
	color: #fff;
}

/* Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
	
	.card-wrapper,
	.card {
	  width: 94%;
	  height: 300px;
	  margin:10px;
	}
	.card .front,
	.card .back {
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  background: #cde1e4;
	  border-radius:20px;
	}
	.card .front {
	  color: #FC545E;
	  background: #cde1e4;
	  font-weight: 700;
	  font-size: 1rem;
		text-align: center;
	}

	.card .front img{
		margin: -75px 0 0 0;

	}

	.card .front h3{
		font-size: 18px;
		margin: 0 auto;
		line-height: 20px;
		padding: 100px 20px 0 20px;
		font-weight: 500;
		color: #000;
		position: absolute;
	}

	.card .back {
	  font-size: 1.5rem;
	  color: #FFFFFF;
	  background: #055090;
	}

	.card .back p{
		font-size: 14px;
		margin: 0;
		line-height: 22px;
		padding: 20px;
		font-weight: 400;
		text-align: center;	
		color: #fff;
	}
}


/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199.98px) { 
	
	.card-wrapper,
	.card {
	  width: 182px;
	  height: 300px;
	  margin:5px;
	}
	.card .front,
	.card .back {
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  background: #cde1e4;
	  border-radius:20px;
	}
	.card .front {
	  color: #FC545E;
	  background: #cde1e4;
	  font-weight: 700;
	  font-size: 1rem;
		text-align: center;
	}

	.card .front img{
		margin: -75px 0 0 0;

	}

	.card .front h3{
		font-size: 18px;
		margin: 0 auto;
		line-height: 20px;
		padding: 100px 20px 0 20px;
		font-weight: 500;
		color: #000;
		position: absolute;
	}

	.card .back {
	  font-size: 1.5rem;
	  color: #FFFFFF;
	  background: #055090;
	}

	.card .back p{
		font-size: 14px;
		margin: 0;
		line-height: 22px;
		padding: 20px;
		font-weight: 400;
		text-align: center;	
		color: #fff;
	}
	
}
