@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body {
     background-color: #E15254;
    width:90%;
	max-width:1000px;
	margin:auto;
    font-family: "trebuchet ms", arial, helvetica, sans-serif;
    min-height: 100vh;

    /* caja flexible*/
    display:flex;

    /* dirección de sus elementos */
   flex-flow: column wrap;
    
    /* organización de los elementos según ele eje principal
        (vertical por la propiedad anterior) */
    justify-content: center;
    align-items: center;
}
.contenedor {
 width:90%;
	max-width:1000px;
    margin:auto;
display:flex;
	 flex-flow: column wrap;
}
img {
    /* para que nunca sea mayor que la caja que las contiene */
    width: 100%;
    height: auto;
}

header,
footer {
    background-color: #363636;
    padding: 1em;
    font-size: 70%;
    color: darkgray;
}

header {
	
        /* caja flexible */
	
    display: flex;
    flex-direction: column;
	padding: 50;
    
    /* elementos colocados en los extremos del eje principal */
    justify-content: space-between;
    
    /* elementos centrados en el eje secundario */
    align-items: center;
	
	}

#logo {
    display: block;
    width: 9em;
    margin-bottom: 1em;
}

header nav ul{
    list-style: none;
    display: flex;
    flex-direction: column;
}

header ul li {
    height: 2em;
    border-top: .2em solid black;
}

header ul li a {
    height: 100%;
    background-color: #E15254;
    color: white;
    text-decoration: none;
    font-weight: bold;

    /* caja flexible */
    display: flex;
    
    /* centrado en la horizontal */
    justify-content: center;

    /* centrado en la vertical */
    align-items: center;
    
}

.flex-container{
    padding: 1.5em;
	
font-size: .9em;

}

h1{
    font-size: 1.1em;
    margin: 0 0 1em 0;
    text-align: center
}


main{
	
    background-color: #E15254;
    /* crece para "llenar" la caja contenedora */
    flex-grow: 1;
    /* es caja flexible contenedora */
    display: flex;
    justify-content: center; 
    flex-direction: row-reverse;
  	font-size: .9em;
   	
}



h4{
     margin-bottom: 1em;
    text-align: center
}

p{
     margin-bottom: 1em;
    text-align: justify
	
}



main p{
	
    margin-bottom: 1em;
    text-align: justify;
	font-size: .9em;
	padding: .9em;
	
}

#usuarios {
    display: flex;
    flex-direction: column;
	width: 100%; float: left;
    
	}


.usuario img {
	
      /* es caja flexible contenedora */
    display: flex;
	flex-direction: row;

    border-radius: 50%;
    width: 50vw;
    height: 50vw;
    max-width: 15em;
    max-height: 15em;
    border: .25em solid #363636;
    margin-bottom: 1.5em;
    
}
#gif {
    display: flex;
    	}


#redes{
	padding:0;
	margin: 0;
	min-height: 5vh;
    padding: 0px;
	text-align: center;
	
}
#redes2{
	display: flex;
    flex-direction: row;
	
}

footer,
footer p{
	
    text-align: justify;
	font-size: .7em;
	padding: 1em;

	
}



@media screen and (min-width:32em){
    #usuarios {
    display: flex;
    flex-direction: row;
  	align-items: auto;
        text-align: center;

}
  	
	
    .usuario{
        margin-left: 1em;
		
    }
}
