* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: #fff;
}
.tout {             /* pour limiter la largeur du site sur trés grand écran (TV) */
    width: 100%;
    max-width: 1920px;
}

/* ----------------------------------------- formulaires -------------------------------------- */

fieldset {
    border: 2px solid black;
    margin-bottom: 25px;
    border-radius: 30px;
    padding: 0 20px;
    background: #ecf0f3;
}
legend {
    text-align: center;
    font-size: 20px;
    letter-spacing: 0.5px;
    color: #525252;
    font-weight: 600;
    background-color: white;
    border: 2px solid black;
    border-radius: 6px;
    padding: 4px;
}
.form-champ {
    padding: 0 30px;
    margin-bottom: 10px;
    border-radius: 25px;
    box-shadow: inset 8px 8px 8px #cdced1, inset -8px -8px 8px #fff;
}
.form-fields {
    width: 100%;
    padding: 15px 5px 5px 5px;
}
.form-fields input {
    border: none;
    outline: none;
    background: none;
    font-size: 18px;
    color: #555;
    padding: 15px 0;
    width: 100%;
}
.formulaire {
    font-size: 18px;
    color: #555;
    padding-top: 15px;
}
.envoyer {
    margin: 20px 0;
    box-shadow: 0 0 0 0.0625em #cbcbcb;
    background: linear-gradient(#b2b2b2, #f4f4f4) content-box,
                 radial-gradient(#ededed, rgba(222, 222, 222, 0)) 50% 100% / 80% 0.125em no-repeat border-box,
                 linear-gradient(#f4f4f4, #c9c9c9) border-box;
    color: #000;
    position: relative;
    border: solid .125em transparent;
    width: 8.5em;
    height: 2em;
    border-radius: 1em;
    text-shadow: 1px 1px var(rgba(255, 255, 255, 0.5), rgba(0, 0, 0, 0.5));
    font: 900 1.5em cursive;
    filter: contrast(0.65);
    transition: .2s ease-out;
    cursor: pointer;
}
.envoyer:hover, .envoyer:focus {
    outline: none;
    filter: none;
}
.envoyer:active {
    transform: translatey(0.125em);
}

/* --------------------------------------- fin formulaires ------------------------------------ */


/* --------------------------------------------------------------------------------------------- */
/*                                     --- menu et sous-menu ---                                 */
/* --------------------------------------------------------------------------------------------- */

header {
    position: fixed;
    top: 0;
     background-color: #252424; 
    width: 100%;
    z-index: 1000;
    height: 80px;
}
.container {
    max-width: 65rem;
    padding: 0 2rem;
    margin: 0 auto;
    display: flex;                  /* pour répartir sa largeur entre chacun de ses éléments enfants soit 4 largeurs (1 pour .logo-container et 3 pour .nav-btn) */
    position: relative;             /* pour positionner l'élément enfant .check (la checkbox du menu hamburger) */
}
.logo-container {
    flex: 1;                        /* prend 1 largeur sur 4 du parent .container */
    display: flex;
    align-items: center;            /* centrage vertical */
    height: 80px;
}
.nav-btn {
    flex: 3;                        /* prend 3 largeurs sur 4 du parent .container */
    display: flex;
}
.nav-links {
    flex: 2;                        /* prend 2 largeurs sur 3 du parent .nav-btn */
}
.nav-links > ul {
    display: flex;
    justify-content: center;        /* centre horizontalement */
    align-items: center;            /* centre verticalement */
    margin-top: 15px;
}
.nav-link {
    position: relative;                 /* pour positionner .dropdown (sous-menu) */
    margin-top: 10px;
}
.nav-link > a {
    line-height: 2rem;
    color: #fff;
    padding: 0 0.8rem;
    letter-spacing: 1px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;            /* centre verticalement */
    justify-content: space-between; /* répartis uniformément dans le conteneur le long de l'axe principal */
    transition: 0.5s;
}
.nav-link > a > i {
    margin-left: 0.2rem;
}
.nav-link:hover > a {
    transform: scale(1.1);
    border-radius: 10px;                     /* on arrondi les angles de 5px */
    box-shadow: 0 0 5px #33ffff,          /* ajoute des ombres autour de la boîte d'un élément */
                0 0 5px #66ffff;
    color: #33ffff;
}
.nav-link > a.active {
    color: #33ffff;
}

/* --------------------------------- sous menu ---------------------------------- */

.dropdown {                             /* sous-menu */
    position: absolute;                 /* pour être positionné par rapport au parent (.nav-link) */
    padding-top: 23px;
    top: 100%;
    left: 0;
    width: 10rem;
    transform: translateY(10px);        /* on déplace l'élément sur l'axe verticale de 10 px */
    opacity: 0;                         /* on met l'élément transparent pour ne pas le voir */
    pointer-events: none;               /* L'élément ne sera pas la cible d'événements de pointeur */
    transition: 0.5s;
}
.dropdown-link > a {
    display: flex;
    background-color: #575757;
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    align-items: center;            /* centre verticalement */
    justify-content: space-between; /* répartis uniformément dans le conteneur le long de l'axe principal */
    transition: 0.3s;
}
.dropdown-link:hover > a {
    background-color: #797979 ;
    color: #33ffff;
}
.dropdown-link:not(:nth-last-child(2)) {
    border-bottom: 1px solid #efefef;
}
.dropdown-link i {
    transform: rotate(-90deg);
}
.dropdown-link {
    position: relative;                         /* pour positionner les enfants de la classe second */
}
.dropdown .second {
    top: -23px;
    left: 100%;
    padding-left: 0.8rem;
    cursor: pointer;
    transform: translateX(10px);                /* on fait bouger les sous-menus et sous-sous-menus de 10 px vers la gauche */
}
.nav-link:hover > .dropdown, .dropdown-link:hover > .dropdown {     /* on fait réapparaitre les sous-menus et sous-sous-menus */
    transform: translate(0, 0);
    opacity: 1;                                 /* on passe l'opacité a 1 pour les rendre visible */
    pointer-events: auto;                       /* on remet la "sensibilité" au passga de la souris */
}

/* ----------------------------- fin sous-menu ------------------------------ */


/* ----------------------------- menu hamburger ----------------------------- */

.hamburger-menu-container {
    flex: 1;
    display: none;
    align-items: center;            /* centre verticalement */
    justify-content: flex-end;      /* Les articles sont emballés à égalité les uns par rapport aux autres vers le bord du conteneur */
}
.hamburger-menu {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;            /* centre verticalement */
    justify-content: center;        /* centre horizontalement */
}
.hamburger-menu div {                           /* trait du milieu du menu hamburger */
    width: 1.6rem;
    height: 3px;
    border-radius: 3px;
    background-color: #fff;
    position: relative;                         /* afin de pouvoir positionner ses enfants (les autres traits du menu hamburger ) */
    z-index: 1001;
    transition: 0.5s;                           /* a une transition durant 0.5s */
}
.hamburger-menu div::before, .hamburger-menu div::after {   /* les deux autres traits du menu hamburger */
    content: '';                                /* pas de texte */
    position: absolute;                         /* afin de pouvoir placer les traits par rapport au parent (le trait du milieu) */
    width: inherit;                             /* prend la largeur du parent */
    height: inherit;                            /* prend la hauteur du parent */
    background-color: #fff;
    border-radius: 3px;
    transition: 0.5s;                           /* a une transition durant 0.5s */
}
.hamburger-menu div::before {
    transform: translateY(-7px);                /* on déplace le trait du dessus verticalement de 7px vers le haut pour le rendre visible */
}
.hamburger-menu div::after {
    transform: translateY(7px);                /* on déplace le trait du dessous verticalement de 7px vers le bas pour le rendre visible */
}
#check {                                        /* la checkbox */
    position: absolute;                         /* pour la positionner dans l'élément parent (.container) */
    top: 50%;                                   /* on la met à 50% du haut du parent */
    right: 2rem;                                /* on la place à 2rem (32px) du bord droit */
    transform: translateY(-50%);                /* on la déplace de 50% de sa hauteur vers la haut pour le centrer */
    width: 2.5rem;                              /* elle a une largeur de 2.5rem (40px) */
    height: 2.5rem;                             /* elle a une hauteur de 2.5rem (40px) */
    z-index: 90000;                             /* pour passer devant les autres éléments */
    cursor: pointer;                            /* lorsque la souris passera dessus le curseur sera en pointer */
    opacity: 0;                                 /* on la met transparente pour la rendre invisible */
    display: none;                              /* on enlève la checkbox */
}
#check:checked ~ .hamburger-menu-container .hamburger-menu div {    /* lorque la checkbox sera cochée, le ttrit du milieu du menu hamburger */
    background-color: transparent;                                  /* deviendra transparent (invisible) */
}
#check:checked ~ .hamburger-menu-container .hamburger-menu div::before {    /* lorque la checkbox sera cochée, le trait du dessus */
    transform: translateY(0) rotate(-45deg);    /* le bord droit reste en place (translate) pendant que le bord gauche fera une rotation de 45° vers le bas */
}
#check:checked ~ .hamburger-menu-container .hamburger-menu div::after {    /* lorque la checkbox sera cochée, le trait du dessous */
    transform: translateY(0) rotate(45deg);    /* le bord droit reste en place (translate) pendant que le bord gauche fera une rotation de 45° vers le haut */
}

