:root {
  --main-bg-color: #4088BF;
  --main-txt-color: #143245;
  --second-txt-color:#fff;
  --foot-bg-color: #111;
  --bg-aula: #070b25;
  --bg-aula-hover: #800e0e;
  --color-text-footer: #707070;
}

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
	list-style: none;
	/* border: inset 2px; */
}

body{
	/* border: inset 2px; */
	min-height: 100vh;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-family: sans-serif;
	background: rgb(64,136,191);
	background: linear-gradient(360deg, rgba(64,136,191,1) 0%, rgba(139,186,221,1) 20%, rgba(255,255,255,1) 100%);
}





.encabezado{
	width: 100%;
	height: 70px;
	top: 0;
	display: flex;
	background-color: var(--main-bg-color);
	/* border: inset 2px red; */
	/*background: linear-gradient(rgba(23,50,69,0.5),rgba(64,130,190,0.5));*/
}

.logo{
	display: flex;
	flex-basis: 40%;
	/* border: inset 2px yellow; */
	min-width: 250px;
	justify-content: center;
	/* max-height: 30px; */
}
.logo a{
	/* width: 100%; */
	display: flex;
	justify-content: center;
	align-items: center;
	/* border: inset 2px orangered; */
}

.img_logo{
	height: 90%;
	/* max-width: 60%; */
	/* border: inset 2px orchid; */
}

.navbar{
	display: flex;
	/* flex-basis: 60%; */
	justify-content: center;
	flex-grow: 1;
	/* border: inset 2px green; */
}

.navbar li{
	/* padding:10px 0px; */
	/* margin: 5px 0px; */
	display: flex;
	flex-grow: 1;
	justify-content: flex-end;
}

.navbar li a{
	color: #fff;
	flex-grow: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 2;
	transition: 0.5s;
	font-size: 1.1rem;
	text-align: center;
}

.navbar li:hover{
	/* background-color: #fff; */
	border-bottom: inset 2px #fff;
}
.navbar li a:hover{
	font-weight: bold;
	color: var(--main-txt-color);
}

.navbar .active{
	background-color: #fff;
	color: var(--main-txt-color);
}

#btn-menu{
	display: none;
}

.icon{
	display: none;
}

#aula{
	background-color: var(--bg-aula);
	color: var(--second-txt-color);
	/* border-bottom-left-radius: 45px 25px; */
	margin: 0;
	padding: 0;
}

#aula:hover{
	font-weight: normal;
	background-color: var(--bg-aula-hover);
	/* color: var(--bg-aula); */
}

#llave{
	width: 30px;
	height: 30px;
	color: #fff;
	flex-grow: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 2;
	transition: 0.5s;
	font-size: 1.1rem;
	text-align: center;
	position: absolute;
	top: 5px;
	left: 5px;
	display: none;
}

.copy, .info{
	width: 100%;
	/* height: 40px; */
	display: flex;
	/* flex-grow: 1; */
	background-color: var(--foot-bg-color);
	color: var(--color-text-footer);
	font-family: sans-serif;
	
}

.info{
	display: flex;
	justify-content: space-evenly;
	padding-top: 15px;
	flex-grow: 1;
}

.info1{
	display: flex;
	flex-basis: 66%;
	justify-content: space-evenly;
}

.contactos ul li a{
	color: var(--color-text-footer);
}

.contactos ul li span, .interes ul li span{
	display: inline-block;
	padding: 2px 15px;
}

.copy{
	height: 50px;
	align-items: center;
	justify-content: center;
}
.derechos{
	font-family: sans-serif;
	flex-basis: 70%;
	text-align: center;
}

.enlaces{
	display: flex;
	flex-grow: 1;
	flex-basis: 30%;
	font-size: 1em;
}

.enlaces a{ 
	color: var(--color-text-footer);
	font-size: 1.5em;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 0.4s;
	padding-left: 10px;
	padding-right: 10px;
}

.enlaces a:hover{
	color: #fff;

}

@media screen and (max-width: 800px){
	.encabezado{
		flex-direction: column;
		height: 95px;
		/* border: inset 2px green; */
	}

	.logo{
		height: 50px;
		justify-content: left;
		/* border: inset 2px green; */
	}

	.img_logo{
		height: 50px;
		padding-left: 30px;
		/* border: inset 2px green; */
	}

	.navbar{
		height: 25px;
		font-size: 0.7rem;
	}
	.navbar li{
		margin: 0;
		padding: 0;
	}

	.info, .copy{
		font-size: 0.8rem;
	}

}

@media screen and (max-width: 500px){
	.encabezado{
		height: 70px;
	}
	
	.logo{
		height: 60px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0 10px 0 10px;
	}
	
	.img_logo{
		/* height: 90%; */
		padding: 0;
		width: 70%;
	}

	.icon{
		display: initial;
		cursor: pointer;
		height: 30px;
		width: 40px;
	}

	.icon img{
		height: 30px;
		width: 40px;
	}

	.navbar{
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		width: 100%;
		height: 80vh;
		position: absolute;
		top: 70px;
		/* flex-basis: 0; */
		z-index: 100;
		background: var(--main-bg-color);
		transform: translateX(-100%);
		transition: all 0.5s;
	}

	.logo a{
		height: 70px;
	}

	#btn-menu:checked ~ .navbar{
		transform: translateX(0%);
	}

	.navbar li{
		border-bottom: 1px solid var(--second-txt-color);
		flex-grow: 0;
	}
	.navbar li a:hover{
		background-color: var(--second-txt-color);
		color: var(--main-txt-color);
		transition: all 0.5s;
		/* border-bottom: inset 2px #fff; */
	}

	.navbar li a{
		height: 60px;
	}

	/* FOOTER */

	.info{
		flex-direction: column-reverse;
		justify-content: center;
		align-items: center;
		font-size: 0.7rem;
	}
	.info1{
		width: 100%;
		justify-content: space-evenly;
		margin: 15px;
	}



	.copy{
		flex-direction: column-reverse;
		border-top: 1px solid var(--color-text-footer);
		height: 70px;
		/* border: inset 2px; */
	}
	.enlaces{
		margin: 10px;	
	}

}
/* --- ESTILOS PARA EL MAPA RESPONSIVO --- */
.mapa-responsive {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px; /* Bordes redondeados para mejor estética */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Sombra suave */
    margin-top: 15px;
}

.mapa-responsive iframe {
    width: 100% !important; /* Forza al mapa a ocupar el ancho de la tarjeta */
    height: 450px; /* Altura fija */
    border: 0;
}

/* Ajuste para celulares */
@media (max-width: 600px) {
    .mapa-responsive iframe {
        height: 300px; /* Mapa un poco más bajo en pantallas pequeñas */
    }
}

/* --- CORRECCIÓN DE ENLACES MORADOS --- */

/* Forzamos a que el enlace sea gris en estado normal Y visitado */
.site-footer a,
.site-footer a:visited, 
.site-footer a:active {
    color: #a0a0a0 !important; /* El mismo gris del texto */
    text-decoration: none;
}

/* Mantenemos el efecto blanco solo cuando pasas el mouse */
.site-footer a:hover {
    color: #ffffff !important;
}
