/*@import url('normalize.css');*/
@import url('header.css');
@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&display=swap');
*{
	margin: 0;
	padding: 0;
}
body{
	background-color: #eee;
	position: relative;
}
/*icono*/
.icono{
	display: none;
	width: 40px;
	height: 40px;
	background-color: #C50016;
	border-radius: 8px;
	border: 1px solid red;
	margin: 5px;
	cursor: pointer;
	position: relative;
}
.icono::before{
	content: '';
	display: block;
	width: 80%;
	height: 2px;
	background-color: white;
	position: absolute;
	top: 10px;
	left: 10%;
	box-shadow: 0px 9px 0px white;
}
.icono::after{
	content: '';
	display: block;
	width: 80%;
	height: 2px;
	background-color: white;
	position: absolute;
	bottom: 10px;
	left: 10%;
}
.icono:active{
	transform: scale(.9, .9);
}
.icono.activo{
	transition: 300ms;
}
.icono.activo::before{
	transform: rotateZ(45deg);
	box-shadow: none;
	height: 4px;
	top: 18px;
}
.icono.activo::after{
	transform: rotateZ(-45deg);
	height: 4px;
	bottom: 18px;
}

/* CARRUSELL */
.carrusel{
	width: 100%;
	height: auto;
	margin-top: 20px;
}
.carrusel .contenedor {
    position: relative;
    width: 890px;
    height: 500px;
    background-color: #222;
    border: 3px solid #C50016;
    margin: 0 auto;
    margin-bottom: 50px;
    box-shadow: 0px 0px 10px #111;
    box-sizing: border-box;
}
.carrusel .contenedor .flecha{
	position: absolute;
	cursor: pointer;
}
.carrusel .contenedor .atras{
	top: 50%;
	left: -40px;
}
.carrusel .contenedor .adelante{
	top: 47%;
	right: -50px;
}
.carrusel .contenedor .elementos,
.carrusel .contenedor .elementos .elemento a
.carrusel .contenedor .elementos .elemento a img{
	width: 100%;
	height: 100%;
}
.carrusel .contenedor .elementos .elemento{
	height: auto;
	margin: auto;
}
.carrusel .contenedor .elementos{
	position: absolute;
	top: 0;
	left: 0;
}

.carrusel .contenedor .elementos .elemento a{
	display: block;
}


 /* CUERPO PAGINA */
 #cuerpo{
	width: 100%;
	height: auto;
	margin-top: 40px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
}
#cuerpo h3{
	font-size: 40px;
	font-family: sans-serif;
	margin: 20px 0;
	text-align: center;
}

#cuerpo .contenedor-videos{
	width: 70%;
	min-height: 400px;
}
/* Contenedor de videos*/
.video-container{
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 10px;
	margin-bottom: 40px;
}
a{
	text-decoration: none;
	color: black;
}
.video{
	min-width: 210px;
	padding: 5px;
	border-radius: 5px;
	transition: all 500ms;
	cursor: pointer;
	background-color: #fff;
}
.video:hover{
	box-shadow: 0px 0px 10px #555;
	transform: translateY(-7px);
}

.video-container img{
	width: 100%;
	border-radius: 5px;
}
.video-container h4{
	font-size: 15px;
	font-family: sans-serif, Arial;
}

/* BARRA LATERAL */

.barra-lateral{
	width: 25%;
	/*min-width: 350px;
	min-height: 300px;*/
	border-left: 1px solid black;
}

.barra-lateral h2{
	text-align: center;
	font-family: sans-serif, Arial;
}
.barra-lateral h3{
	font-size: 40px;
	font-family: sans-serif;
	margin: 20px 0;
	text-align: center;
}

/* Redes sociales */

.barra-lateral .redes-sociales{
	width: 90%;
	margin: 20px auto;
}
.barra-lateral .redes-sociales li{
	height: 40px;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}
.barra-lateral .redes-sociales li img{
	width: 30px;
	height: 30px;
}
.barra-lateral .redes-sociales li span{
	font-family: sans-serif, Arial;
	font-size: 20px;
	height: 30px;
	margin-left: 10px;
}
.barra-lateral .redes-sociales li span a{
	line-height: 40px;
}

