@import url(https://fonts.googleapis.com/css?family=Cuprum);
@import 'https://fonts.googleapis.com/css?family=Roboto';
 
    
* {  padding: 0;
    margin: 0;
    text-align: center;
}


.flex {   
    width: 100%;
}


header {
    background-color: #E94854;
    padding: 0.5rem;
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
}


header .contenedor {
    width: 95%;
}

nav {
overflow: auto;

}


nav ul li a {
        color: #221f22;
        width: 5rem; 
        height: 1.4rem;
        font-family:'Cuprum', sans-serif;
        font-size: 11pt; 
        text-align: center;
    text-decoration: none;
}


nav ul li {
    background-color: #cfe5dd;
    border-radius: 7px;
    margin-top:2px;
    font-size: 11pt;
    cursor:pointer;
    line-height: 1.5rem
}


nav ul li:hover {
    background-color: #E94854;
}


nav ul li:hover a {
    color: #fff;
}

main a {

    font-family: 'Roboto', sans-serif;
    font-style: oblique;
    font-size: 11pt;
    color: #E94854; 
    text-decoration: none;
    line-height: 1.5rem
}

body {
    margin-top: 250px;
    flex-direction: column;
    background-size:100rem;
    background-repeat: no-repeat;
    background-position: center;
    background-origin: content-box;
}


img {
    width:25%;
    border-radius: 0.5rem;
}


h4 {
    margin-top: 0.5rem;
    font-family:'Cuprum', sans-serif;
}


h5 {
    margin-top: 0.3rem;
    font-family:'Cuprum', sans-serif;
}

#academica {
    line-height: 1.5rem;
    text-align: justify;
}

p{
    font-family: 'Roboto', sans-serif;
    margin: 0.7rem 0.7rem 1rem 0.7rem;
    font-size: 0.8rem;
    
}

main a {

    font-family: 'Roboto', sans-serif;
    font-style: oblique;
    font-size: 11pt;
    color: #E94854; 
    text-decoration: none;
    line-height: 1.5rem
}

h1{
    margin: 2rem 0.7rem 0.3rem 0.7rem;
    font-family:'Cuprum', sans-serif;
    color: black;
    font-size: 25pt;
}


h2{
    margin: 2rem 0.7rem 0.3rem 0.7rem;
    font-family:'Cuprum', sans-serif;
    color: black;
    font-size: 15pt;
}


footer{
    background-color: #cfe5dd;
    padding: 0.1rem;
}


footer p {
    font-size: 7pt;
}


@media(min-width: 600px){
 body{
    height: auto;
    margin-top: 60px;
}

    
header{
    height: 30px;
}

nav ul li{
    display:inline-block;
    padding: 0 10px 0 10px;
}
}