


/* LES PAGES DE CONTENUS */

h1{
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

div.content{
    margin: 0 3rem;
}

.content__section{
    margin: 6rem 8rem;
}



.content__section p{
    width: 45rem;
}

.content__actu p {
    width: 25rem;
}


.content__section img, .content__actu img{
    width: 400px;
    height: 280px;
}
.content__section .entry-content{
    display: grid;
}
.content__section .entry-content .text__content{
    grid-column: 1;
}
.content__section .entry-content img{
    grid-column: 2;
    justify-self: center;
}



/* Single actu */

.single__actu p{
    width: 45rem;
}




/* FORMULAIRE */

.wpcf7-form textarea, .wpcf7-form input{
    border: 2px black solid;
    border-radius: 10px;
    padding: 2px;
    width: 40em;
}

.wpcf7-form .wpcf7-submit{
    color: white;
    background-color: #8FA913;
    border-radius: 90px;
    padding: 0.5rem 1rem;
    border: 0px black solid;
    width: 7em;
}


/* GRILLE CONTACT */

.content__grid{
    display: grid;
}
.grid__left{
    grid-column: 1;
    margin-bottom: 5rem;
}
.grid__right{
    grid-column: 2;
    justify-self: center;
}
.grid__section{
    margin-bottom: 3rem;
    text-align: center;
    border: 1px solid black;
    padding: 1rem;
}




/* Media queries */

@media screen and (max-width: 500px){
    .content__section{
        margin: 2rem 0rem !important;
    }
    .content__actu p{
        width: 20rem !important;
    }
    .actu__card{
        padding-right: 0 !important;
    }
    
}
@media screen and (max-width: 811px){
    .content__section p, .single__actu p{
        width: 35rem;
    }
    
}

@media screen and (max-width: 650px){
    .content__section p, .single__actu p{
        width: 23rem;
    }
    .content__section img {
        width: 350px;
        height: 250px;
    }
    .content{
        margin: 0 1rem !important;
    }
    .wpcf7-form textarea, .wpcf7-form input{
        width: 30em;
    }
    
}

@media screen and (max-width: 1070px){
    .grid__right{
        grid-column: 1;
        grid-row: 2;
        justify-self: auto;
    }
    
}

@media screen and (max-width: 1240px){
    .content__section .entry-content img{
        grid-column: 1;
        grid-row: 2;
        justify-self: flex-start;
    }
    .content__section img, .content__actu img {
    width: 350px;
    height: 250px;
    }
    .content__actus{
        margin: 0 !important;
    }
    
}

@media screen and (max-width: 1320px){
    .content__section{
        margin: 2rem 3rem;
    }
    .content__actu{
        margin: 1rem !important;
    }
    
}

@media screen and (max-width: 445px){
    
    .wpcf7-form textarea, .wpcf7-form input{
        width: 25em;
    }
    
}


/* Pastorale */


.content__paragraph {
    width: 45rem;
}

@media screen and (max-width: 811px){
    .content__paragraph {
        width: 35rem;
    }
}
@media screen and (max-width: 630px){
    .content__paragraph {
        width: 30rem;
    }
}
@media screen and (max-width: 555px){
    .content__paragraph {
        width: 22rem;
    }
}