@keyframes animation {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

/* ------------------------------fin  menu hamburger ------------------------------ */

/* --------------------------------------------------------------------------------------------- */
/*                                  --- fin menu et sous-menu ---                                */
/* --------------------------------------------------------------------------------------------- */


/* -------------------------------- image fixe (parallaxe) ------------------------------------- */

.image_fixe {
    background: url(../img/bandeau.jpg) no-repeat center center fixed;
    background-size: cover;
    height: 850px;
}

/* ------------------------------- fin image fixe (parallaxe) ---------------------------------- */


/* --------------------------------------------------------------------------------------------- */
/*                                      corps de la page                                         */
/* --------------------------------------------------------------------------------------------- */

.generale {
    display: flex;
}
.generale_autre {                     /* pour les pages autre que accueil */
    display: flex;
    background-color: #d1d1d1;
    padding: 80px 0 0 35px;
    text-align: center;
}
.colonne_gauche {
    width: 70%;
    padding:0 20px 50px 100px;
}

/* --------------------------------------- colonne de droite (info) --------------------------------------- */

.colonne_droite {
    background-color: #7cafbe;
    width: 30%;
}

/* ------------------------------------------- Info défilante --------------------------------------------- */

.info-defilante {
    background: #918c8c;
    overflow: hidden;                   /*Le contenu est rogné si besoin pour s'inscrire dans la boîte de remplissage (padding) et aucune barre de défilement n'est affichée. */
    border: 10px outset #c0c0c0;       /* pour entourer le texte d'une bordure */
    text-align: center;
}
.text {
    padding: 15px 0;
    font-family: 'Heebo', sans-serif;
    font-family: Heebo, sans-serif;
    font-size: 2em;
    font-weight: 700;
    color: #f5f5f5;
    text-shadow: 1px 1px 1px #919191,
        1px 2px 1px #919191,
        1px 3px 1px #919191,
        1px 4px 1px #919191,
        1px 5px 1px #919191,
        1px 6px 1px #919191,
        1px 7px 1px #919191,
        1px 8px 1px #919191,
        1px 9px 1px #919191,
        1px 10px 1px #919191,
        1px 18px 6px rgba(16,16,16,0.4),
        1px 22px 10px rgba(16,16,16,0.2),
        1px 25px 35px rgba(16,16,16,0.2),
        1px 30px 60px rgba(16,16,16,0.4);
    animation: example1 15s linear infinite;
}
@keyframes example1 {
    0%   {
    transform: translateX(100%); 		
    }
    100% {
    transform: translateX(-100%); 
    }
   }

  /* ------------------------------------------- fin Info défilante --------------------------------------------- */

  /* --------------------------------------------- les actualités ----------------------------------------------- */

.actualites {
    padding: 15px;
}
.actualites h2 {
    text-align: center;
    margin-top: 15px;
}.actualites_texte {
    text-align: left;
}
.date, .restitution, .prise {
    font-family: 'Heebo', sans-serif;
}

/* ------------------------------------------fin de les actualités -------------------------------------------- */

/* --------------------------------------- fin colonne de droite (info) --------------------------------------- */

/* ---------------------------  Titre principal -> Office municipal du Sport (OMS)  --------------------------- */

.titre-principal{
    text-shadow:   -1px -1px 0 #000,  
    1px -1px 0 #000,
    -1px 1px 0 #000,
     1px 1px 0 #000,
     1px 1px 2px #141414,
     1px 1px 3px #141414,
     1px 1px 5px #141414,
     1px 1px 7px #141414,
     1px 1px 10px #141414,
     1px 1px 12px #141414,
     1px 1px 18px #141414;
     color:#76cf11;
     text-align: center;
     font-size: 3rem;
     padding: 32px;
}

/* ------------------------- fin de titre principal -> Office municipal du Sport (OMS)  ----------------------- */


/* ------------------------------------------- page accueil ----------------------------------------------------*/

.sous-titre-principal {
    font-size: 2rem;
    border-bottom: 3px solid #488800;
    width: 16rem;
    margin-bottom: 2rem;
}
.principale p {
    margin-bottom: 15px;
}
.volontes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
}
.volont01 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
    margin-right: 40px;
}
.volont02 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    margin-right: 40px;
}
.volont03 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 2;
    grid-row-end: 3;
    margin-right: 40px;
}
.volont04 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
    margin-right: 40px;
}
.volont05 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 3;
    grid-row-end: 4;
    margin-right: 40px;
}
.volont06 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 4;
    margin-right: 40px;
}
.volont07 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 4;
    grid-row-end: 5;
    margin-right: 40px;
}
.volont08 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 4;
    grid-row-end: 5;
    margin-right: 40px;
}
.img01, .img02, .img03, .img04, .img05, .img06, .img07, .img08 {
    width: 130px;
    border: 10px solid #33ffff;
    border-radius: 20px;
}
.img01:hover {
    border: 10px solid #ff0000;
}
.img02:hover {
    border: 10px solid #008000;
}
.img03:hover {
    border: 10px solid #2828ff;
}
.img04:hover {
    border: 10px solid #ffff00;
}
.img05:hover {
    border: 10px solid #ff0000;
}
.img06:hover {
    border: 10px solid #008000;
}
.img07:hover {
    border: 10px solid #2828ff;
}
.img08:hover {
    border: 10px solid #ffff00;
}

