*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
:root{
    --color1:#334960;
    --color2:#f2f2f2;
    --color3:#44A1f2;
    --color4:#99A4B0;
}
#contenerdor{
    width: 100%;
    height: 100vh;
}
header{
    background-color: var(--color1);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
    /* posicionamiento fijo de la cabecera*/
    position: fixed;
    top: 0;
    left: 0;
    width: 1000%;
    z-index: 100;
}
header img{
    height: 70px;
}
nav{
    padding-right: 40px;
    font-size: 0.8em;
}
#menu, #redes{
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
#menu li a, #redes li a{
    text-decoration: none;
    padding: 10px;
    color:var(--color4)
}
#menu li a:hover,#redes li a:hover{
    color:var(--color2);
}
h5{
    color:var(--color1);
    margin-top: 110px;
    margin-left: 15px;
}
main{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    border: 1px solid grey;
    margin-bottom: 10px;
}
section{
    width: 65%;
    text-align: center;
}
article{
    width: 90%;
    margin: 5px auto;
}
article img{
    max-width: 90%;
}
article p{
    max-width: 90%;
    margin: auto;
    padding: 5px;
    font-size: 0.8em;
    font-family: italic;
}
article h2{
    font-size: 20px;
    background-color: var(--color2);
    padding: 1px 5px;
    /* Posicionamiento adhesivo */
    position: sticky;
    top: 110px;

}
aside{
    width: 30%;
    text-align: center;
}
aside img{
    max-width: 70%;
    margin-bottom: 5px;
}
footer{
    background-color: var(--color1);
    color:var(--color2);
    font-size: 0.8em;
}
footer h4{
    padding: 10px 5px;
    text-align: center;
}
footer div{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 5px;
}
address ul{
    padding: 2px 15px;
}
nav p{
    text-align: center;
}
