*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    
}

body{
    margin:0;
    margin-top: 120px;
}
header {
    box-sizing: border-box;
    border: solid;
    border-width: 10px;
    border-color: transparent;
    color: #000;
    /* background: linear-gradient( rgba(197,222,234,1) 0%, rgba(138,187,215,1) 31%, rgba(6,109,171,1) 100%); */
    width: 100%;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: fixed; /* Fija la cabecera */
    top: 0; /* Se coloca en la parte superior de la página */
    left: 0; /* Alineación de izquierda */
    right: 0; /* Alineación de derecha */
    z-index: 1000; /* Asegura que la cabecera esté por encima de otros elementos */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Agrega una sombra sutil */
    height: 120px;
    background-color:white;
}


.logo-nombre {
    display: flex;
    align-items: center;
}

.logo {
    width: 120px;
    height: auto;
    margin-right: 10px;
 
}

h1 {
    font-size: 30px;
    color: rgb(85, 94, 105);
    margin: 0;
}
h2{
    font-size: 30px;
    color: rgb(85, 94, 105);
    margin: 0;
    padding: 5%;
}

.menu ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu ul li {
    margin-right: 20px;
}

.menu ul li a {
    text-decoration: none;
    color: rgb(7, 33, 105);
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background 0.3s;
    font-family: "Zen Dots", serif;
}
.menu ul li a.activo {
    background: rgba(255, 255, 255, 0.3);
    color: #98a2ac;
    border-radius: 3px;
    font-weight: bold;
}

.menu ul li a:hover {
    background: rgba(6,109,171,0.8);
}

.buscador {
    display: flex;
    align-items: center;
    font-family: "Zen Dots", serif;
}

.buscador input[type="search"] {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-right: 5px;
    font-family: "Zen Dots", serif;
}

.buscador input[type="submit"] {
    padding: 5px 10px;
    border: none;
    background-color: #0056b3;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s;
    font-family: "Zen Dots", serif;
}

.buscador input[type="submit"]:hover {
    background-color: #003d80;
}

/******IMAGEN PRINCIPAL****/
.imgindex{
    width: 100%;
    height: 500px;
}
.contenedor{
    position: relative;
    display: flex;
    text-align: center;

}
.centrado{
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Zen Dots", serif;
    text-align: center;
    font-size: 55px;
    color: white;
}

/******* BOTONES MENU*******/
.boton .botonin{
	text-shadow: 2px 1px rgba(0, 0, 0, 0.3);
	text-align:center;
	text-decoration: none;
	display:inline-block;
	padding: 15px 20px ;
	white-space: nowrap;
	margin: 15px 15px 10px;
	border: 1px solid black;
	border-radius: 2px;      
}