/* -------------------------------------------- fin page accueil ----------------------------------------*/

/* ---------------------------------------- pages affichage article ------------------------------------ */


.galerie_img_art {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    max-width: 1300px;
    margin: 70px auto 0;
}
.image-article {
    width: 300px;
    margin: 10px;
    overflow: hidden;
    flex-shrink: 0;
  }
.img_article {
    border-radius: 20px;
    width: 100%;
    height: auto;
}
.titre_galerie_article {
    background-color: #02e041;
    padding: 10px 0;
    border-radius: 30px;
}

/* --------------------------------------- fin affichage article ------------------------------------- */


/* -------------------------------------------- pages info ------------------------------------------- */

.titre-page {
    color: #0000ff;
    justify-content: center;
    text-transform: uppercase;
    line-height: 3rem;
    font-size: 3rem;
    font-weight: bold
}
.article {
    border: 3px solid #76cf11;
    border-radius: 10px;
    margin: 2rem 1.5rem 2rem 0;
    padding: 1rem;
    background-color: #6e6e6e;
}
.titre-article {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #cebe9c;
}
.date-article {
    border-bottom: 2px solid #a0a0a0;
    padding-bottom: 8px;
    margin-bottom: 1rem;
    color: #efefef;
}
.texte-article {
    text-align: left;
    color: #e7ddd1;
    text-indent : 5%;
    line-height : 30px;
}