/*----- Eventos -----*/
/*Avisos*/
.eventos{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	margin: 10px auto;
	justify-content: space-around;

	width: 95%;
	min-height: 400px;
}
.avisos, #live {
    width: 100%;
    height: auto;
    min-height: 400px;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 10px #ccc;
    background-color: #fff;
}
.avisos p{
	text-align: center;
}


#colaboradores{
	width: 90%;
	min-height: 100px;
	/*border: 1px solid #ccc;*/
	margin: 0 auto;
}
#colaboradores div{
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-evenly;
}
#colaboradores div .colaborador{
	width: 250px;
	height: 300px;
	border-radius: 25px;
	background-color: #333;
	padding: 10px;
	box-shadow: 0px 0px 10px #555;
	transition: all 300ms;
}

#colaboradores div .colaborador:hover{
	transform: translateY(-20px);
}

#colaboradores .colaborador .foto{
	width: 100px;
	height: 100px;
	border-radius: 50px;
	margin: 15px auto;
	background-color: yellow;
	overflow: hidden;
}
#colaboradores .colaborador .foto img{
	width: 100%;
	height: 100%;
}
#colaboradores .colaborador p{
	text-align: center;
	color: white;
	font-size: 20px;
	font-family: sans-serif;
}
#colaboradores .colaborador .redes-colaborador{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 50%;
	height: 30px;
	justify-content: space-around;
	margin: 15px auto;
}
#colaboradores .colaborador .redes-colaborador li{
	list-style: none;
}
#colaboradores .colaborador .redes-colaborador li img{
	height: 30px;
}

/*Pie de pagina*/
#footer{
	width: 100%;
	min-height: 40px;
	background-color: #333;
	color: white;
	text-align: center;
	line-height: 40px;
	margin-top: 50px;
}
#footer .creditos{
	position: relative;
	height: 50px;
	box-sizing: border-box;
	overflow: hidden;
}
#footer .creditos:hover{
	overflow: visible;
}
#footer .creditos ul{
	border: white 1px solid;
	background-color: #333;
	position: absolute;
	top: -450%;
	left: 33%;
	padding: 10px;
}
#footer .creditos ul li{
	list-style: none;
}
#footer .creditos ul li a{
	color: white;
}
#footer .creditos ul li a:hover{
	color: #C50016;
}
#footer .creditos span{
	font-size: 25px;
	color: black;
	font-family: sans-serif, Arial;
	line-height: 50px;
}


/* VERSION MOVIL */

/*Media querys*/
@media(max-width: 1280px){
	.video-container{
		grid-template-columns: repeat(3, 1fr);
	}
	.barra-lateral .redes-sociales li span{
		font-size: 15px;
	}
}
@media(max-width: 1000px){
	.carrusel .contenedor {
	    width: 700px;
	    height: 394px;
	}
}
@media(max-width: 950px){
	#cuerpo{
		flex-direction: column;
	}
	#cuerpo .contenedor-videos{
		width: 100%;
	}
	.barra-lateral{
		width: 100%;
	}
	.avisos, #live {
	    margin-bottom: 20px;
	}
}
@media(max-width: 900px){
	#cuerpo{
		width: 100%;
	}
	.video-container{
		grid-template-columns: repeat(2, 1fr);
	}
}
@media(max-width: 800px){
	.carrusel .contenedor {
	    width: 500px;
	    height: 282px;
	}
	#footer .creditos ul{
		top: -450%;
		left: 15%;
	}
}
@media(max-width: 650px){
	.icono{
		display: block;
	}
	.video-container{
		grid-template-columns: repeat(1, 1fr);
	}
	.avisos, #live {
	    width: 100%;
	}
	.carrusel .contenedor {
	    width: 300px;
	    height: 168px;
	}
	/*
	.carrusel .contenedor {
	    width: 95%;
	    height: 168px;
	}
	.carrusel .contenedor .flecha{
		border-radius: 50%;
		border: 1px solid white;
	}
	.carrusel .contenedor .atras{
		z-index: 9999;
		top: 50%;
		left: 0;
	}
	.carrusel .contenedor .adelante{
		top: 47%;
		right: 0;
	}*/
	#colaboradores div{
		flex-direction: column;
		align-items: center;
	}
	#colaboradores div .colaborador{
		margin-bottom: 20px;
	}
}
@media(max-width: 400px){
	.carrusel{
	    display: none;
	}
}
