@import url(http://fonts.googleapis.com/css?family=Oswald:400,300,700);
@import url(http://fonts.googleapis.com/css?family=Roboto:400,400italic,500,500italic);

body{
    width: 1090px;
    margin: 0 auto;
    background-color: #434343;
     margin-left: 450px;
}    

header {
    float: left;
    height: 90px;
    width: 1010px;
    background-color: #c6c6c6;
    
}

header h1 {
    color: #000;
    margin-left: 35px;
}


#contenedor {
    float: left;
    height: 100%;
    width: 1010px;
    background-color: #ddd;
    margin-top: -10px
}

h1 {
    margin-top: 40px;
    float: left;
    position: aboslute;
    margin-left: 120px;
    font-family: 'Oswald', sans-serif;
    font-size: 50px;
}

h4 {
    margin-top: 134px;
    float: left;
    position: aboslute;
    margin-left: -85px;
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    color: #000;
}


#datos {    
    margin-left: 120px;
    margin-top:150px;
    margin-bottom: 90px;
    font-family: 'Roboto', sans-serif;
}



#contenedor h3 {
    color: #fff;
    margin-left: 35px;
    
}

#materias ul li {
    color: #fff;
    margin-left: 35px;

}


#imagen img {
    margin-left: 35px;
    margin-top: -80px;
}




nav {
    width: 50%;
    margin-top: -120px; 
    margin-right: 600px;
    position:absolute;
    top: 7rem;
    right: -10rem;
    float: right;
} 

nav ul {
    list-style:none; 
    float: left;
}

nav ul li {
    background-color: rgb(255, 225, 0);
    width: 150px;
    margin-right: 0.4rem;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    padding: 1px;
    float: left;

}

nav ul li a {text-decoration: none; 
    color: rgb(11, 11, 11);
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

nav ul li a:hover{
    color:rgb(137, 49, 104); background-color: rgb(255, 236, 183);height: 20%;
}


#carta {
    margin-left: 120px;
    margin-top:-43px;
    margin-right: 128px;
    margin-bottom: 57px;
    float: left;
    font-family: 'Roboto', sans-serif;
}

footer {
    float: left;
    margin: 0 auto;
    height: 100%;
    width: 975px;
    background-color: #2e2e2e;
    padding-left: 35px;
    padding-top: 5px;
}

footer p{
    margin-right: 130px;
    margin-left: 90px; 
    margin-top: 50px;
    margin-bottom: 25px;
    font-size: 12px;    
    color: #fff;
}


footer #logo h4 {
    font-size: 16px;
    margin-left: 400px;
    margin-top: 13px;
    float: left;
    text-decoration: none;
    color: #000;
    position: absolute;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #fff;
}
