@charset "utf-8";

@import url(https://fonts.googleapis.com/css?family=Montserrat|Lato;);

/* Reglas generales */

*{
    list-style: none;
    margin: 0;
    padding: 0;
}

html{
    height: -webkit-fill-available;
}

body{
    background-color: whitesmoke; 
    font-family: 'Lato', sans-serif;
    display:flex;
    flex-direction: column; 
    justify-content: space-between;
    min-height: 100vh;
}



a{
    text-decoration: none;
   }

img{
    width: 100%;
    }

figure{
    margin: 0;
    padding: 0;
    max-width: 30em;
 }




/*----- primera parte de css para celulares, mobile first - contiene tamaños y posiciones -----*/


header ul{
    display:flex;
    max-width: 40em;    
    padding: 1em 0em 1em 0em
}

header ul li{
    width: 4.5em;
    height: 1.5em;
    margin-left: 0.25em;
}

header ul li a{
    width: 100%;
    height: 100%;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

#banner{
    height: auto; 
}
#banner img{
    margin: auto;
    max-width: 100%;
}

.contenedora{
    max-width: 70em;
    margin: 0 auto 1rem auto;
    align-items: center;
}

header nav{
    background-color:#6dc0aa;
    display: flex;
    justify-content: space-between;
    align-items: center;  
    padding: 0 1em;   
}

header p{
    margin: auto;
    padding: 1em 0em 0em 0em;  
}

main{
    flex-grow: 1;
}

h3{
    margin: 1rem auto;
}

ol{
    margin: auto;
    max-width: 100%;
    display: flex;
    justify-content:space-around;
    flex-wrap:wrap;
}

#equipo, #academicos{
    align-items: center;
    max-width: 80rem;
}

#academicos div p{
    padding-top: 1rem;
}

#equipo ol li{
    max-width: 10rem;
    margin: auto;
}

#equipo li img, #academicos li img{
    padding: 1em 0em 0.5em 0em;
    margin: 0;
    max-width: 25rem;
    justify-content: center;
}



#academicos ol li{
    margin: 0;
    justify-content:center;
    flex-wrap: wrap;
    max-width: 20rem;
}


footer{
    padding: 1em;
    margin: auto;
}

.boceto{
    max-width:395px;
}



/*----- colores y estilos -----*/

header a, header a:visited{
    color:whitesmoke;
    font-family: 'Lato', sans-serif;
    font-variant-caps:all-petite-caps;
}

a{
    color:#6dc0aa;
}

.boton{
    margin:auto;
    padding: 1.5rem;
    margin: 1rem;
    max-width: 15rem;
    background-color: #6dc0aa;
}

.boton a{    color:whitesmoke;}

/*--quité header a:active{
color: darkslateblue; } --*/

/*Comienza botón seleccionado*/
.index header div nav ul li:first-child a,
.plan header div nav ul li:nth-child(2) a,
.mapa header div nav ul li:nth-child(3) a {
    background-color: whitesmoke;
    color: #5CA18F;
}
/*termina botón seleccionado*/


body {
    color: black;
}

/* Agregar la font-family de #intro h1, que sea distinta a las de h1 y h2 generales*/

h1, h2 {
    color: #534a99;
    margin: 1em 0.2em 0.5em 0.2em;
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-align: center;
    text-decoration: underline;
    
}

footer{
    color: darkslategray;
    background-color: #6dc0aa; 
}
