/* CARDS ETAPAS */

.containerC {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 100px 50px;
	padding: 80px 40px;	
}

.containerC .card {
	position: relative;
	display: flex;
	Justify-content: center;
	align-items: flex-start;
	width: 260px;
	height: 220px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 35px 88px rgba(0, 0, 0, 0.15);
	transition: 0.5s;
}
	
.containerC .card:hover{
	height: 200px;
}

.containerC .card .imgBx{
	position: absolute;
	top: 20px;
	width: 260px;
	height: 200px;
	background: #333;
	border-radius: 12px;
	overflow: hidden;
	transition: 0.5s;
}

.containerC .card:hover .imgBx{
	top: -100px;
	scale: 0.70;
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.containerC .card .imgBx img{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.containerC .card .content h2{
	font-size: 20px;
	font-weight: 700;
	color: var(--clr);
}

.containerC .card .content{
	position: absolute;
	top: 180px;
	width: 100%;
	padding: 0 30px;
	height: .5px;
	overflow: hidden;
	text-align: center;
	transition: 0.6s;
}

.containerC .card:hover .content{
	top: 100px;
	height: 60px;
}

.containerC .card .content ul{
	color: #333;
	font-size: 14px;
	text-align: justify;
}

.containerC .card .content a{
	position: relative;
	top: 12px;
	display: inline-block;
	padding: 12px 25px;
	background: var(--clr);
	color: #fff;
	font-weight: 500;
	text-decoration: none;
	border-radius: 8px;
}

/* CARDS EVENTOS */

.containerEventos {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 100px 50px;
	padding: 100px 40px;	
}

.containerEventos .cardEventos {
	position: relative;
	display: flex;
	Justify-content: center;
	align-items: flex-start;
	width: 370px;
	height: 300px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 35px 88px rgba(0, 0, 0, 0.15);
	transition: 0.5s
}
	
.containerEventos .cardEventos:hover{
	height: 340px;
}

.containerEventos .cardEventos .imgBxEventos{
	position: absolute;
	top: 20px;
	width: 370px;
	height: 220px;
	background: #333;
	border-radius: 12px;
	overflow: hidden;
	transition: 0.5s;
}

.containerEventos .cardEventos:hover .imgBxEventos{
	top: -100px;
	scale: 0.75;
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.containerEventos .cardEventos .imgBxEventos img{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.containerEventos .cardEventos .contentEventos{
	position: absolute;
	top: 252px;
	width: 100%;
	padding: 0 30px;
	height: 35px;
	overflow: hidden;
	text-align: center;
	transition: 0.5s;
}

.containerEventos .cardEventos:hover .contentEventos{
	top: 130px;
	height: 300px;
}

.containerEventos .cardEventos .contentEventos h2{
	font-size: 20px;
	font-weight: 700;
	color: var(--clr);
}

.containerEventos .cardEventos .contentEventos p{
	color: #333;
	font-size: 14px;
}

.containerEventos .cardEventos .contentEventos ul{
	color: #333;
	font-size: 14px;
}

.containerEventos .cardEventos .contentEventos a{
	position: relative;
	top: 15px;
	display: inline-block;
	padding: 12px 25px;
	background: var(--clr);
	color: #fff;
	font-weight: 500;
	text-decoration: none;
	border-radius: 8px;
}

/*INFOGRAFÍAS*/

.galeria{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	width: 100%;
	margin: auto;
	grid-gap: 10px;
	padding: 40px 20px;
	overflow: hidden;
}

.galeria img{
	width: 100%;
	vertical-align: top;
	height: 155px;
	object-fit: fill;
	transition: transform 0.5s;
}

.galeria > a{
	display: block;
	position: relative;
	overflow: hidden;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}

.galeria a:hover img{
	filter: blur(2px);
	transform: rotate(10deg) scale(1.3);
}

.ligth-box{
	position: fixed;
	top: 0;
	left: 0;
	background: rgb(0, 0, 0, 0.5);
	transition: transform .3s ease-in-out;
	width: 100%;
	height: 100vh;
	z-index: 1000;
	display: flex;
	justify-content: center;
	align-items: center;
	transform: scale(0);
}

.ligth-box img{
	width: 40vw;
	height: 80vh;	
}

.ligth-box:target{
	transform: scale(1);
}

.close{
	display: block;
    position: absolute;
	top: 40px;
    right: 40px;
    background: #C80096;
    text-decoration: none;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
}

.next{
	display: block;
    background: #C80096;
    height: 30px;
    width: 30px;
    line-height: 30px;
	text-decoration:none;
    text-align: center;
    border-radius: 10px;
	margin-left: 20px;
	margin-right: 20px;
}

i{
    color: white;
}

/*VIDEOS*/

.videoTitulo h2 {
	font-size: 24px;
	color: var(--clr);
	text-align: center;
}

.video{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	width: 100%;
	margin: auto;
	grid-gap: 10px;
	padding: 20px 20px;
	overflow: hidden;
}

.video iframe{
	width: 100%;
	vertical-align: top;
	height: 300px;
	object-fit: fill;
	border-radius: 10px;
}

/*CARDS*/ 

@media only screen and (min-width: 0px) and (max-width:510px) {
	
	/* CARDS ETAPAS */

	.containerC {
		gap: 120px 50px;
	}

   .containerC .card {
		width: 200px;
		height: 160px;
	}
		
	.containerC .card:hover{
		height: 120px;
	}
	
	.containerC .card .imgBx{
		width: 200px;
		height: 180px;
	}
	
	.containerC .card:hover .imgBx{
		scale: 0.6;
	}
	
	.containerC .card .imgBx img{
		object-fit: cover;
	}
	
	.containerC .card .content{
		top: 200px;
		padding: 0 20px;
		height: .1px;
		transition: 0.5s;
	}
	
	.containerC .card:hover .content{
		top: 70px;
		height: 100px;
	}
	
	.containerC .card .content h2{
		font-size: 14px;
		margin-bottom: 10px;
	}
	
	.containerC .card .content a{
		top: 15px;
		display: inline-block;
	}
	
	/* CARDS EVENTOS */

	.containerEventos {
		padding: 100px 50px;	
	}
	
	.containerEventos .cardEventos {
		width: 305px;
	}
		
	.containerEventos .cardEventos:hover{
		height: 460px;
	}
	
	.containerEventos .cardEventos .imgBxEventos{
		width: 304px;
	}

	.containerEventos .cardEventos .imgBxEventos img{
		object-fit: cover;
	}
	
	.containerEventos .cardEventos .contentEventos{
		top: 256px;
	}
	
	.containerEventos .cardEventos .contentEventos h2{
		font-size: 14px;
		margin-top: 2px;
		padding: 6px 0;
	}
	
	.containerEventos .cardEventos .contentEventos p{
		text-align: justify;
	}
}

@media only screen and (min-width: 511px) and (max-width:1399px){

	/* CARDS ETAPAS */

	.containerC .card {
		width: 360px;
		height: 320px;
	}
		
	.containerC .card:hover{
		height: 260px;
	}

	.containerC .card .imgBx{
		width: 360px;
		height: 340px;
	}

	.containerC .card:hover .imgBx{
		scale: 0.6;
	}

	.containerC .card .imgBx img{
		object-fit: cover;
	}

	.containerC .card .content{
		top: 300px;
		padding: 0 28px;
		height: .1px;
		transition: 0.5s;
	}

	.containerC .card:hover .content{
		top: 190px;
		height: 200px;
	}

	.containerC .card .content h2{
		margin-top: 8px;
	}

	.containerC .card .content a{
		top: 15px;
	}

	/* CARDS EVENTOS */

	.containerEventos {
		padding: 100px 50px;	
	}

	.containerEventos .cardEventos {
		width: 305px;
		height: 300px;
	}

	.containerEventos .cardEventos:hover{
		height: 380px;
	}

	.containerEventos .cardEventos .imgBxEventos{
		width: 304px;
		height: 220px;
	}

	.containerEventos .cardEventos .imgBxEventos img{
		object-fit: cover;
	}

	.containerEventos .cardEventos .contentEventos h2{
		font-size: 17px;
		margin-top: 2px;
		padding: 6px 0;
	}

	.containerEventos .cardEventos .contentEventos p{
		text-align: justify;
	}
}

/*INFOGRAFÍA*/ 

@media screen and (max-width:420px) {
	.galeria{
		grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	}
	
	.ligth-box img{
		width: 75vw;
		height: 40vh;	
	}

	.close{
		top: 20px;
		right: 20px;
	}

	.next{
		display: block;
		background: #C80096;
		height: 30px;
		width: 40px;
		line-height: 30px;
		text-decoration:none;
		text-align: center;
		border-radius: 10px;
		margin-left: 10px;
		margin-right: 10px;
	}

	.videoTitulo h2 {
		font-size: 14px;
	}

	.video{
		padding: 10px 40px;
	}

	.video iframe{
		height: 200px;
	}
}