@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;
}


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


h1{
    font-family:'Cuprum', sans-serif;
    color: black;
    font-size: 25pt;
}

img {
    width:95%;
}


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


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



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

img 
    {
    width:70%;
}

    
header{
    height: 30px;
}

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