html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    font-family: sans-serif;
}
.container{
    max-width: 1165px;
    width: auto;
    margin: 0 auto;
}
/* container pour le slider pour qui soit sur la largeur de la page */
.container-landing{
    width: auto;
    margin: 0 auto;
}
html{
    scroll-behavior: smooth;
}
body{
    background-color: #fff;
    /* Code qui permet de mettre le footer en bas de page automatiquement (normalement il faut rajouter margin: 0; si ce n'est pas déclaré au préalable) */
    /**** CEST ICI QUE CA SE PASSE ****/
    /* display: grid; /*Transforme la balise body en contenur grid*/
    /* grid-template-rows: auto 1fr auto; */  /*défini la hauteur que les lignes de la grille doivent occupé. Auto correspond à la hauteur par défaut de la ligne (en fonction de ce qu'il y a dedans donc). Fr (fraction) permet d'occuper l'espace restant*/
    height: 100vh; /*vh (pour viewport height) permet de s'assurer que le body fera bien toute la hauteur de la surface d'affichage du navigateur*/
    color:#000;
}
/* Div pour avoir notre header en position fixed et responsive (meme taille et hauteur que le header qui sera cacher derriére et avec une hauteur minimun pour bloquer a la taille du header) */
.margin-header{
    background-color: transparent;
    height: 95px;
    min-height: 95px;
    padding: 0px 20px;
    z-index: 0;
}

/*----------------------------------------------------MISE EN PLACE DU HEADER-----------------------------------------------------------*/
.header{
    background-color : #000;
    width : 100%;
    height : 95px;
    position :fixed;
    top: 0;
    left: 0;
    display:flex;
    align-items :center;
    justify-content: space-between;
    padding : 0px 20px;
    z-index: 1;
}
.header__logo img{
    max-height: 85px;
}
.header__nav__menu{
    padding : 0;
    margin : 0;
    list-style: none;
    display: flex;
    align-items: center;
}
.header__nav__menu__link {
    margin-right: 20px;
}
.header__nav__menu__link:last-of-type {
   /* margin-right: initial; */ /* On sépare de 20px tous les liens sauf le dernier qui revient en initial*/
    margin-right: 33px; /* Seul le dernier lien de la liste a un padding de 33px pour éviter de trop le coller au bord de l'écran*/
}
.header__nav__menu__link a{
    color: #b49761;
    font-weight: 600; /* Met le texte un peu en gras*/
    text-decoration: none;
    position: relative;
    font-size: 24px;
}
.header__nav__menu__link a:after{
    content:''; /* Si on enleve content la barre de décoration sous les liens disparait*/
    height: 2px;
    background-color: #b49761;
    width: 0%;
    position : absolute;
    bottom: -5px; /* espace davantage la barre du lien*/
    right : 0;
    transition: 0.2s all ease-in-out; /* anime la barre sous les liens*/
}
.header__nav__menu__link a:hover:after{
    width : 100%; /* la barre est à 100% de largeur par rapport au lien quand on survole*/
    left: 0;
}
.header__burger{
   display: none; 
}
.header__deconnexion{
    display: none; 
 }
.header__burger svg{
    stroke: #b49761; /* pour changer la couleur d'un svg*/
    width: 50px;
    height: 50px;
}
.header__deconnexion svg{
    stroke: #b49761; /* pour changer la couleur d'un svg*/
    width: 50px;
    height: 50px;
}
.header__nav__close{
    display: none;
}


.listeadmin{
    display: none;
    position:absolute;
    background-color: white;
    padding-top : 2px;
    list-style: none;
    padding: 15px;
}

.listeadmin .souslisteadmin{
    padding: 10px 13px 10px 0px;
}

nav ul li:hover .listeadmin{
    display:block;
}

/*------------------------------------------------------------FIN----------------------------------------------------------------------*/

/*----------------------------------------------------------CSS DE LA BANNIERE ADAPTATIVE DES SPECTACLES COTE UTILISATEUR-----------------------------------------------*/
#bannierespectacle{
width: 100%;
object-fit: cover;
object-position: center;
height: 300px;
}
/*-------------------------------------------------------FIN---------------------------------------------------------*/

.imageDeFond{
    position: fixed;
   width: 0%;
   height: 100%;
   z-index: 1;
   top: 120px;
    /* Durée de l'animation */
   animation-duration: 8s;
    /* Nom de l'animation */
   animation-name: slideleft;
  
}
@keyframes slideleft {
    /* Début de l'animation */
    from {
      width: 50%;
    }
    /* Fin de l'animation */
    to {
      width: 0%;
    }
}
.imageDeFond1{
    position: fixed;
   width: 0%;
   height: 100%;
   z-index: 1;
   top: 120px;
   right: 0;
    /* Durée de l'animation */
   animation-duration: 8s;
    /* Nom de l'animation */
   animation-name: slideright;
   
}
@keyframes slideright {
    /* Début de l'animation */
    from {
      width: 50%;
    }
    /* Fin de l'animation */
    to {
      width: 0%;
    }
}
.trait{
    height : 1px;
    width : 80%;
    margin: 2% 10% 2% 10%;
    background-color: #b4976159;
}
.titre{
    text-align: center;
    color : #b49761;
    font-size: 40px;
    font-family: sans-serif;
    margin-top: 5%;
    
}
#separation{
    width: 30%;
}
footer{
    background-color: #000;
    z-index: 1;
}

