/*begin card mol si info*/
/*begin cards*/

.cards {
	/* min-height: 300px; */
	/* display: grid; */
	place-items: center;
	text-align: center;
	color: #585858;
}

.containercard {
	width: 100%;
	padding: 0 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;

}

.card {
	/* height: 250px; */
	/* min-width: 22%;
  max-width: 23%; */
	/* width: 50%; */
	margin: 0 1%;
	background: white;
	transition: 0.4s;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);

}

.card:hover {
	height: 25em;
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.card .top-text {
	padding: 5px;
}

.card .top-text .names {
	font-size: 1.5em;
	font-weight: 600;
	color: #202020;
}

.card .top-text p {
	font-size: 20px;
	font-weight: 600;
	color: #e74c3c;
	line-height: 20px;
}

.card .bottom-text {
	padding: 0 20px 10px 20px;
	margin-top: 5px;
	background: white;
	opacity: 0;
	visibility: hidden;
	transition: 0.1s;
	text-align: center;
}

.card:hover .bottom-text {
	opacity: 1;
	visibility: visible;
}

.card .bottom-text .text {
	text-align: center;
	overflow: hidden;
	max-height: 5rem;
	-webkit-box-orient: vertical;
	display: block;
	display: -webkit-box;
	overflow: hidden !important;
	text-overflow: ellipsis;
	-webkit-line-clamp: 5;
}

.card .bottom-text .btn {
	margin: 10px 0;
	text-align: center;

}

.card .bottom-text .btn a {
	text-decoration: none;
	background: rgb(47, 0, 255);
	color: #f2f2f2;
	padding: 5px 8px;
	border-radius: 3px;
	display: inline-flex;
	transition: 0.2s;
	width: 90%;
	text-align: center;
	justify-content: center;
	align-items: center;
}

.card .bottom-text .btn a:hover {
	transform: scale(0.9);
}

/*end cards*/
/*end card mol si info*/





@media (min-width:981px) {
	.card {
		height: 15em;
		width: 25%;
	}

	.card .img {
		height: 11em;
		width: 100%;
	}

	.card .img img {
		height: 10em;
		width: 10em;
		object-fit: cover;
	}

	.cards {
		min-height: 20em;
	}
}

@media (min-height: 641px) and (max-width: 980px) {


	.card {
		width: 13em;
		height: 15em;
	}

	.card .img {
		height: 12em;
		width: 100%;
	}

	.card .img img {
		height: 10em;
		width: 10em;
		object-fit: cover;
	}

	.cards {
		margin-top: 7em;
		min-height: 20em;
	}

}

@media (max-width: 640px) {

	.containercard {
		flex-direction: column;
	}

	.card {
		width: 13em;
		height: 4em;
	}

	.card .img {
		display: none;
	}

	.card:hover {
		height: 13em;
	}

	.cards {
		margin-top: 7em;
		min-height: 15em;
	}
}