/*Portada*/

.article-container-cover{
    width: 100%;
    min-height: 500px;
    height: auto;
    position: relative;
    margin-top: 80px;
    background-image: url(../img/img13.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.article-container-cover:before{
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(25, 81, 235, 0.5);
    position: absolute;
    top: 0;
    left: 0;
}

.container-info-cover{
    max-width: 800px;
    height: 500px;  /*A 500px ara seguir el mismo tamaño del título y menu*/
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.container-info-cover h1{
    font-size: 60px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 20px; /*Espaciado entre el h1 y párrafo*/
}

.container-info-cover p{
    color: #fff;
    font-size: 20px;
    font-weight: 300;
}

/*Contenedor-contenido del artículo*/

.container-content{
    width: 1200px;
    margin: auto; /*para que se centre el texto*/
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

article{
    width: 100%;
    padding: 20px;
    padding-bottom: 40px;
    box-shadow: -10px 0 20px -30px black; /*Para una sombra al lado izquierdo del artículo*/
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    background: #fff;
}

article:before{
    content: '';
    width: 100%;
    height: 6px;
    position: absolute;
    top: 0;
    left: 0;
    background: green;
}

article h1{
    margin-top: 20px;
    font-weight: 500;
    font-size: 40px;
}
/*Este fue agregado para alinear los dl al texto*/
article dl {
    margin-left: 20px;
    text-align: justify;
}
article p{
    margin-top: 20px;
    font-size: 18px;
    text-align: justify;
}

article img{
    width: 100%;
    margin-top: 20px;
}

/*Aside de los artículos relacionados*/

.container-aside aside{
    width: 320px;
    box-shadow: 0 0 20px -20px black;
    border-radius: 6px;
    overflow: hidden;
    margin-left: 40px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    background: #fff;
}

.container-aside aside img{
    width: 100%;
}

.container-aside aside h2,
.container-aside aside p{
    margin-top: 20px;
    padding: 0px 20px;
    text-align: justify;
}

.container-aside aside button{
    margin-top: 20px;
    margin-left: 20px;
    margin-bottom: 10px;
    padding: 10px 50px;
    font-size: 16px;
    background: green;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
}

.container-aside aside button:hover{
    opacity: 0.8;
}

@media screen and (max-width: 1202px){
    .container-content{
        max-width: 1000px;
        padding: 0 20px;
    }
}

@media screen and (max-width: 1020px){
    .container-content{
        width: 100%;
        flex-direction: column;
    }

    article{
        box-shadow: 0 0 0 0;
    }

    .container-aside{
        display: flex;
        justify-content: center;
    }

    .container-aside aside{
        max-width: 300px;
        margin: 10px;
    }
}

@media screen and (max-width: 800px){
    .container-aside{
        flex-wrap: wrap;
    }

    #icon-menu{
        right: 20px;
    }

}