* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    background-color: #DBDEE9;
    font-family: 'Roboto', sans-serif;
}

header {
    background-color: #CEA7C6;
}

.contenedor{
    display: flex;
    justify-content: space-around;
    padding-top: .8em;
}

.menu ul{
    padding: .5em;
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.menu ul li{
    flex-basis: 24.5%;
}

.menu ul li a{
    background-color: #823B5D;
    border-radius: 1em;
    padding: .7em;
    margin: .2em;
    font-weight: 700;
    font-size: .8em;
    color: #CEA7C6;
    display: block;
    text-align: center;
}

.menu ul li a:hover {
    background-color: #43383B;
    color: #DBDEE9;
}

.materias {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    align-self: center;
}

.materias article{
    background-color: #CEA7C6;
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.125);
    margin: 1em 1.5em 1em 1.5em;
    padding: .5em 1em 1.2em 1em;
    width: 18em;
    border-radius: 1em;
}

.materias article ul{
    list-style: none;
    color: #43383B;
}

.perfil{
    text-align: center;
}

article h2{
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    line-height: 1.1em;
    text-align: center;
    color: #823B5D;
    padding: .6em 0em .5em;
}

.perfil img{
    height:15em;
    border-radius:13em;
    box-shadow: 0 .35em .5em rgba(0, 0, 0, .35);
    margin: .5em 0em 1em;
}

.perfil h1{
    font-family: 'Oswald', sans-serif;
    color: #823B5D;
    font-size: 2em;
    text-transform: uppercase;
    margin-top: 1.5em;
}

.perfil h3{
    color: #43383B;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 1em;
}

#equipo h2{
    font-family: 'Oswald', sans-serif;
    color: #823B5D;
    margin: .5em .5em 0em .5em;
    padding: .5em;
    text-transform: uppercase;
    text-align: center;
}

#equipo nav{
    margin: 0em .5em 3em .5em;
}

#equipo nav ul{
    display: flex;
    justify-content: space-around;
}

#equipo nav ul :hover{
    background-color: #CEA7C6;
}

#equipo nav ul li {
    list-style: none;
    border: solid #CEA7C6;
    border-radius: 1em;
    text-align: center;
    margin: .2em;
    padding:.5em;
}

#equipo nav ul li a{
    font-weight: bold;
    color: #43383B;
}

footer {
    background-color: #CEA7C6;
}

footer p {
    text-align: center;
    padding: 1.5em;
    color: #43383B;
    font-size: .75em;
}
