@charset "UTF-8";

/*
* Theme Name: Charlotte - Article
* Author: Charlotte Dujardin
* Description: Thème des articles de Charlotte
* Version: 1.0
* License: GNU General Public License v3 or later
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

section.article article {
    background-color: rgba(var(--code--blanc), 0.7);
}

section.article article div.title {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

section.article article div.title h2 {
    text-align: center;
    color: var(--blanc);
    font-size: var(--police-taille-xxl);
}

section.article article div.content {
    padding: 1rem;
}

section.article article div.content p {
    font-size: var(--police-taille-sm);
}


/* Écrans larges (ordinateurs portables et fixes, 992px et plus) */

@media only screen and (min-width: 992px) {
    section.article article div.title {
        padding: 3rem 6rem;
    }
    section.article article div.title h2 {
        font-size: var(--police-taille-xxxl);
    }
    section.article article div.content {
        padding: 3rem;
    }
    section.article article div.content p {
        font-size: var(--police-taille-md);
    }
}