.servicios {
	position: relative;
	font-family: 'Alegreya Sans', sans-serif;
	height: auto;
	width: 100%;
	background-color: #D9D9D9;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.servicios .titulo {
	display: flex;
	flex-direction: column;
	text-align: center;
}

.servicios .titulo h1 {
	width: 400px;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid black;
}

.boxesContainer {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 82%;
}

.card {
	display: flex;
	height: 250px;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	background-color: white;
	margin-bottom: 20px;
	margin-top: 20px;
	border-radius: 10px;
}

.card:hover {
	cursor: pointer;
}

.img-card-serv {
	max-width: 200px;
}

.photo-card-serv {
	max-height: 100%;
	max-width: 30%;
}

.photo-card-serv-h {
	max-width: 30%;
	height: 100%;
}

.back {
	width: 400px;
}

.back h3 {
	font-size: 30px;
}

.back p {
	font-size: 20px;
}

.back ul{
	list-style: none;
	padding-left: 0px;
}

.back ul li{
	margin-bottom: 10px;
}

.cardBox {
	text-decoration: none;
	color: black;
}

@media only screen and (max-width: 590px) {

	.servicios .titulo h1 {
		width: 100%;
	}

	.card {
		flex-direction: column;
		height: auto;
	}

	.back {
		text-align: center;
		width: 90%;
	}

	.photo-card-serv {
		display: none;
	}

	.photo-card-serv-h {
		display: none;
	}

}