*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Open Sans', sans-serif;
    background: #000 url(/imagenes/Fondo.jpg);
    background-size: cover;
    background-attachment: fixed;
    
}

.contenedor{
    margin: 0 auto;   
    width: 90%;
    max-width: 1000px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
header{
    width: 100%;
    padding: 50px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center

}

header .menu a {
    color:#fff;
    text-decoration: none;
    margin-right: 40px;
    font-size: 18px;
}

header .menu a :hover{
    text-decoration: underline;
}

.main{
    background: #fff;
    padding: 20px;

    width: 70%;
}

.main article .thumb{
    margin-bottom: 20px;
    
}
.main article .thumb img{
    width: 100%;
    vertical-align: top;
}
.main article h2{
    margin-bottom: 20px;
    font-weight: normal;
    font-size: 32px;
}

.main article p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 27px;
}

aside{
    width: 30%;
    background: rgba(206, 206, 206, 0.507);
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
}

aside .ad{
    font-size: 30px;
    text-align: center;
    padding: 50px 0;
    background: rgba(236, 236, 236, 0.938);
    margin: 20px 0;
}
footer{
    border-radius: 10px;
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, .2) ;
    width: 100%;
    color: #fff;
    display:flex;
    flex-direction: row;
    flex-wrap: no-wrap;
    justify-content: space-between;
}
footer .redes-sociales a{
    color:#fff;
    text-decoration: underline;
    margin-left: 20px;

}
footer .redes-sociales a:hover{
    text-decoration: none;
}
@media screen and (max-width: 600px){
    .main{
        width:100%;
    }
    aside{
        width: 100%;
        flex-direction: row;
    }
    aside .ad{
        width: 40%;

    }
}

@media screen and (max-width: 600px){
    p{
        text-align: justify;
    }
    header{
        flex-direction: column;
        padding-bottom: 20px;
    }
    
    header .menu{
        width: 100%;
        background: rgba(255, 255, 255, .2);
        text-align: center;
        padding: 20px;
        border-radius: 10px;
    }
    header .menu a{
        margin: 0 20px;
    }
    header .logo{
        margin-bottom: 20px;
    }
    footer{
        flex-direction: column;
        text-align: center;

    }
    footer .autor{
        order: 2;
    }
    footer .redes-sociales{
        order: 1;
        margin-bottom: 20px;
    }
    .main{
        border-top-left-radius: 10px;
        border-top-right-radius: 10px
        
    }
    aside{
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }
}



@media screen and (min-width: 601px){
    aside{
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }
    .main{
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }
}
@media screen and (max-width: 400px){
    aside{
        display: none;
    }
    .main{
        border-radius: 10px;
    }
}
h3{
    margin-bottom: 10px;
}
h4{
    margin-bottom: 5px;
}