@import 'https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700';
*{box-sizing: border-box;}

html{
    width: 100%;
    height: 100%;
}

body{
    background: linear-gradient(90deg, #000000, #0f0f0f 20%, #0f0f0f 80%, #000000);
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    margin: 0;
}

a{
    text-decoration: none;
    color: white;
    transition: .75s color;
}

a:hover{
    color: #c45b00;
}

h1{
    color: white;
    width: 500px;
    height: 50px;
    background: #121212;
    position: absolute;
    top: 75%;
    left: 50%;
    margin-top: -35px;
    margin-left: -255px;
    border-radius: 15px 0px 15px 0px;
}

header{
    background-image: url(img/fondo.jpg);
    background-position: center center;
    background-size: cover;
    color: brown;
    text-align: center;
    margin: auto;
    width: 60%;
    position: relative;
    border-radius: 50px 50px 0px 0px;
    height: 300px;
    margin-top: 75px;
}

img{
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: #121212 solid 25px;
    position: absolute;
    top: 50%;
    margin-top: -220px;
    left: 50%;
    margin-left: -175px;
}

header nav{
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: #121212;
}

header nav ul{
    overflow: auto;
    padding: 0;
}

header nav ul li{
    width: 33.333333%;
    background: #121212;
    float: left;
    list-style: none;
    display: inline;
}

section a{
    font-size: 20px;
    font-weight: 700;
    display: block;
    background: #121212;
    margin: 0 auto;
    width: 85px;
    border-radius: 0px 0px 10px 10px
}

section{
    text-align: center;
    background: white;
    margin: 0 auto;
    padding: 0 1em 1em 1em;
    width: 60%;
    overflow: auto;
}

section article{
    height: 220px;
    width: 33.3333333%;
    float: left;
    margin: ;
}

h3{
    border-bottom: 1px solid #121212;
    width: 50%;
    margin: auto;
    color: #121212;
}

footer{
    color: white;
    text-align: center;
    font-size: 10px;
    padding: 2em;
    margin: 0 auto;
    width: 60%;
    background-color: #121212;
    border-radius: 0px 0px 50px 50px;
}

@media screen and (max-width: 900px){

    body{
        font-size: 0.9em;
    }

    img{
        top: 50%;
        margin-top: -220px;
        left: 50%;
        margin-left: -175px;
    }
    
    h1{
        width: 450px;
        top: 75%;
        left: 50%;
        margin-top: -30px;
        margin-left: -225px;
    }
    
    header{
        width: 90%;
        font-size: .95em;
        height: 300px;
    }
        
    header nav{
        overflow: auto;
    }
    
    header nav ul{
        overflow: auto;
    }
    
    section{
        width: 90%;
    }
    
    section a{
        width: 80px;
    }
    
    footer{
        width: 90%;
    }

}

@media screen and (max-width: 480px){
    
    img{
        top: 50%;
        margin-top: -270px;
        left: 50%;
        margin-left: -175px;
    }
    
    h1{
        font-size: 1.6em;
        width: 350px;
        height: 1.7em;
        top: 75%;
        left: 50%;
        margin-top: -80px;
        margin-left: -175px;
    }
    
    header{
        height: 400px;
        width: 90%;
    }
    
    header nav ul li{
        float: none;
        display: block;
        width: 100%;
        padding: .5em;
    }
    
    section{
        width: 90%;
    }
    
    section a{
        width: 75px;
    }
    
    section article{
        float: none;
        display: block;
        width: 100%;
        margin: auto;
        
    }
    
    
    
    
    
    
    
}