* 
{
    font-family: 'Open Sans', sans-serif;
    padding: 0;
    margin: auto;
    list-style: none;
    text-decoration: none; 
}

/* HEADER hasta 500px */

#Layer_1
{
    margin: 10 10 10 10;
    float: left;
}

nav 
{
    width: 100%;
    padding: 0.5em;
    background-color: #04f4bc;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0px 6px 6px -6px #000;
    text-shadow: 0.5px 0.5px 3px #919090;
    
}

nav ul 
{
    list-style: none;
}

nav ul li 
{
    margin: 3;
}

nav ul li a 
{
    text-decoration: none;
    color: aliceblue;
}

body{
    background-color: aliceblue;
    width: 100%;

}

/* MAIN hasta 500px */

h1{
  text-align: center;
    font-weight: 800;
    color: #333;
    margin-top: 1em;
    font-size: 2.8em;
}

h2{text-align: center;
    font-weight:400;
    font-style: italic;
    font-size:1.2rem;
    color: #666;
}


.contenedor{
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    padding: 2em;
    width: 80%;
    background-color:white;
    color:#333;
    margin-bottom: 2em;
    margin-top: 2em;
    box-shadow: 6px 6px 6px -6px #000;
    
}

.hijo{
    padding:1em;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
 }

img{
    width:8em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    
}

h3{
    margin-top:0.5em;
    font-weight:600;
}


main p{
    font-size: 0.8rem;
    color:#888;
    
}



/* FOOTER universal */

footer 
{
    text-align: center;
    font-weight: 300;
    font-size: 0.8rem;
    position: absolute;
    width: 100%;
    height: auto;
    background-color: #04f4bc;
    text-shadow: 0.5px 0.5px 1px #919090;
    padding: 4;
    color: aliceblue; 
}
        
/* HEADER desde 500px */

@media only screen and (min-width: 500px) 
{
   nav ul 
    {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        font-weight: 700;
        font-size: 1rem;
    }
    
    nav ul li 
    {
        -webkit-box-flex: 0.6;
            -ms-flex-positive: 0.6;
                flex-grow: 0.6;
    }
} 