@charset "utf-8";

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


header{
    background-color: orange;
    height: auto;
    margin-top: auto;
    margin-left: auto;
    overflow: auto;
    padding: 2em;
  
}

header nav ul li a {
    display: block;
    color: black;
    background-color: cornflowerblue;
    padding: 0 2em;
    text-decoration: none;
    line-height: 2em;
    font-family: 'Open Sans', sans-serif;
   
} 
header nav ul li a: hover {
    color: orange;
    background-color: black;
}

nav ul li{
    
    display: inline-block;
    margin-right: 1em;
    margin-top: 1em;
    border-style: solid;
    border-color: black;
}

nav{
    width: 100%;
    
}
nav ul{
    text-align: center;
}

#divlogo{
    width: 100%;
    overflow: auto;
    text-align: left;
}

main {
    background-color: cornflowerblue;
    overflow: auto;
    
}



img.pequeña{
    width: 2em; height: 2emm;
}
img.mediana{
    width: 10em;
}
img.grande{
    width: 18em; height: 18em;
    border-radius: 12em;
}



h1 {
    font-family: "Permanent Marker", cursive;
    font-size: 5em;
    margin-left: 0.4em;
    
}
h2 {
    font-family: "Permanent Marker", cursive;
    text-align: center;
}
.restantes>h2{
                padding-bottom: 1em;
            }
section {
    overflow:auto;
    padding: 2em;    
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    
    
}

article section{
   
    border-radius: 0px 109px 109px 109px;
-moz-border-radius: 0px 109px 109px 109px;
-webkit-border-radius: 0px 109px 109px 109px;
    background-color: orange;
    margin: 1em;
    padding: 2.8em;
    float:left;
    width: 25%;
    
}


article section ul {
    list-style: none;
}

footer {
        padding: 2em;
        clear: both;
        background-color: darkgray;
        color: black;
        font-family: 'Open Sans', sans-serif;
        font-size: 0.8em;
    }


.encabezado{
   
}

.article1 {
    text-align: center;
    float: left;
    margin: 2em;
    
}
.article2 {
   
    
}

 img.mediana{
               text-align: center;
           }
figure{
    text-align: center;
    margin-top: 31%;
    margin-bottom: 4em;
}
figure ul li{
    list-style: none;
    margin: 2em;
    
}
figure>ul>li>img{
    border-style: solid;
    border-color: black;
}
.propuestas{
    text-align: center;
    
    
               }

   
@media screen and (min-width: 320px) and (max-width:767px) {
               
               figure{
                   margin-top: 0%;
                
                   
               }
               
            figure>ul>li>img{
            width: 50%;
            }
               .propuestas{
                   text-align: center;
               }
    
               article section{
               border-radius: 10px 10px 10px 10px;
          -moz-border-radius: 10px 10px 10px 10px;
       -webkit-border-radius: 10px 10px 10px 10px;

               background-color: orange;
               margin: 2em;
               padding: 2.8em;
                   
               float:none;
               width: 91%;
            }

            .article1 {
                text-align: center;
                float: none;
            }
            .article2 {
                
                text-align: center;
            }
            h1 {
                text-align: center;
                width: 94%;
                line-height: 1em;
                margin:0.2em;
            }
            
            #divlogo{
                
                text-align: center;
            }
            nav ul {
                
                text-align: center;
            }
            
            nav ul li{
                display: block;
                width: 100%;
                text-align: center;
            }
            
            .restantes>h2{
                padding-bottom: 1em;
            }
    
}

 @media screen and (min-width: 768px) and (max-width:1199px) {
  
            article{
                margin: 2em;
            }
            .article1 {
                text-align: center;
                
                float: left;
                margin-top: 1em;
                padding: 2em;
                padding-bottom: 0em;
            }
            
            .article2>.biografia{
                margin-top: 2em;
                margin-left: 52%;
                
            }
            .article2>.restantes{
                
                float: left;
                margin-top: 0%;
                margin-bottom: 0em;
                margin-left: 2em;
                
            }
            .restantes>h2{
                padding-bottom: 1em;
            }
            
            header nav ul{
               text-align: center;
            }
            article section{
   
               border-radius: 10px 10px 10px 10px;
          -moz-border-radius: 10px 10px 10px 10px;
       -webkit-border-radius: 10px 10px 10px 10px;

               background-color: orange;
               margin: 1em;
               padding: 2.8em;
               margin-right: 2em;
               float:none;
               width: 46%;
                
            }
            nav ul li{
                display: inline-block;
                
            }
            h1{
                margin-left: 1em;
                margin-top: 0.3em;
                text-align: left;
            }
            img.grande{
                border-radius: 1em;
                width: 120%;
                height: 100%;
            }
            figure{
                   margin-top: 0%;
                
                   
               }
            figure>ul>li>img{
            width: 60%;
            }
}