@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,500,700,700i,900&display=swap');
</style>
*{
    box-sizing: border-box;
    

}
body{
    font-family: Raleway;
    background-color: #6e8bc3;
        
}

#imgperfil {
    width:13em;
    height:13em;
    border-radius:11em;
    box-shadow: 0 .35em .5em rgba(0, 0, 0, .35);
    margin-bottom: 1em;
}

header{
    background-color: crimson; 
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; 
    justify-content: flex-start;
    color: white;
} 

.material-icons {
    padding-right: .25em;
}

#llamamenu .material-icons {
    padding-right: 0;
}

.daniel {
    text-align: center

}


#materias {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.info {
    background-color: ghostwhite;
    border-radius: 0.5em;
    padding: 1.5em; 
    margin: 1em;
    width: 18em;
    height: auto;
    color: grey;
    box-shadow: 0 .25em .5em rgba(0, 0, 0, .35);;
}

.facultad li {
    margin: 0.3em 0em 1em 0em;
    text-align: left;
    border-bottom: solid 0.01em #191818;
    padding-bottom: 1.5em;
    width: 18em    
    
}

.facultad ul {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    margin-top: 1.5em;
    align-items: center;
    flex-direction: column;
}

.facultad ul p {
    font-size: 1em;
}

header,
footer {
    background-color: crimson;
}

header {
    padding: 0.5em;
}

header > ul {
    display: flex;
    align-content: center;
}

header > ul > li {
    display: flex;
    align-content: center;

}

header > ul > li > a {
    width: 100%;
    height: 100%;
    color: #f0f0f0;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    
    
}

header nav a,
header nav button {
    color: rgba(255,255,255,.75);
    padding: .5em 1em;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav a:hover,
header nav button:hover {
    background-color: rgba(0,0,0,0.5);
    color: white;
}

header nav button {
    background: none;
    cursor: pointer;
    padding: .5em;
}

header nav ul {
    display: none;
}

nav {
    width: 100%;
    margin-left: 16em;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: crimson;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: center; 
    width: 70%;
    
}
nav ul li {
    flex-basis: 18%
    
        
}
nav ul li a {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-weight: bold;
    text-decoration: none;
    display: block;
    text-align: center;
    padding: .125em .5em;
    border-radius: 4px;
}

nav ul li a:hover {
    background-color: white;
    color: black;
}

footer p {
    color: whitesmoke;
    font-size: 0.85em;
    padding: 3em 2em;
    text-align: center;
}

footer {
    background-color: crimson
}


@media (min-width: 35em) {
    
    header nav button {
        display: none;
    }
    
    header nav ul {
        display: flex;
        flex-wrap: wrap;
    }
    
    header nav ul {
        flex-basis: 25%;
    }
}


