/*Reset CSS*/
*{
    margin: 0px;
    padding: 0px;
    font-family: Avenir, sans-serif;
}

#header {
height : 50px;
margin-top: 0px;
margin-bottom : 0;
background-color : transparent;
}
#header2 {
text-align : center;
margin-top: 50px;
margin-bottom : 10px;
background-color : white;
}
#footer {
width : 80%;
margin : auto;
padding : 5px;
text-align : left;
background-color : white;

}
#p3 {
margin-right : 20px;
margin-top: 20px;


}

h1 {
padding : 0;
font : BOLD 250% Avenir, sans-serif;
color : #FFF;
text-align : center;
vertical-align:text-top;
}
h2 {
margin : 0;
padding : 0.2em 0;
text-align : center;
font : normal 180% Avenir, sans-serif;
color : black;
}
h3 {
margin : 0;
padding : 0.2em 0;
text-align : center;
font : normal 120% Avenir, sans-serif;
color : grey;
}

h4 {
margin : 0;
padding : 0;
font : 100% Avenir, sans-serif;
color : grey;
}
h5 {
margin : 0;
padding : 0;
font : 70% Avenir, sans-serif;
color : grey;
}
h6 {
margin : 0;
padding : 0;
font : 100% Avenir, sans-serif;
color : black;
}


nav{
    width: 80%;
    margin: 0 auto;
    background-color: transparent;
    position: sticky;
    top: 15px;
	z-index: 100;
}
.conteneur-nav{
    position: absolute;
    width: 100%;
}
nav input[type=checkbox]{
    display: none;
}
nav label{
    display: inline-block;
    width: 100%;
    padding: 5px 0px;
    text-align: center;
    background-color: #f7dc69;
}
nav ul{
    display: none;
    list-style-type: none;
    background-color: #555;
}
nav input[type=checkbox]:checked + ul{
    display: flex;
    flex-flow : column wrap;
}
nav ul li{
    flex: 1 1 auto;
    text-align: center;
}
nav > div > ul > li > a{
    color: white;
}
nav a{
    display: block;
    text-decoration: none;
    color: black;
    padding: 5px 0px;
}
.sous{
    display: flex;
    flex-flow: column wrap;
    z-index: 1000;
}

.sous li{
    flex: 1 1 auto;
    text-align: left;
}
.sous a{
    padding: 5px;
    background-color: #e92d55;
}
/*test couleur*/
.sous1{
    display: flex;
    flex-flow: column wrap;
    z-index: 1000;
}

.sous1 li{
    flex: 1 1 auto;
    text-align: left;
}
.sous1 a{
    padding: 5px;
    background-color: #5ce1e6;
}




/*Ecran PC*/

@media screen and (min-width: 980px){
    .conteneur-nav{
        position: static;
		
    }
    nav label, nav input{
        display: none;
    }
    nav input[type=checkbox]:checked + ul, nav ul{
        display: flex;
        flex-flow: row wrap;
        background-color: white;
    }
    nav ul li{
        position: relative;
    }
    nav > div > ul > li > a{
        color: black;
    }
    nav a{
        border-bottom: 2px solid transparent;
    }
    nav a:hover{
        color: white;
		background-color: #a89ea0;
        border-bottom: 2px solid grey;
    }
    .sous{
        display: none;
        box-shadow: 0px 1px 2px #CCC;
        background-color: #e92d55;
        position: absolute;
        width: 100%;
    }
/*test couleur*/	
	 .sous1{
        display: none;
        box-shadow: 0px 1px 2px #CCC;
        background-color: #5ce1e6;
        position: absolute;
        width: 100%;
    }
	
    nav > div > ul li:hover .sous{
        display: flex;
        flex-flow: column wrap;
    }
    .sous a{
        border-bottom: none;
        background-color: #e92d55;
    }
    .sous a:hover{
        border-bottom: none;
        background-color: RGBa(200,200,200,0.1);
    }
    .deroulant > a::after{
        content:" ▼";
        font-size: 12px;
    }
/*test couleur*/	
	  nav > div > ul li:hover .sous1{
        display: flex;
        flex-flow: column wrap;
    }
    .sous1 a{
        border-bottom: none;
        background-color: #5ce1e6;
    }
    .sous1 a:hover{
        border-bottom: none;
        background-color: RGBa(200,200,200,0.1);
    }
    .deroulant > a::after{
        content:" ▼";
        font-size: 12px;
    }
}
.conteneur-findepage{
		text-align: center;
		margin-top: 5px;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 10px;
		padding-top:30px;
		height: auto;
		width : 80%;
		background-color: white;
		
}

.conteneur-page{
		text-align: center;
		margin-top: 50px;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 10px;
		padding-left: 0px;
		padding-top:30px;
		height: auto;
		width : 80%;
		background-color: white;
		
}
.conteneur-pagetexte{
		text-align: left;
		margin-top: 50px;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 10px;
		padding-left: 10px;
		padding-top:30px;
		height: auto;
		width : 80%;
		background-color: white;
		
}
.expo{
		text-align: left;
		margin-top: 50px;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 5px;
		padding-left: 10px;
		padding-top:30px;
		height: auto;
		width : 80%;
		background-color: white;
		
}
.champ{
  margin-bottom: 20px;
}
*{
  font-family: Avenir, sans-serif;
}
fieldset {
  border: none;
  background-color: #C2B0F9;
  border: 2px solid black;
  border-radius: 6px;
  margin-bottom: 20px;
  padding-left: 10px;
		padding-top:10px;
		padding-bottom: 10px;
  width: 80%;
  margin-top: 50px;
	margin-left: auto;
		margin-right: auto;
		margin-bottom: 5px;
}
legend{
  background-color: white;
  border: 2px solid black;
  border-radius: 6px;
  padding: 4px;
}
.champ{
  margin-bottom: 10px;
}
textarea{
  width: 60%;
  height: 100px;
}
input{
  width: 150px;
}
input[type="radio"], input[type="checkbox"]{
  width: auto;
}
input[type="submit"]{
  width: 100px;
}
/* Défilement fluide pour toute la page */
html {
  scroll-behavior: smooth;
}
.pdf-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: grey; 
  color: white;
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 6px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background 0.3s, transform 0.2s;
}

/* Effet au survol */
.pdf-button:hover {
  background-color: #b71c1c;
  transform: translateY(-2px);
}

/* Style du bouton */
#btn-haut {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: transparent;
  color: grey;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.6);
  transition: background-color 0.3s;
}
#btn-haut:hover {
  background-color: #f7dc69;
}


.video-container {
  width: 100%;
  max-width: 800px; /* Empêche la vidéo de devenir trop grande sur un écran de PC */
  
  margin: 20px auto;   /* Centre la vidéo si elle est plus petite que l'écran */
}

.video-container video {
  width: 90%;
  height: auto;
  display: block;   /* Supprime l'espace vide indésirable sous la vidéo */
  border-radius: 8px; /* Optionnel : arrondit les angles de la vidéo */
}

.video-responsive {
  width: 100%;
  max-width: 800px; /* Optionnel : pour éviter que la vidéo soit trop grande sur ordinateur */
  margin: 0 auto;   /* Optionnel : pour centrer la vidéo */
}

.video-responsive iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9; /* Adapte automatiquement la hauteur selon le format standard */
}
.video-facebook-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  
  /* Format paysage classique 16:9 */
  aspect-ratio: 16 / 9; 
  overflow: hidden;
  border-radius: 8px; /* Optionnel : arrondit les angles de la vidéo */
}

.video-facebook-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}