/* ---------------------- pagination ------------------------------ */

div.one {
    width: 100%;
    height: 70px;
    padding: 50px;
    margin: 25px;
}
.one ul {
    position: absolute;
    display: flex;
    margin: 0;
    padding: 0;
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.5), 0 0 0 4px #76cf11;
}
ul li {
    list-style: none;
}
.one ul li a {
    display: block;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background: #fff;
    color: #262626;
    text-decoration: none;
    border-radius: 4px;
    margin: 5px;
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0, 0, 0, 0.5);
}
.one ul li:first-child a {
    border-radius: 20px 0 0 20px;
}
.one ul li:last-child a {
    border-radius: 0 20px 20px 0;
}
.one ul li a.active,
.one ul li a:hover {
    background: #76cf11;
    color: #fff;
}
.desactive {
    cursor: none;
    pointer-events: none;
    color: #ff0000;
}

/* ---------------------fin pagination ---------------------------- */

/* ------------------------------------------- fin pages info ----------------------------------------- */


/* ------------------------------------------ pages telethon ------------------------------------------ */

.date-telethon {
    font-weight: 500;
    margin-bottom: 1rem;
    line-height : 3rem;
    border-bottom: 2px solid #4e4e4e;
}
.telethon_titre {
    text-align: left;
    text-decoration: solid underline #0000ff 4px;
}
.texte-telethon {
    text-align: left;
    color: #000;
    text-indent : 5%;
    line-height : 30px;
}
.liste-telethon {
    font-weight: 500;
    font-size: 1.3em;
    text-align: left;
    margin-left: 40px;
}
.telethon_espace {
    margin: 30px 0;
}


