@charset ="utf-8";
@font-face {
    font-family: 'source_sans_proregular';
    src: url('sourcesanspro-regular-webfont.eot');
    src: url('sourcesanspro-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('sourcesanspro-regular-webfont.woff2') format('woff2'),
         url('sourcesanspro-regular-webfont.woff') format('woff'),
         url('sourcesanspro-regular-webfont.ttf') format('truetype'),
         url('sourcesanspro-regular-webfont.svg#source_sans_proregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

*{
margin: 0;
padding: 0;
}

box-size{
    border
}

/*------------- HEADER -------------*/

header{
    height: 300px;
    background-image: url("../img/header.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin: 0 auto;
    text-align: center;
    
}

header h1{
    color: azure;
    font-family: sans-serif;
    font-size: 60px;
    
}

.logo{
    padding: 70px
}
/*------------ Perfil --------------*/
.perfil{
    display: inline-flex;
    margin-top: 30px;
}

.foto{
    width: 50%;
    text-align: right;
    display: block;
}

.descripcion{
    width: 50%;
    display: block;
    background-color: white;
    padding: 20px   
}
.perfil{
    width: 100%;
}

h2{
    font-family: 'source_sans_proregular';
    font-size: 2rem;
    background-color: cornflowerblue;
    padding: 10px 10px;
    color: white;
    margin: 15px 0px;
}

h3{
    color: cornflowerblue;
    font-size: 1.3rem;
    font-family: 'source_sans_proregular';
    padding: 10px 0px;
}

p{
    color: darkgray;
    font-family: 'source_sans_proregular';
}

/*------------- PORTFOLIO -------------*/

.portfolio{
    width: 80%;
    text-align: center;
    margin: 0 auto
}

/*------------- NAV ----------------*/

nav{
    text-align: center;
    background-color: cornflowerblue;
    padding: 20px 0px;
    color: #fff;
    font-family: 'source_sans_proregular';
}

nav li{
    display: inline;
    margin: 0px 10px
}

nav a{
    color: #fff;
    text-decoration: none;
}

nav a:hover{
    color: aquamarine;
    transition: all ease-in-out 400ms;
}



/*-------------- Footer ------------*/
footer{
    text-align: center;
    padding: 20px 10px;
    background-color: #909090;
    border-top: solid 15px #666;
}
footer p{
    font-size: 12px;
    color: darkgray;
    padding: 15px;
}

.logoFadu {
    height: 70px;
}

@media (max-width: 680px) {
    .foto{
        width: 100%;
        padding: 15px;
        overflow: hidden;
    }
    .descripcion{
        width: 100%;
        padding: 15px;
        margin: 0 auto;
    }
    .perfil{
        display: flex;
        flex-direction: column;
    }
}