@charset "UTF-8";

/*
* Theme Name: Charlotte - Ordre de PIOCHE
* Author: Charlotte Dujardin
* Description: Thème d'ordre dde PIOCHE 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.content-area.pioche-order {
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    padding-top: var(--hauteur-header-lg);
}

section.content-area.pioche-order p,
section.content-area.pioche-order span {
    color: var(--blanc);
    text-align: justify;
}

section.pioche-order h2 {
    position: relative;
    text-align: center;
    color: var(--blanc);
    font-size: var(--police-taille-xxl);
    padding: 1rem 0;
}

section.pioche-order h2::after {
    content: "";
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 0;
    background: var(--blanc);
    height: 2px;
}

section.pioche-order>section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    margin-top: 2rem;
}

section.pioche-order section.motto {
    position: relative;
    overflow: hidden;
}

section.pioche-order section.motto img {
    max-width: none;
    max-height: 50vh;
    -o-object-fit: cover;
    object-fit: cover;
}

section.pioche-order section.motto div {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 1;
    background-color: rgba(var(--code--gris), 0.5);
}

section.pioche-order section.motto blockquote {
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    text-align: center;
    width: 100%;
    padding: 0 1.5rem;
    font-family: var(--police-decorative);
    font-size: var(--police-taille-xxl);
}

section.pioche-order section.motto blockquote::before {
    content: "\201C";
    position: relative;
    margin-right: 0.5rem;
}

section.pioche-order section.motto blockquote::after {
    content: "\201D";
    position: relative;
    margin-left: 0.5rem;
}

section.pioche-order section.description section.summary {
    margin: 3rem 0;
}

section.pioche-order section.description section.jobs {
    margin-top: 1rem;
}

section.pioche-order section.description section.zone {
    margin-top: 1rem;
    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-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 3rem;
}

section.pioche-order section.description section.zone p {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 50%;
    flex: 1 1 50%;
}

section.pioche-order section.description section.zone p span:first-child,
section.pioche-order section.description section.jobs p:first-child {
    font-family: var(--police-decorative);
    font-size: var(--police-taille-lg);
    padding-right: 0.2rem;
}


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

@media only screen and (min-width: 992px) {
    section.content-area.pioche-order {
        margin: 0 12.5vw;
    }
    section.pioche-order>section {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    section.pioche-order section.motto {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 50%;
        flex: 1 1 50%;
        position: relative;
        overflow: hidden;
    }
    section.pioche-order section.motto div {
        opacity: 0;
        -webkit-transition-duration: 0.3s;
        -o-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -webkit-transition-property: opacity;
        -o-transition-property: opacity;
        transition-property: opacity;
        -webkit-transition-timing-function: ease-out;
        -o-transition-timing-function: ease-out;
        transition-timing-function: ease-out;
    }
    section.pioche-order section.motto:hover div {
        opacity: 1;
    }
    section.pioche-order section.motto img {
        max-height: 75vh;
    }
    section.pioche-order section.description {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 50%;
        flex: 1 1 50%;
        margin-left: 2rem;
    }
    section.pioche-order section.description section.summary {
        margin-top: 0;
        margin-bottom: 5rem;
    }
    section.pioche-order section.description section.zone {
        margin-bottom: 0;
    }
}