@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Poppins');
@import url('https://fonts.googleapis.com/css?family=Poppins:700');

header {

}
nav {
    margin: 0;
    padding: 0;
    background-color: #1e3567;
}

nav ul { 
list-style: none;
margin: 0;
padding: 1em;
display: flex;
flex-direction: row;
align-content: space-around;
justify-content: space-around;

}

nav ul li a { 
font-family: 'Roboto', sans-serif;
font-weight: 700;
color: white;
text-decoration: none;
display: block; 
text-align: center;
}

nav ul li a:hover {
    color: #697eac;
    
}

section {
    padding-top: 1em;
}
section h2 {
    margin-top: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    bottom: 0;
    text-decoration: none;
    text-align: center;
}
p { 
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    text-align: center; 
    margin-top:0;
    margin-bottom: 0.7em;
    margin-left: auto;
    margin-right: auto;
}
img {
    max-width: 100%;
    max-height: auto;
    align-self: center;
    margin: 0.5em;
    
}
.container {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding-top 2em;
    padding-bottom: 2em;
    
	display: flex;
	flex-direction: column;
	justify-content: space-between;
    
}
footer {
    padding-top: 2em;
    background-color: #10234e;
}

footer p {
    color: white;
    font-size: 0.8em;
}

.rosa {
    background-color: #ff7779;    
}
.rosa h2 {
    color: black;
    
}
.rosa p {
    color: white;
}
#fadu {
    
    margin: 0;
    color: black    
}
.gris {
    background-color: #cecece;
}
.azul {
    background-color: #1e3567;
}
.azul h2{
    color: white;
}
.azul p {
    color: white;
}




.port {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:center;
}



.stretch {
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0
}
.contact {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    padding-bottom: 1em;
    
    
}

.contact img {
    display: flex;
	flex-direction: row;
	justify-content: center;
}


/* a partir de 320px o más */

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

    
    .skills img {
    max-width: 60%;
    max-height: auto;
        
    
    }
    .skills {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content:space-evenly;
    align-content: space-between;
    }
    
    p {
       font-size: 1em;
       text-align: center; 
       
    }
    #fadu {
    font-size: 0.6em;
    margin: 0;
    color: black    
    }
    section h2 {        
    font-size: 1.5em;    
    text-align: center;
    }
    .contact img {
        max-width: 70%;
        max-height: auto;
        align-self: center;
    } 
}

/* a partir de 480px  o más */

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

    .skills img{
    max-width: 80%;
    max-height: auto;
    align-self: center;
    
    }
    .skills {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content:space-evenly;
    align-content: center;
    }
    p { 
    font-size: 1.15em;
    }
    #fadu {
    font-size: 0.7em;
    margin: 0;
    color: black    
    }
    section h2 {        
    font-size: 2em;    
    text-align: center;
    }
    .contact img {
        max-width: 80%;
        max-height: auto;
        align-self: center;
    } 
    
     
}

/* a partir de 640px o más */

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

    .skills img {
    max-width: 80%;
    max-height: auto;
    align-self: center;
    
    }
    .skills {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:space-evenly;
    align-content: center;
    }
    p { 
    font-size: 1.3em;
    }
    #fadu {
    font-size: 0.8em;
    margin: 0;
    color: black    
    }
    section h2 {        
    font-size: 2.5em;    
    text-align: center;
    }
    .contact img {
        max-width: 100%;
        max-height: auto;
        align-self: center;
    } 
    
}

/* a partir de 800px */

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

    .skills img {
    max-width: 100%;
    max-height: auto;
    align-self: center;
    
    }
    .skills {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:space-evenly;
    align-content: center;
    }
    p { 
    font-size: 1.3em;
    }
    #fadu {
    font-size: 0.8em;
    margin: 0;
    color: black    
    }
    section h2 {        
    font-size: 3em;    
    text-align: center;
    }
    .contact img {
        max-width: 100%;
        max-height: auto;
        align-self: center;
    } 
}