.div_cookie{
z-index: 2;
width: 100%;
background: #a29d9ddb;
height: 100px;
position: fixed;
bottom: 0;
display: flex;
justify-content: flex-end;
}
.div_margin_cookie{
    margin: auto;
    display: flex;
    width: 80%;
}
.div_cookie_p{
    width: 80%;
    padding: 2%;
    text-align: center;
    margin: auto;
}
.div_cookie_btn{
    width: 20%;
    padding: 2%;
    text-align: center;
    margin: auto;
}
.div_cookie_btn button{
    border: 0;
    padding: 10px;
    box-shadow: 2px 1px 4px #000;
    border-radius: 8px;
    cursor: pointer;
    background: #b49761;
    color: #fff;
}
footer h4{
    font-size: 20px;
    padding-bottom: 10px;
}
footer .adresse{
    font-size: 20px;
}
footer .containerfooter div {
    width: 50%;
    color: #b49761;
    text-align: center;
    padding: 30px;
    margin: 35px 0 0;
}
footer .containerfooter {
    width: 100%;
    display: flex;
}
footer .divadresse{
    padding-top: 20px;
}

footer .reseauxsociaux .logo2{
    padding: 10px;
}

footer .reseauxsociaux .logoyoutube{
    width: 10%;
    padding: 0 0 8px 10px;
}
.copyright{
    color: #b49761;
    text-align: center;
    font-size: 14px;
    padding-bottom: 5px;
   
}

.copyright a{
    color: #b49761;
}
#trefle{
    color: #b49761;
    width: 8%;
    display:none;
}
.fa, .fas, .far{
    color: #b49761;
 }

 /*--------------------------------------------------CSS FORMULAIRES CONNEXION ET INSCRIPTION ----------------------------------------------------*/


.connexion .titre{
    text-align: center;
    color: #b49761;
    font-size: 40px;
    font-family: sans-serif;
}
 form{
    padding-top: 2%;
    width: 30%;
    margin: auto;
    margin-bottom: 5%;
}

.connexion label
{
    padding-top: 20px;
    display: block;
    padding-bottom: 5%;
    color: #b49761;
    font-size: 20px;
}

.connexion input{
    padding: 10px;
    width : 90%;
    border-radius: 7px;
}

.connexion .valider{
    width: 37%;
    padding: 10px;
    background-color: #b49761;
    font-size: 15px;
    border-radius: 5px;
    margin-left: 190px;
    box-shadow: 0px 2px 4px;
    margin: 12% 0 2% 29%;

}


.inscription label
{
    padding-top: 20px;
    display: block;
    padding-bottom: 5%;
    color: #b49761;
    font-size: 20px;
}

.inscription input{
    padding: 10px;
    width : 90%;
    border-radius: 7px;
}

.inscription .valider{
    width: 53%;
    padding: 10px;
    background-color: #b49761;
    font-size: 15px;
    border-radius: 5px;
    margin-left: 190px;
    box-shadow: 0px 2px 4px;
    margin: 12% 0 2% 23%;

}

/*------------------------------------------------------FIN----------------------------------------------------------------*/

@media all and (max-width: 860px){

    nav{
        display: none;
    }
    header{
        display: block;
    }
    .header_logo img {
        width: 50%;
    }
    #slider{
        width: 100%;
    }
    
    .imageDeFond, .imageDeFond1{
        display: none;
    }
    
    footer .containerfooter {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /*----------------------------------------------------MISE EN PLACE DU MENU BURGER-----------------------------------------------*/
    .header__burger{
        display: block;
        cursor: pointer;
        padding: 0 20px;
    }
    .header__deconnexion{
        display: block;
        cursor: pointer;
        padding: 0 20px;
        position: absolute;
        right: 90px;
        top: 32px;
    }

    .header__nav{
        position: fixed;
        top: 0; /* positionné en haut*/
        right: 0; /* à droite*/
        width : 300px;
        height: 100vh; /* hauteur de 100% de la hauteur de l'écran*/
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        display: none;
    }
    .header__nav.open{
        display: flex;
        animation: transformMenu 300ms ease-in-out forwards;
    }
    @keyframes transformMenu {
        0%{
            transform: translateX(100%);
        }

        100%{
            transform: initial;
        }
    }
    .header__nav__menu{
        flex-direction: column; /* place les liens à l'horizontal */
        align-items: flex-start;
    }
    .header__nav__menu__link{
        margin-right: 0; 
        margin-bottom: 20px;
    }
    .header__nav__menu__link a{
        font-size: 25px;
    }
    .header__nav__close{
        display: block;
        cursor: pointer;
    }
    .header__nav__close svg{
        stroke: #b49761; /* pour changer la couleur d'un svg*/
        width: 50px;
        height: 50px;
        position: absolute;
        /* En haut à droite de l'écran*/
        top: 32px;
        right: 16px;
    }
    .logout{
        display: none;
    }
    .overlay-menu-mobile{
        position: fixed;
        top : 0;
        left: 0;
        width: 100vw; /* largeur de 100% de l'écran*/
        height: 100vh; /* hauteur de 100% de viewport height*/
        background-color: rgba(0,0,0,0.6);
        display: none;
    }
    .overlay-menu-mobile.open{
        display: block;
        z-index: 1;
    }

    /* Finir par du JS qui se trouve sur la page _header.html.twig pour la mise en fonction des boutons ouvrir et fermer */
/*----------------------------------------------------------FIN---------------------------------------------------------*/

.div_cookie{
height: auto;
}
.div_margin_cookie{
display: block;
}

.div_cookie_btn{
width: 30%;
}

}