@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;500&display=swap');

html {
    height: 100%;
}

body {
    background: #012169;
    background: -moz-linear-gradient(45deg, #012169 0%, #00c1d5 100%);
    background: -webkit-linear-gradient(45deg, #012169 0%, #00c1d5 100%);
    background: linear-gradient(45deg, #012169 0%, #00c1d5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#012169', endColorstr='#00c1d5', GradientType=1);
    font-family: 'Roboto', sans-serif;
    color: white;
    margin-left: 20px;
    margin-right: 20px;
}

header {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 30px;
}

header h1 {
    display: inline-flex;
    color: white;
}

h1 {

    text-transform: uppercase;
    font-weight: 500;
    font-size: 20px;
    margin: 0;
}

a {
    color: #00c1d5;
    text-decoration: none;
    font-size: 14px;
}

.articulo a {
    font-size: 14px;
    margin-top: 0;
    color: white;

}

.articulo img {
    margin-right: 10px;
}

.articulo {
    border-bottom: 1px solid #ccc;
    display: inline-flex;
    padding-bottom: 10px;
    margin-bottom: 10px;
    margin-right: 28px;
}

footer {
    display: flex;
    justify-content: space-between;
}

@media (max-width: 544px)  {
    footer a {
        margin-top: 10px
    }

    header #footer {
        display: none;
    }

    .articulo img {
        width: 100px;
    }

    .articulo {
        width: 100% !important;
    }
    
}

@media (min-width: 545px)  {

    header #footer {
        display: inline-flex;
        justify-content: space-between;
        width: 67%;
    }

    #contenedor {
        display: flex;
        justify-content: space-between;
    }

    header #footer a {
        margin-left: 20px
    }

    header {
        margin-bottom: 20px
    }

    footer {
        display: none;
    }
    

    body {
        margin-left: 30px;
        margin-right: 30px
    }

    .articulo {
        width: 30%;
        flex-direction: row;
        margin-right: 30px;
        border: none;
    }

    .articulo img {
      height: 58px;
    }

    /* .articulo div {
        width: 100%;
        display: block;
    } */

}

@media (max-width: 768px) {
    
    .articulo {
        width: 50%;
    }
    
    .articulo:last-child {
        display: none;
    }
}

@media (max-width:546px) {
    
    .articulo {
        width: 50%;
    }
    
    .articulo:last-child {
        display: inline-flex;
    }
}