/* ------------------------------------------- fin pages telethon ------------------------------------- */


/* ------------------------------------------- pages services ----------------------------------------- */

.calendrier {
    margin: 20px 0;
}
.texte-services {
    margin-top: 15px;
    text-align: left;
    color: #000;
    line-height : 30px;
}
.adherer {
    text-align: left;
    text-decoration: solid underline #0000ff 4px;
    margin: 15px 0;
}

/* ------------------------------------ bouton telechargement --------------------------------- */

.bouton {
    margin: 50px 0;
    width: 250px;
    height: 85px;
    border: 4px solid #888888;
    background-color: #f4f5f6;
    border-radius: 40px;
    box-shadow: -6px -20px 35px #e0e0e0, -6px -10px 15px #e0e0e0, -20px 0px 30px #e0e0e0, 6px 20px 25px rgba(0, 0, 0, 0.2);
    transition: .13s ease-in-out;
    cursor: pointer;
}
.bouton:active {
    box-shadow: none;
}
.bouton:active .bouton_contenu {
    box-shadow: none;
}
.bouton:active .bouton_contenu .bouton_texte, .bouton:active .bouton_contenu {
    transform: translate3d(0px, 0px, 0px);
}
.bouton_contenu {
    padding: 5px;
    width: 100%;
    height: 100%;
    box-shadow: inset 0px -8px 0px #dddddd, 0px -8px 0px #f4f5f6;
    border-radius: 40px;
    transition: .13s ease-in-out;
    z-index: 1;
}
.bouton_texte {
    width: 250PX;
    height: 85PX;
    border-radius: 40px;
    margin-top: -10PX;
    margin-left: -10px;
    padding: 18px;
    transform: translate3d(0px, -4px, 0px);
    text-align: center;
    font-size: 16px;
    background-color: #5c5c5c;
    color: transparent;
    text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.5);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    transition: .13s ease-in-out;
}
.bouton_texte:hover {
    color: #ff4c4c;
}

