@charset "utf-8";

/* mobile first */ 

/* generales */

body{
    background-color: #fff;
    font-family: "Barlow", sans-serif;
    text-align: center;
    color: #2e065d;
}

*{
    box-sizing: border-box;
}

h1{
    font-family: "Barlow", sans-serif;
}

h2, h3{
    color: #fff;
    text-align: center;
    font-size: 1.3em;
    font-family: "Barlow", sans-serif;
    background-color: #2e065d;
    padding: .5em;
    border-radius: .25em;
}

p{
    font-size: .9em;
}

/* header */

header .contenedor{
    max-width: 50rem;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header{
    background-color: #e6e6e6;
    padding: 1rem;
}

#logo{
    background-color: white;
    border-radius: .35em;
    padding: .35em;
    width: 6em;
}

header nav ul{
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    list-style: none;
}

header nav ul li{
    min-width: 4em;
    margin: .25em 0 .25em .25em;
}

header nav ul li a{
    color: #fff;
    background-color: #2e065d;
    font-family: "Barlow", sans-serif;
    display: block;
    text-align: center;
    text-decoration: none;
    padding: .5em;
    border-radius: .25em;  
}

header ul li a:hover{
    background-color: #e60058;
    color: #fff;
}


/*presentacion*/

img{
    width: 100%;
}

.efecto1 img{
    width: 25%;
}

/*materias*/

.materias ol{
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.materias ol li{
    padding: 1em;
}

/*datos academicos*/

.academicos p{
    font-size: .8em;
}

h4{
    font-weight: 700;
}

/*footer*/

footer p{
    background-color: #2e065d;
    font-size: .7em;
    color: #fff;
    padding: 2em;
    border-radius: 10px;
}