/*// General //*/

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

body {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    min-height: 100vh;
    font-family: sans-serif;
    font-weight: 300;
}

h1 { font-size: 2em; }

h2 { font-size: 1em; }

img {
    max-width: 100%;
    height: auto;
}






/*// Header //*/

header {
    width: 100%;
    background-color: #fff;
    padding: .75em 1em;
}

nav img {
    width: auto;
    height: 20px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: wrap;
}   

nav ul {
    display: flex;
}

nav ul li {
    display: inline-block;
    padding-left: 2em;
    font-weight: bold;
}

nav ul li a {
    color:palevioletred;
    font-family: sans-serif;
    font-size: 1em;
    transition: all .25s ease;
}

nav ul li a:hover {
    color:purple;
}






/*// Contenido //*/

main {
    display: flex;
    flex-flow:row wrap;
    align-items: center;
    flex: 1;
    flex-grow: 1;
    background-color: #F194BE;
    padding: .5em;
}


.contenedor {
    display: flex;
    flex-direction: row wrap;
    flex-wrap: wrap;
    flex-grow: 1;
    justify-content: center;
}





/*// Noticias //*/

.noticias {
    display: flex;
    width: 100%;
    justify-content: center;
    background-color: #D81178;
    padding: .5em;
    margin: .5em;
}

.noticias h1 {
    color: #fff;
}

.titular {
    display: flex;
    flex-direction: column;
    padding: 1em;  
    margin: .5em;
    flex-basis: 45%;
    background-color: #D81178;
    height: 10em;
    overflow: hidden;
    border-radius: 1em;
}

.titular h2 {
    font-size: 1.3em;
    color: #fff;
}

.titular p {
    padding-top: .5em;
    color: #fff;
    font-family: serif;
    max-height: 5em;
    line-height: 20px;
}

.itemdoble {
    display: flex;
    flex-direction: row;
    flex-basis: 100%;
    justify-content: space-between;
    padding: 0;
}

.doble h2 {
    margin-left: .7em;
    margin-right: .7em;
    margin-top: .7em;
}

.doble p {
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 0em;
}






/*// Menú //*/

#menu-toggle {display: none;}

.hamburger-toggle {display: none;}

@media screen and (max-width: 860px) {
    
    #nombre {
    font-size: 1.5em;
}
    
    nav ul {
        display: block;
        max-height: 0;
        width: 100vw;
        overflow: hidden;
        text-align: center;
        transition: max-height .25s ease-in, padding-top .5s ease;
    }
    
    nav ul li {
        display: block;
        padding: 1em 0;
    }
    
    nav ul span {
        display: none;
    }
    
    #menu-toggle:checked ~ ul {
        max-height: 720px;
        padding-top: .75em;
    }
    
    .hamburger-toggle {
      background: linear-gradient(to bottom, palevioletred 0%, palevioletred 12%, transparent 12%, transparent 44%, palevioletred 44%, palevioletred 56%, transparent 56%, transparent 88%, palevioletred 88%, palevioletred 100%); /*Lineas botón*/
      cursor: pointer;
      display: block;
      float: right;
      height: 1.25em;
      width: 1.25em;
    }
    
    header {
        display: block;
    }
}






/*// footer //*/

footer {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 70px;
    background-color: #D81178   ;
    padding: 1em;
}

footer p,
footer div {
    padding: .75em 0;
}

footer div img {
    min-width: 88px;
    height: 50px;
    margin-left: 1em;
}

footer p { 
    font-size: .8em; 
    color: #fff;
}





