

/*SECCIÓN B 1 columna*/

.articulo {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    margin: 0px;
}

.foto-contenedor {
    width: 100%;
    object-fit: cover;
    float: center;
}

.foto-principal {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.articulo-columna {
    background: #fff;
    width: 100%;
    height: 100%;
    float: center;
    font-size: 1em;
}

.articulo-texto {
    padding: 10px;
    font-size: 1em;
    text-align: justify;
    text-justify: auto;
}

.articulo h2 {
    padding-top: 0px;
    font-size: 1.2em;
    color: #fff;
    background: #b10ab1;
    padding: 5px; 
}

.articulo a {
    text-decoration: none;
    display: inline-block;
    color: #00f;
    font-size: 1em;
}

.articulo a:hover {
    color: #b10ab1;
}

.language-markup {
    white-space: pre-line !important;
    word-break: break-word !important;
}

.language-python {
    /*white-space: normal !important;*/
    white-space: pre-line !important;
    word-break: break-word !important;
}

.language-rust {
    white-space: pre-line !important;
    word-break: break-word !important;
}

.language-javascript {
    white-space: pre-line !important;
    word-break: break-word !important;
}

.language-arduino {
    white-space: pre-line !important;
    word-break: break-word !important;
}

/*.imagen {
    width: 100%;
    height: 300px;
    float: center;
    margin-right: 5px;
    margin-bottom: 5px;
    object-fit: cover;
}*/

@media screen and (min-width: 768px) {
    .articulo-columna {
        width: 95%;   
    }

    .articulo-texto {
        font-size: 1.1em;
    }

    .articulo a {
        font-size: 1.1em;
    }

    .foto-principal {
        position: relative;
        width: 300px;
        height: 300px;
        object-fit: cover;
        display:block;
        margin:auto;
    }
}

@media screen and (min-width: 1200px) {
    .articulo-columna {
        width: 90%;   
    }
}