.boton{
    background: rgb(197,222,234); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(197,222,234,1) 0%, rgba(138,187,215,1) 31%, rgba(6,109,171,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(197,222,234,1) 0%,rgba(138,187,215,1) 31%,rgba(6,109,171,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(197,222,234,1) 0%,rgba(138,187,215,1) 31%,rgba(6,109,171,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c5deea', endColorstr='#066dab',GradientType=0 ); /* IE6*/
    inline-size: 100px;
    padding: 5px;
    margin:15px;
    width: 175px;
    font-size:medium;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    
}
.botonin {
	background: rgb(197,222,234); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(197,222,234,1) 0%, rgba(138,187,215,1) 31%, rgba(6,109,171,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(197,222,234,1) 0%,rgba(138,187,215,1) 31%,rgba(6,109,171,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(197,222,234,1) 0%,rgba(138,187,215,1) 31%,rgba(6,109,171,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c5deea', endColorstr='#066dab',GradientType=0 ); /* IE6*/
    inline-size: 100px;
    padding: 5px;
    margin:15px;
    width: 175px;
    font-size: medium;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    
}
.boton:hover{
    background:rgb(72, 134, 170);
}

.botonin:hover{
	background:rgb(72, 134, 170);
	
}
.boton:focus{
    background: rgb(220, 220, 226);
}

.botonin:focus{
	background: rgb(220, 220, 226);
	
}
/********NAV**********/

nav{
    
    text-align: center;
    display: flex;
    justify-content: space-between;   
}
nav ul{
	text-shadow: 0px 1px rgba(0, 0, 0, 0.2);
	text-align:left;
	text-decoration: none;
	font-family: 'Open Sans', sans-serif;
	color:white;
    list-style: none;       
}

nav ul a{
    padding: 5px 20px; 
    line-height: 20px;  
}

form{
    padding: 30px 30px; 
    display: flex;   
}

/************MAIN************/
.section{
    padding: 50px;
}
main{
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0 auto; 
    padding: 50px;
    
    
}
.subtitulo{
    font-size: 30px;
    font-family: "Zen Dots", serif;
    
    padding: 1%;
    text-align: center;
}
/******EFECTOS DEL TITULO DE LA CAJA1*******/
.titcaja{
    font-family: "Zen Dots", serif;
    text-align: center;
    font-size: 40px;
    background-image: linear-gradient(to right,#8998af, #0d3468);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
    transform-style: preserve-3d;
    animation: watercolor 2s ease-out infinite alternate;
     
    
}
.texto{ 
    font-size: 30px;
    text-align: center;
    color: #000000;
    margin-top: 5%;
    font-family: "Zen Dots", serif;
    
}

.texto2{ 
    font-size: 30px;
    text-align: center;
    color: #000000;
    margin-top: 1%;
    font-family: "Zen Dots", serif;
    
}

@keyframes watercolor{
    0%{
        transform: translateY(0) rotateX(0) scale(1);
        opacity: 1;
    }
    100%{
        transform: translateY(10px) rotateX(20deg) scale(1.2);
        opacity: 0;
    }
}
.text::before
.text::after{
    content: attr(data-text);
    position: absolute;
    top:0;
    left: 0;
    color:white;
    z-index: -1;
}

.text::after{
    transform: rotateY(180deg);
}

/************FIN EFECTOS DEL TITULO****/

/*FORMATO TEXTOS*/
p{
    font-family:"Zen Dots", serif;
    font-size: 20px;  
}

.ulcaja1{
    list-style: circle;
}



.caja1{
    width: 80%;
    height: 1000px;
    float: left;

}

/*****CAJA 2****/
.caja2{
    width: 80%;
    height: 1000px;    
    float: left;
    

}
.primera{
    width: 100%;
    height: 500px;
    margin-left: 100px;
    
    

}
.imgcaja3{
    width: 80%;
    height: 80%;
    text-align: center;
    padding: 1%;
    margin-top: 1%;
    margin-left: 18%;
    border-radius: 30%;
}
.segunda{
    width: 100%;
    height: 500px;   
    text-align: center;
    
}
.imgcaja4{
    width: 90%;
    height: 60%;
    text-align: center;
    padding: 1%;
    margin-top: 17%;
    margin-left: 17%;
    border-radius: 30%;

}

/***********parte2********/
.parte2{
    text-align: center;
}
.img4{
    width: 40%;
    height: 30%;
    text-align: center;
    padding: 1%;
    margin-top: 1%;
    margin-left: 30%;
    border-radius: 50%;
    
}

/**********FOOTER**************/

footer{
box-sizing: border-box;
border: solid;
border-width: 10px;
border-color: transparent;
color: #000;
/* background: linear-gradient( rgba(197,222,234,1) 0%, rgba(138,187,215,1) 31%, rgba(6,109,171,1) 100%); */
width: 100%;
margin: 0 auto;
padding: 15px;
display: flex;
align-items: center;
flex-wrap: wrap;
box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Agrega una sombra sutil */
height: 120px;
background-color:white;

}

label{
    padding: 80px;
}
img{
    width: 20px;
    height:20px;
    margin: 10px;
    
    
}
.copy{
    width: 10px;
}

.direccion{
    font-family:"Zen Dots", serif;
    font-size: 10px;
    margin-left: 20px;
     
}
.legal{
    font-family:"Zen Dots", serif;
    font-size: 10px;
    margin-left: 20px;
    
}


/*Pantalla tablet*/
@media(max-width:1100px){
    header, nav, main, footer{
        width: 100%;   
    }
    header{
        align-items: center;
    }
    main section article{
        width: 45%;
    }
    
}
/*Pantalla Movil*/
@media(max-width:580px){
    nav{
        flex-direction: column;
    }
    main{
        flex-direction: column;
    }
    main section{
        width: 100%;
    }
    main aside{
        width: 100%;
    }
    main section article{
        width: 95%;
    }
    main aside .foto{
        width: 10%;
        /*Para que desaparezcan las fotos en tamaño movil*/
        display: none;
    }
    
        .buscador {
            flex-direction: column;
            width: 100%;
        }
    
        .buscador input[type="search"],
        .buscador input[type="submit"] {
            width: 90%; /* Se ajusta al ancho de la pantalla */
            margin-bottom: 5px;
        }
    }




