.cardflip {
	width: auto;
	height: 350px;
	border: 2px solid rgb(248, 198, 47);
	margin: auto;
	perspective: 800px;
	overflow: hidden;
	text-align: center;
	max-height: 450px;
}

.cardflip:hover {
	-webkit-box-shadow: 0px 0px 26px 10px rgba(20, 62, 101, 1);
	-moz-box-shadow: 0px 0px 26px 10px rgba(20, 62, 101, 1);
	box-shadow: 0px 0px 26px 10px rgba(20, 62, 101, 1);
}

.content {
	width: auto;
	height: 100%;
	position: relative;
	transition: transform 0.3s;
	transform-style: preserve-3d;
}

.cardflip:hover .content {
	transform: rotateY(-180deg);
}

.front,
.back {
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: #fff;
	backface-visibility: hidden;
	text-align: center;
}

.back {
	background-color: #143e65;
	color: #ffffff;
	transform: rotateY(180deg);
}


.cardflip .service-name .title{
	/* background-color: #143e65;
	color: #fff; */
	font-family: 'Arial Narrow Bold', sans-serif;
	font-weight:800;
}

.cardflip .service-name{
	height: 15%; 
	line-height: 50px;
	color: var(--color-primary);
	background-color: var(--color-secondary);
}

/* @media screen and (min-width: 974px) and (max-width: 1200px) {
  #projects .service-name .title{
		font-size:10px;
		color: red!important;
	}
} */