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

body{
	font-family: "trebuchet MS", arial, helvetica, sans-serif;    color: gray;
    margin: 0;
    padding: 0;
}

#contenedor {
    background-color: white;
    margin: auto;
    max-width: 90em;
    min-height: 100vh;
    width: 90vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header,
footer {
    background-color: #ffffff;
    padding: 1em;
    text-align: center;
    flex: 0 1 auto;
    padding-: 2em;
}

main{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    align-items: center;
    padding: 2em;
}

nav ul li{
    background-color: #9bffcd;
    margin:0.1em;
    padding: 0.2em;
    text-decoration: none;
    list-style-type: none;
    text-align: center;

}

nav ul li a:hover {
    color: #000000;
}

a {
    text-decoration: none;
    color: gray;
}

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

article{
    display: flex;
    flex-direction: column;
    text-align: center;
    

}

article figure {
    border-radius: 50%;
    overflow: hidden;
    max-width: 50vw;
    margin: 1em auto;
    box-shadow: 0 0.35em 0.5em 0 rgba(0, 0, 0, 0.2);
    
    
}

figure>img,
#logo>img {
    display: block;   
}

main,
aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: auto;
    margin: 1em;    
}

aside section .info {
    display: flex;
    flex-direction: column;
    padding: 3em;   
}

h1 {
    text-decoration:none;
    color: aqua;
    padding: 0.4em;
}

.destacado { 
    
    color:aqua; 
}

#logo{
    display: inline-block;
    
    
}
footer{
    display: flex;
    flex-direction: column;
    padding: 1em;
    text-align: center;

}
footer p {
    
    padding: 1em;
    font-size: 0.7em;
}



@media screen and (min-width:30em) {
  
nav ul{
    display: flex;
    flex: 1;
    justify-content: space-between;
    padding: 0.5em;
    
    
}

nav ul li{
    width: 25%;
}

main{
    display: flex;
    flex-direction: row;
    flex: 1;
    justify-content:space-between;
}
    
main article{
    width: 50%;
    
}
    
article  {
    align-items: stretch;
    padding: 1em;
    
    
    
}
aside {
    display: flex;
    flex: 1;
    justify-content: space-between;
}

p{
    max-width: 35em;
}

footer {
    align-items: center;
    
}

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

.contenedor{
    flex-direction: row;
}    
    
main {
        
    display: flex;
    flex: 1;
    width: 50%;
    align-items: center;
    min-width: 50%;
}
   
main article  {
    display: flex;
    flex-direction: column;
    min-width: 50%;
}

article>*:not(h2) {
    text-align: center
}
article>figure {
    max-width: 50%;
    margin: 1em auto;
}

article>p {
    max-width: 90%;
    margin: auto;
}
   
aside {
    flex-direction: column;
}

section {
    flex: 1 1 50%;
}
}


@media screen and (min-width:80em) {
    
#vm14{
    display: flex;
    flex-direction: row;
}
    
main{
    flex-direction: row;
    flex: 0 0 30%;
    flex-wrap: wrap;     
}
 
section {
    flex-direction: row;  
}

footer p {
    max-width: 90em;
}
 
}