* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	overflow: hidden;
}

body {
	position: absolute;
    font-family: Arial, sans-serif;
    height: 100vh;
	width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	overflow: hidden;
}


footer {background-color: #868686;

	height: 20px;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
	overflow: hidden;
	z-index: 5;
}



/* Contenedor principal */
.container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Sección superior */
.top-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #EA0029;
	width: 100%;
	height: 40%;
	overflow: hidden;
}



/* carrusel de imágenes */

.imgs {
	
	display: flex;
	justify-content: space-around;
	align-items: center;
	overflow: hidden;
	
}

.fondos img {
	display: flex;
	justify-content: space-around;
	align-items: center;
	overflow: hidden;
	width: 100%;
	height: auto;
	opacity: 40%;
	z-index: 1;
}



.fondos {
	position: absolute;
	overflow: hidden;
    top: -30%;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    animation: fadeInOut 25s infinite;
}

.fondos:nth-child(1) {
    animation-delay: 0s;
}

.fondos:nth-child(2) {
    animation-delay: 5s;
}

.fondos:nth-child(3) {
    animation-delay: 10s;
}

.fondos:nth-child(4) {
    animation-delay: 15s;
}

.fondos:nth-child(5) {
    animation-delay: 20s;
}





@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 0.4;
    }
    20% {
        opacity: 0.4;
    }
    25% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}






/* Imagen centrada */
.image-container {
	position: absolute;
	left: 35%;
	top:38%;
	z-index: 3;
}

.image {

    max-width: 45%;
    height: auto;
	

}

/* Sección inferior */
.bottom-section {
    height: 50%;
    background-color: #ffffff;
	z-index: 2;
}

/* Grid de 3 columnas */
.info-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
    justify-content: center;
    align-items: center;
	align-content: center;
    max-width: 1200px;
    margin: 0 auto;
	padding-top: 0.5%;
}

.info-2 {
	width: 100%;
	height: 40%;
	padding-top: 3%; 
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
    justify-content: center;
    align-items: center;
	align-content: center;
	font: 900;
	font-weight: bolder;
	font-size: 40px;
	color: #EA0029;
	
}

.info {
    background-color: #ffffff;
	width: 300px;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

#mail{font-size: 12px; }


#medio {
	
	border-left: 3px solid #EA0029;
	border-right: 3px solid #EA0029;
	
}

t{color: #929292;}

a{color: #EA0029}






.switch-idioma {
    position: absolute;
	left: 90%;
	top: 5%;
	z-index: 4;
	margin: 0;
	padding: 0;
	background-color: #000000 ;
	border-radius: 15px;
}


.boton-idioma {
    background-color: #000;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 10px;
	cursor: pointer;
}


.boton-idioma:hover {
    background-color: #9C9C9C;
}


.boton-idioma:disabled {
    background-color: #555;
    cursor: not-allowed;
}

.boton-idioma:active {background-color: white;}

#esp-btn {border-radius: 15px 0px 0px 15px}

#eng-btn {border-radius: 0px 15px 15px 0px}




@media screen and (min-width: 1024px) {
       

	.top-section{
		height: 20%;
		
		
	}
	
	.bottom-section{
		
		height: 55%;
		
		
	}
	
	
	
	
	.image-container {
	position: absolute;
	left: 35%;
	top:28%;
	}
	
	
	.image {

    max-width: 45%;
    height: auto;
	
	}
	
	.fondos {
	position: absolute;
	overflow: hidden;
    top: -38%;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    animation: fadeInOut 25s infinite;
}
	
	
	
	.info-2{height: 30%;
	
	padding: 2%;
	font-size: 25px;}
	
	
	.info {
    background-color: #ffffff;
	width: 300px;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

		.switch-idioma {
    position: absolute;
	left: 80%;
	top: 5%;
}

	
	
	
	
	
}











@media screen and (min-width: 768px) and (max-width: 1024px)  {
       
	
	body {
	position: absolute;
    font-family: Arial, sans-serif;
    height: 100vh;
		width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	overflow: hidden;
}

	.top-section{
		height: 20%;
		
		
	}
	
	.bottom-section{
		
		height: 65%;
		
		
	}
	
	
	.image-container {
	position: absolute;
	left: 33%;
	top:20%;
	}
	
	
	.image {

    max-width: 50%;
    height: auto;
	
	}
	
	.fondos {
	position: absolute;
	overflow: hidden;
    top: 0%;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    animation: fadeInOut 25s infinite;
}
	
	
	
	.info-2{height: 30%;
	padding: 0%;
	font-size: 25px;}
	
	
	.info {
    background-color: #ffffff;
	width: 300px;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

		.switch-idioma {
    position: absolute;
	left: 80%;
	top: 5%;
}

	
	
	
	
	
}


/*@media screen and (max-width: 700px) {
	
	body {
	position: absolute;
    font-family: Arial, sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	overflow: hidden;
}

	.top-section{
		height: 20%;
		
		
	}
	
	.bottom-section{
		
		height: 70%;
		
		
	}
	
	
    .image-container {
	position: absolute;
	left: 25%;
	top:28%;
	}
	
	
	.image {

    max-width: 65%;
    height: auto;
		overflow: hidden;
	
	}
	
	.imgs {
	
	height: auto;
	width: 100%;
	overflow: hidden;
		
	
}

.imgs img {
	
	height: auto;
	width: 100%;
	overflow: hidden;
	opacity: 40%;
}
	
	.fondos {
	position: absolute;
	overflow: hidden;
    top: 0;
    left: 0;
    width: 150%;
    height: auto;
    opacity: 0;
    animation: fadeInOut 25s infinite;
}

	.info-2{height: 30%;
	
	padding: 0%;
	font-size: 25px;}
	
	
	.info {
    background-color: #ffffff;
	width: 200px;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

	.switch-idioma {
    position: absolute;
	left: 70%;
	top: 5%;
}
	
}
 */




@media screen and (max-width: 768px) {
	
	
	body {
	position: absolute;
    font-family: Arial, sans-serif;
    height: 100vh;
	width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	overflow: hidden;
}

	.top-section{
		height: 15%;
		
		
	}
	
	.bottom-section{
		
		height: 65%;
		
		
	}
	
	
	
    .image-container {
	position: absolute;
	left: 25%;
	top:28%;
	}
	
	
	.image {

    max-width: 65%;
    height: auto;
		overflow: hidden;
	
	}
	
	.imgs {
	
	height: auto;
	width: 100%;
	overflow: hidden;
	
}

.imgs img {
	
	height: auto;
	width: 100%;
	overflow: hidden;
	opacity: 40%;
}
	
	.fondos {
	position: absolute;
	overflow: hidden;
    top: 0;
    left: 0;
    width: 200%;
    height: auto;
    opacity: 0;
    animation: fadeInOut 25s infinite;
}

	.info-2{height: 5%;
	
	padding: 0;
	font-size: 20px;}
	
	
	.info {
    background-color: #ffffff;
	width: 300px;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

	.switch-idioma {
    position: absolute;
	left: 70%;
	top: 5%;
}

	#medio {
	border-left: 0px solid #009845;
	border-right: 0px solid #009845;
	
}
	
}
