@charset "utf-8";
@import 'https://fonts.googleapis.com/css?family=Cantarell:400,400i,700|Fjalla+One';
/* holii CSS ROTULO GRUPAL*/
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
html {
    font-size:10px;
    font-family:'Cantarell', sans-serif ;
    font-weight: 400;
}

a{
    text-decoration: none;
    color: #605db2;
}

body {
    background-color: #efefef;
    font-size:1.6rem;
}
#pagina {
    width:auto;
    margin:auto;
}

.contenidos{
    width: 75%;
    margin: auto;
}

header{
    padding-top: 30px;
}
h1{
    margin: auto;
    font-family: 'Fjalla One', sans-serif;
    font-size:4.3rem;
    color:#605db2;
    padding-top:1.5em;
}

h3{
    font-family: 'Cantarell', sans-serif;
    font-size:1.5rem;
    color:#605db2;
    margin-left:10px;
    font-weight: 700;
}

h4{
    font-family: 'Cantarell', sans-serif;
    font-size:1.5rem;
    color:#63636a;
    margin-left:10px;
    font-weight: 400;
}

nav {
    background-color: #605db2;
}

nav ul {
    list-style:none;
}

nav ul li {
	text-align:center;
	padding: 20px 0;
}
nav ul li a {
    color:white;
    font-size:2rem;
    font-weight: 700;
    text-decoration:none;
    text-align:center;
    margin:auto;
    height:3rem;
    line-height:3rem;
}

nav ul li a:hover{
    color: aquamarine;
}

.padre{
    display: flex;
	flex-direction: row;
	justify-content: center;
	justify-content: space-around;
	align-content: center;
}


@media handheld, only screen and (max-width: 767px) {
.padre{
	flex-direction: column;
}
nav ul li {
    width:100%;
}
}


.mcentro {
    width: 70%;
    margin: auto;
	text-align:center;
}

#nombres {
	min-height:300px;
	max-width:100%;
    background:url(../img/lospi.jpg);
	background-position:top;
	background-repeat:no-repeat;
	margin-top: 30px;
}

.escalera{
 	display: flex;
	flex-direction: row;
	justify-content: center;
	padding-top:100px;
}

.escalera a{
    display:block;
    width: 100px;
    color:#FFF;
    text-shadow: 0px 0px 8px black;
    text-decoration:none;
    font-size:1.3rem;
    line-height: 16px;
    text-align: center;
	padding: 10px;
}
.escalera a:hover{
    color: aquamarine;
	background-color: #605db2;
}


footer{
    color:slategrey;
    background-color:rgba(96, 93, 178, 0.18);  
	margin:auto;
	margin-top: 80px;
	text-align:left;
}

.pie {
	display: flex;
	flex-direction: row;
	justify-content: center;
    
}

h5{
    font-family: 'Cantarell', sans-serif;
    font-size:1rem;
    color:#605db2;
    margin-left:10px;
    padding: 1em;
}

.pie img{
    margin-left: 1em;
}

#arbol {
    font-family:'Cantarell', sans-serif ;
    font-weight:400;
    margin:30px 20%;
    background-image:url(../img/arbol.jpg);
    background-position:top left;
    background-repeat: no-repeat;
    margin:0 auto;
    width:750px;
    
}

#arbol li {
	list-style:none;
}
#arbol a {
	text-decoration:none;
}


article{
    padding-top:2em;
    margin:auto;
    
}

.contenidos {
    /* como caja contenedora flex */
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    /*  indicaremos que el eje principal
        de la caja flexible
        sea la vertical   */
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    /*  indicaremos que los elementos "hijos" 
        de "contenidos" se separen
    	para que el aside quede siempre abajo
        aun con poco contenido en la página */
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    /*  como "hijo" de "contenedor", que es una caja flexible
        le indicamos que se achique o se agrande
        si fuera necesario, para que ocupe toda la pantalla*/
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}


/* a partir de 480px */

@media screen and (min-width:30em) {


    article {
        /* como caja contenedora flex */
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        /*  en caso de ser necesario,
            los "hijos" de article pueden
            bajar a la siguiente línea de "hijos" */
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        /*  indicamos que los "hijos" de article
            se alineen en el inicio
            según el eje secundario (vertical) */
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
    }
 
}


/* a partir de 640px */

@media screen and (min-width:40em) {
    main {
        /* como caja contenedora flex */
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: baseline;
        -webkit-align-items: baseline;
        -ms-flex-align: baseline;
        align-items: baseline;
        /*  como "hijo" de caja contenedora flex,
            se estira para ocupar toda la caja "padre" */
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }
    
    article {
        width: 33%;
        display: block;
    }

}


/* a partir de 800px */

@media screen and (min-width:50em) {
    .contenidos {
        /*  indicaremos que el eje principal
            de la caja flexible cambie
            a la horizontal   */
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;

    }
  
    article {
        /*  como "hijo" de caja flex aside,
            indicamos INposibilidad de agrandarse o achicarse */
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }
}