
/* Cabecera + contenido */
.article{
    text-align: center;
}

/* Cabecera noticia */
#header{
    display: flex;

    flex-direction: column;
}

#header-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

/* Contenido */

.contenido{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

}

/* Parrafos */
.parrafo{
    font-size: 1em;
    text-align: justify;
    font-family: 'Roboto-light', sans-serif;
}

/* Imagenes Post */
.img-post{
    width: 90%;
    height: 300px;
    max-width: 500px;

    margin-bottom: 50px;
    object-fit: cover;
}




/* Aside */

/* Conjunto de post */
#aside{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

/* Imagen + texto */

.img-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Imagen */
.img-aside {
    width: 100%;
    height: 200px;
    width: 400px;
    object-fit: cover;
}





/* Media query para pantallas con un ancho máximo de 768 píxeles */
@media (max-width: 990px) {
    .img-post{
        width: 90%;
        height: 200px;
        max-width: 500px;
        margin-top: 50px;
        margin-bottom: 50px;
        object-fit: cover;
    }
    .parrafo{
        font-size: 0.8em;
    }
    h5{
        font-size: 1.3em;
    }
    li{
        font-size: 0.8em;
        display: flex;
        justify-content: center;
    }

    #aside{
        flex-direction: column;
    }

    .enlace{
        font-size: 1em;
    }

}