/* -------------------------------------- fin bouton telechargement ------------------------------------ */

/* ------------------------------------------- page minibus -------------------------------------------- */

textarea {
    margin-top: 15px;
    font-size: 16px;
}
textarea::placeholder {
    color: #db6f6f;
    font-size: 16px;
}

/* ------------------------------------------ fin page minibus ---------------------------------------- */


/* ---------------------------------------- fin pages services ---------------------------------------- */


/* ---------------------------------------- les associations ------------------------------------------ */

.card-container {
    display: grid;          /* pour positionner les cartes avec grid */
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));   /* crée autand d'élément que cela peut sur la largeur avec un minimum de largeur de 350px et au max 1fr */
    grid-gap: 30px;         /* 30px entre les éléments */
    margin: 80px 0;         /* marges exterieures 80 px en haut et en bas 0 sur les cotés */
}
.card-wrapper {
    position: relative;
    width: 300px;
    min-height: 390px;
    perspective: 2000px;
    perspective-origin: top;
}
.card-wrapper:hover .card {
    transform: rotateY(180deg);     /* au survol de la carte, elle pivote de 180deg sur son axe vertical */
}
.card {
    position: relative;             /* car ses enfants vont être en obsolute */
    height: 100%;
    transform-style: preserve-3d;   /* pour garder la 3D créée avec le parent */
    transition: transform 0.8s cubic-bezier(0.86,0,0.07,1);    /* l'animation commence doucement et se termine plus rapidement */
    color: #464646;
    font-weight: bold;
}
.card-front, .card-back {
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    backface-visibility: hidden;    /* lorsque l'on retourne la carte on ne veut pas voir le coté opposé de la carte */
}
.card-front {
    background: #f0f0f0;
    display: flex;                  /* pour placer les éléments de la carte */
    flex-direction: column;         /* on met les éléments les uns sous les autres */
    justify-content: space-between; /* on sépare régulièrement les éléments en hauteur */
}
.front_titre{
    color: #736200;
    font-size: 25px;                /* taille de la police */
    line-height: 35px;              /* espace entre les lignes */
}
.logo {
    background-color: f0f0f0;
    position: relative;
    bottom: 5px;
    height: 80%;
    width: 100%;
    border: 6px double #5d5001;
    border-radius: 20px;
}
.img_logo {
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.asso_logo {
    margin-bottom: 20px;
    border: 6px double #5d5001;
    border-radius: 20px;
}
.card-back {
    background: #000000ac;
    transform: rotateY(180deg);
    display: flex;                  /* pour placer les éléments de la carte */
    flex-direction: column;         /* on met les éléments les uns sous les autres */
    justify-content: space-between; /* on sépare régulièrement les éléments en hauteur */
    align-items: center;
}
.back_titre{
    color: #eeca00;
    font-size: 25px;                /* taille de la police */
    line-height: 35px;              /* espace entre les lignes */
    border-bottom: 2px solid #eeca00;
}
.back_text {
    color: #d9d9d9;
    font-size: 14px;
    font-weight: normal;
}
.card-back a {
    display: inline-block;
    border-radius: 10px;
    padding: 15px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: normal;
    background: #fff;
    font-size: 14px;
    color: #333;
    transition: background 0.3s ease-out, color 0.3s ease-out ;
}

/* -------------------------------------------- fin les associations ---------------------------------------------- */


/* ----------------------------------------------- contact.php ---------------------------------------------------- */

.contact {
    margin-top: 60px;
}
.titre-contact{
    padding: 50px 0 30px 0;
}
.reussite {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #005e1e;
    border-radius: 25PX;
    font-size: 20px;
    color: #c7d7cc;
    background-color: #0b9537;
    box-shadow: 5px 5px 10px 2px #656565;
}
.attention {
    text-align: left;
    margin-bottom: 30px;
    padding: 15px;
    background-color: #d19b9ba7;
    border: 1px solid #f90606;
    border-radius: 25PX;
    font-size: 20px;
}
.erreur {
    line-height: 2;
    font-weight: 500;
    color: #5b2a2a;
    padding-left: 30px;
}

/* ------------------------------------ fin page contact  ---------------------------------------- */

/* --------------------------------------- pages admin  ------------------------------------------ */

.administration {
    padding: 100px;
}
.administration-h2 {
    color: blue;
}
.administration-text {
    margin: 20px 0;
}
.administration-input {
    margin-top: 10px;
}
.administration-bouton {
    margin: 20px 0;
    padding: 10px 30px;
    font-size: 1.2rem;
    background-color: #6bff95;
    border: 2px solid #02e041;
    border-radius: 30px;
    cursor: pointer;
}
.administration-deconnexion {
    display: block;
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 10px 0;
    width: 500px;
    font-weight: 700;
    text-align: center;
    background-color: #02e041;
    border: 2px solid #0b9537;
    color: #252424;
    border-radius: 25px;
}
.administration_separ {
    border: 2px solid #000;
    margin: 10px 0;
}

.administration-lien {
    display: block;
    margin-top: 15px;
    padding: 10px 0;
    width: 600px;
    font-weight: 700;
    text-align: center;
    background-color: #02e0ca;
    border: 2px solid #0b9537;
    color: #252424;
    border-radius: 25px;
}
.administration-message {
    background-color: #02e041;
    margin-top: 20px;
    padding: 5px 20px;
    font-weight: 600;
}
.administration-table {
    border-collapse: collapse;  /* on fusionne les bordures des cases pour en avoir qu'une seule au lieu de 2 */
    min-width: 500px;
    width: auto;
    box-shadow: 0 5px 50px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    margin: 30px auto;
    border: 2px solid #005e1e;
}
thead tr {
    background-color: #02e041;
    text-align-last: left;
}
th, td {
    padding: 5px 5px;
    font-size: 14px;
}
tbody tr, td, th {
    border: 1px solid #c6c6c6;
}
tbody tr:nth-child(even) {              /* pour toutes les rangés paires ... */
    background-color: #d7d7d7;        /* ... on met une couleur de fond */
}
.administration-modifier {
    background-color: #00c5db;
    padding: 5px 10px;
    border-radius: 10px;
}
.administration-supprimer {
    background-color: #da052c;
    padding: 5px 10px;
    border-radius: 10px;
    color: #fff;
}
ol {
    padding-left: 50px;
    padding-top: 10px;
}


/* ------------------------------------ fin pages admin ------------------------------------------ */

/* ------------------------------------- Pied de page -------------------------------------------- */

.footer {
    padding: 20px;
    background-color: #000;
    color: #fff;
    width: 100%;
    display:flex;
    flex-direction:row;
    align-items: center;
    text-align: center;
}
.item{
    text-align:center;
    flex:auto;
    margin-bottom: 30px;
}

/* ----------------------------------- fin Pied de page ------------------------------------------ */



/* ===================================================================================================================================================== */
/* =============================================================                ======================================================================== */
/* =============================================================   responsive   ======================================================================== */
/* =============================================================                ======================================================================== */
/* ===================================================================================================================================================== */


@media (max-width: 920px) {

/* ------------------------------------------- menu hamburger ------------------------------------------------- */

    .hamburger-menu-container {
        display: flex;              /* on fait apparaitre le menu hamburger */
    }
    #check {
        display: block;             /* on remet la checkbox */
    }
    .nav-btn {
        position: fixed;            /* on passe le menu grand écran en position fixe */
        height: calc(100vh - 3rem); /* il prend une hauteur de 100vh (hauteur de l'écran) - 3rem (48px) */
        top: 5rem;                  /* il sera à 5rem (80px) du haut de son parent */
        left: 0;                    /* il sera sur le bord gauche de son parent */
        width: 100%;                /* il aura une largeur de 100% de son parent */
        background-color: #2c2c2c;
        flex-direction: column;     /* on place les éléments enfants (le menu et le bouton de connexion) en colonne */
        align-items: center;        /* centre verticalement */
        justify-content: space-between; /* répartis uniformément dans le conteneur le long de l'axe principal */
        overflow-x: hidden;         /* Le contenu est rogné pour tenir horizontalement dans la boîte et aucun ascenseur horizontal n'est affiché */
        overflow-y: auto;           /* Le contenu est rogné dans la boîte et on peut le faire défiler pour le faire apparaître avec un ascensseur */
        transform: translateX(100%);
        transition: 0.65s;
    }
    #check:checked ~ .nav-btn {
        transform: translateX(0);
    }
    #check:checked ~ .nav-btn .nav-link {
        animation: animation 0.5s ease forwards var(--i);
    }
    .nav-links {
        flex: initial;              /* on utilise initial pour définir la propriété flex à sa valeur par défaut */
        width: 100%;                /* prend toute la largeur de son parent */
    }
    .nav-links > ul {               /* la liste du menu */
        flex-direction: column;     /* se met en colonne */
        margin-top: 0;
    }
    .nav-link {
        width: 100%;
        opacity: 0;
        transform: translateY(15px);
    }
    .nav-link > a {
        line-height: 1;
        padding: 1.6rem 2rem;
    }
    .nav-link:hover > a {
        transform: scale(1);            /* au survol de la souris, les listes ne bougent plus (contrairement aux grands écrans) */
        background-color: #363636;
        box-shadow: none;
        border-radius: 0;
    }
    .dropdown, .dropdown .second {
        position: initial;
        top: initial;
        left: initial;
        transform: initial;
        opacity: 1;
        pointer-events: auto;
        width: 100%;
        padding: 0;
        background-color: #474747;
        display: none;
    }
    .nav-link:hover > .dropdown, .dropdown-link:hover > .dropdown {
        display: block;
    }
    .nav-link:hover > a > i, .dropdown-link:hover > a > i {
        transform: rotate(360deg);
    }
    .dropdown-link > a {
        background-color: transparent;
        color: #fff;
        padding: 1.2rem 2rem;
        line-height: 1;
    }
    .dropdown .second .dropdown-link > a {
        padding: 1.2rem 2rem 1.2rem 3rem;
    }
    .dropdown .second .dropdown .second .dropdown-link > a {
        padding: 1.2rem 2rem 1.2rem 4rem;
    } 
    .dropdown-link:not(:nth-last-child(2)) {
        border-bottom: none;
    }
    .dropdown-link:hover > a {
        background-color: #5e5e5e;
    }
    .nav-link > a > i {
        font-size: 1.1rem;
        transform: rotate(-90deg);
        transition: 0.7s;
    }
    .dropdown i {
        font-size: 1rem;
        transition: 0.7s;
    }

    textarea {
        width: 95%;
    }

/* ------------------------------------------- fin menu hamburger ------------------------------------------------- */

/* -------------------------------------- positionnement partie principale ---------------------------------------- */

/* ------------------------------------------------------------------------------------------------- */
/*                                      corps de la page                                             */
/* ------------------------------------------------------------------------------------------------- */

/* ---------------------------------------- pour toutes les pages ------------------------------------------- */

    .generale, .generale_autre {
        flex-direction: column-reverse;     /* pour mettre la colonne de droite au dessus de la colonne de gauche */
    }
    .generale_autre {
        padding: 0;
    }
    .colonne_gauche {
        width: 100%;
        padding-left: 30px;
    }
    .colonne_droite {
        width: 100%;
    }
    .colonne_droite_autre {
        padding-top: 80px;
    }

/* -------------------------------- colonne droite passant sous l'image fixe ------------------------------ */
.info-defilante {
    width: 100%;
    margin-left: 0;
}
.colonne_droite .actualites {
    display: none;          /* on n'affiche pas les actualités */
}


/* ------------------------------------------ footer ---------------------------------------------------*/

    .footer {
        flex-direction: column;
    }

/* ---------------------------------------- fin footer -------------------------------------------------*/

}