/*
Feuille de style de l'application web ...
réalisée par Bruno BORDRON - février 2021
*/

* {
    box-sizing: border-box;
    margin: 0px;
}
html {
    font-family: Montserrat, Arial, sans-serif;
    font-size: 62.5%;
}
body {  }
@font-face {
    font-family: 'Montserrat';
    src: url('../police/Montserrat-Regular.woff') format('woff');
}
@font-face {
    font-family: 'Montserrat-Bold';
    src: url('../police/Montserrat-Bold.woff') format('woff');
}
:root {
    --coul-1: #F2F2F2;
    --coul-2: #D9D9D9;
    --coul-3: #BFBFBF;
    --coul-4: #737373;
    --coul-5: #404040;

    --pol-1: 3.2rem;
    --pol-2: 2.8rem;
    --pol-3: 2.4rem;
    --pol-4: 2rem;
    --pol-5: 1.8rem;
    --pol-6: 1.6rem;
    --pol-normal: 1.2rem;
}

/* STYLE DES LIENS
---------- ---------- ---------- ---------- ---------- */
.lien { text-decoration: none; }
a {
    color: var(--coul-4);
    text-decoration: none;
    border: none;
}
a:hover { color: var(--coul-3); }

/* STYLE DE LA GRILLE
---------- ---------- ---------- ---------- ---------- */

/* STYLE DE L'ENTETE
---------- ---------- ---------- ---------- ---------- */
.entete {
    width: 100vw;
    margin-top: 18px;
}
.blocEnTete { width: 100%; }
.blocEnTete__titre {
    width: 100%;
    height: 2.2rem;
}
.blocEnTete__titre-titreCapital, .blocEnTete__titre-titre {
    font-size: var(--pol-4);
    text-align: center;
}
.blocEnTete__titre-titreCapital {
    color: var(--coul-5);
    text-transform: uppercase;
}
.blocEnTete__titre-titre { color: var(--coul-3); }

@media (min-width: 768px) {
    .blocEnTete {
        display: flex;
        justify-content: space-around;
    }
    .blocEnTete__nom { display: flex; }
    .blocEnTete__titre {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 200px;
        height: 5rem;
    }
}
@media (min-width: 992px) {
    .entete {
        display: flex;
        justify-content: space-around;
        min-height: 5rem;
    }
    .blocEnTete {
        justify-content: center;
        align-items: center;
        width: 450px;
    }
}

/* STYLE DE LA NAVIGATION
---------- ---------- ---------- ---------- ---------- */
.blocMenu {
    display: flex;
    justify-content: center;
    width: 100%;
}

.icone-menu {
    width: 64px;
    height: 64px;
    cursor: pointer;
}
.img-menu { background: no-repeat center / 60% url('../image/icone/menu.png'); }
.img-fermer { background: no-repeat center / 60% url('../image/icone/supprimer.png'); }

.navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
}
.menu { display: none; }
.menu-ouvert {
    display: block;
    height: 250px;}
.menu__lien {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 50px;
    margin-bottom: 2px;
    border-top: 1px solid var(--coul-2);
    border-bottom: 1px solid var(--coul-2);
}
.menu__txt { font-size: var(--pol-5); }

@media (min-width: 768px) {
    .blocMenu { width: 64px; }
}
@media (min-width: 992px) {
    .blocMenu { display: none; }
    .navigation {
        flex-direction: row;
        justify-content: space-around;
        width: 574px;
        height: 5rem;
    }
    .menu { width: 524px; display: flex;}
    .menu__lien {
        width: auto;
        height: 5rem;
        margin: 0 auto;
    }
    .menu__txt { font-size: var(--pol-6); }
}

/* STYLE DU CORPS
---------- ---------- ---------- ---------- ---------- */
.corps {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-top: 3rem;
}
.corps__titre {
    display: flex;
    align-items: center;
    width: 90%;
    height: 5rem;
    margin: 0 auto 2rem auto;
    padding-left: 3rem;
    border-top: 1px solid var(--coul-2);
    border-bottom: 1px solid var(--coul-2);
}
.corps__titre-texte {
    color: var(--coul-4);
    font-size: var(--pol-4);
    text-align: center;
}

   /* Style de l'image page Accueil */
.image__accueil { width: 90%; }

    /* Style de la Galerie */
.blocGalerie {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.vignette {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    height: auto;
    margin-bottom: 25px;
}
.vignette__image {
    width: 100%;
    height: auto;
    margin: 0 auto;
}
.vignette-texte {
    color: var(--coul-4);
    font-size: var(--pol-5);
    text-align: center;
}

   /* Style du texte */
.blocTexte {
    display: flex;
    flex-direction: column;
    width: 90%;
    border-bottom: 1px solid var(--coul-2);
}
.bloc__titre-texte {
    color: var(--coul-4);
    font-family: Montserrat-Bold;
    font-size: var(--pol-3);
    text-align: center;
}
.cadreTexte {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 18rem;
    margin: 2rem auto;
    border-top: 1px solid var(--coul-2);
    border-bottom: 1px solid var(--coul-2);
    background-color: var(--coul-1);
}
.cadreTexte__contact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    margin: 2rem auto;
    padding: 2rem;
    border-top: 1px solid var(--coul-2);
    border-bottom: 1px solid var(--coul-2);
}
.blocTexte__date { 
    width: 100%;
    padding: .5rem;
}
.blocTexte__date-texte { font-size: var(--pol-5); }
.blocTexte__titre {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 5rem;
    margin: 1rem auto;
    border-top: 1px solid var(--coul-2);
    border-bottom: 1px solid var(--coul-2);
}
.blocTexte-texte {
    font-family: Montserrat-Bold;
    font-size: var(--pol-5);
    text-align: center;
}
.blocTexte-texte2 { font-size: var(--pol-6); }


@media (min-width: 768px) {
        /* Style de l'image page Accueil */
    .image__accueil { margin-top: 3rem; }

        /* Style de la Galerie */
    .blocGalerie {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 681px;
    }
    .vignette {
        width: 325px;
        height: auto;
        margin: 0 7px 25px 7px;
    }

        /* Style du texte */
    .blocTexte {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 681px;
    }
    .cadreTexte {
        flex-direction: row;
        align-items: center;
        height: 8rem;
        margin: 1rem 0;
    }
    .blocTexte__date { width: auto; }
}
@media (min-width: 992px) { 
    .corps__titre { width: 681px; }

        /* Style de l'image page Accueil */
    .image__accueil {
        width: auto;
        height: 450px;
    }

        /* Style de la Galerie */
    .blocGalerie { margin-top: 2rem; }

        /* Style du texte */
    .blocTexte { width: 681px; }
    .blocTexte__titre { width: 681px; }
}
@media (min-width: 1200px) {
    .corps__titre { width: 1017px; }

        /* Style de l'image page Accueil */
    .image__accueil {
        width: auto;
        height: 800px;
        margin-top: 7rem;
    }

            /* Style de la Galerie */
    .blocGalerie {
        width: 1017px;
        margin-top: 5rem;
    }

        /* Style du texte */
    .blocTexte { width: 1017px; }
    .blocTexte__titre { width: 1017px; }
}

/* STYLE DU COPRS - GALERIE
---------- ---------- ---------- ---------- ---------- */
.galerie {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

/* STYLE DU DIAPORAMA
---------- ---------- ---------- ---------- ---------- */
.hes-gallery { background-color: white; }
