@import url('https://fonts.googleapis.com/css?family=asap');

body{
        font-family: 'asap,', sans-serif;
    color:darkblue;
        
}
*{
    margin:20 %;
    padding:0;
    box-sizing: border-box;
}




body {
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    background-color:white;
     padding:10px;

}

header { 
    background-color:azure;
    width:100%;
    height: 30%
    padding:15px;
    
    /*Flex*/
    display:flex;
    justify-content: space-between;
    align-items:center;
    flex-direction:row;
    flex-wrap:wrap;
    
}
header img {
    width: auto;
    height: 50;
   
}
#dgpc{height:7vw;
    width: 8vw;
    
}
    
  
  
 h1,{ font-family: 'asap,', sans-serif;
    font-size:0,20rem;
     
}
  
    
    
    header nav{
        
    width:30%;
    /*flex*/
    display:flex;
    flex-wrap: wrap;
    align-items:center;
}
        
    header nav a {
        font-family: sans-serif;
    background-color:aqua;
    
    color:blueviolet;
    text-align:center;
    text-decoration:none;
    padding:8px;
        
    /*flex*/
    flex-grow:1;
}
        
        header nav a:hover{
        
        background-color:cornflowerblue;
            
        }


.perfil {
   margin: auto;
    text-align: center;
    padding:5px; 
   max-width:  20em;
   
   
}

.perfil img {  border-radius: 50%;
    height: 40vw;
    width: 40vw;
    max-height: 15em;
    max-width: 15em;
    border-spacing: 5 em solid:grey;
   
    
}

 


.main p{
   
    font-size:0,15rem;
}

    .main a{
    text-decoration:none;
    color:white;
    background-color:blueviolet;
    padding:10px;
        
    
}
    .main a:hover{
    background-color:aqua;
}





footer {
    background-color:lightskyblue;
    width:100%;
    padding:20px;
     text-align: center;
    
    /*flex     --->Cuando trabajo con elementos padres, es decir que contienen otros elementos, poner SIEMPRE display:flex; */
    
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
   
   
    color:aliceblue;
    font-size: 10px;
}
    






    
il li{
        color:darkblue;
    font-size:12px;
    list-style: none;
    padding: 1px;
    margin: 3px;
}

   
.main a{
    
    margin:10px;
    
    display:flex;
    flex-direction:column;
    align-items:center;
    align-content:center;
}


@media (max-width: 1000px) {
    header{ flex-wrap: wrap;
        flex-direction:row;
        align-content: center;
        
    }
    
}
