/*GENERAL*/
@font-face {
	font-family:"Poppins";
    src:url('../ressources/font/Poppins-Regular.ttf');
}

@font-face {
    font-family: "Poppins";
    src: url("../ressources/font/Poppins-Bold.ttf");
    font-weight: bold;
}

html{
    font-family:"Poppins";
    color:#000;
  	background-color:#F7F1EF;
}

body{
    margin:0;
    padding:0;
    width: auto;
}

section{
    margin:0 auto;
  	padding-left:10px;
 	padding-right:10px;
    padding-top:20px;
}

#nightheader{
	display:none;
}

.night{
	display:none;
}

h1, h2, h3{
    color: #DB414C;
}

section b{
  color: #DB414C;
}
  
h4{
    color:#FFF;
    padding:20px;
    background-color:#400000;
    border-radius:36px;
}

p{
    text-align: justify;
    line-height:1.5;
	color: #400000;
}

a{
  color:#DB414C;
  text-decoration: underline 0.15em #FFF;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 300ms, text-underline-offset 300ms;
}

a:hover{
  text-decoration-color: #DB414C;
  text-underline-offset: 0.4em;
  	color:#DB414C;
}

figcaption {
    font-style: italic;
    padding: 8px;
    text-align: center;
}

.left{
    text-align:left;
}

.right{
    text-align:right;
  	float:right;
}

hr{
    height:0px;
    border-width:0;
    margin-top:24px;
  	margin-bottom:24px;
}

u{
  text-decoration:underline;
}


/*Formatage des éléments*/

.hide{
	display:none;
}

.show{
	display:block;
}

#centre{
    display:block;
    margin : auto ;
    padding : auto ;
    text-align : center;
}

.centre{
    display:block;
    margin : auto ;
    padding : auto ;
    text-align : center;
}

#bento{
	border-radius: 36px;
	padding-left: 5%;
	padding-right: 5%;
	padding-top: 32px;
	padding-bottom: 32px;
   	background-color: #FFF;
  	border:1px solid #E1DDE4;
  	/*box-shadow: 0px 0px 32px 0px #D2DCDC;*/
}

#bento2{
	border-radius: 36px;
	padding-left: 5%;
	padding-right: 5%;
	padding-top: 20px;
	padding-bottom: 32px;
   	background-color: #F7F1EF;
  	border:1px solid #E1DDE4;
    /*box-shadow: 0px 0px 16px 0px #D2DCDC;*/
}

#chiffre{
	border-radius: 64px;
	padding-left: 16px;
	padding-right: 16px;
	padding-top: 8px;
	padding-bottom: 8px;
  	color:#FFF;
   	background-color: #DB414C;
  	text-align:center;
  	max-width:max-content;
  	display:inline;
}

#dl{
    padding-top : 12px;
  	padding-bottom : 12px;
 	padding-left : 32px;
  	padding-right : 32px;
    border-radius: 32px;
  	border:0px solid;
	color : #FFF;
    text-align:center;
  	text-decoration: none;
  	font-weight: bold;
  	max-width: max-content;
  	background-size: 200% 200%;
    background-image: linear-gradient(to right,#400000 50%,#DB414C 0%);
  	background-position: right;
    -webkit-transition: background-position 1s;
    -moz-transition: background-position 1s;
    transition: background-position 1s;
}

#dl p, #dl a{
    text-decoration: none;
    color:#FFF;
}

#dl:hover{
  	text-decoration: none;
  	cursor: pointer;
  	background-position: left;
}

#pub img{
	width:96%;
	transition-property: width;
	transition-duration: 0.5s;
	border-radius:36px;
}

#pub img:hover{
	width:100%;
}

.green{
  border:1px solid #18A558;
}

/* Accordéon FAQ */
.accordion {
  background-color:#FFF;
  border:none;
  cursor: pointer;
  padding: 32px;
  width: 100%;
  text-align: left;
  outline: none;
  color: #DB414C;
  font-weight: bold;
  font-size:large;
  border-radius:36px;
}

.active, .accordion:hover {
  background-color:#F7F1EF;
  /*border:1px solid #E1DDE4;*/
}

.panel {
  padding: 0 32px;
  background-color: #FFF;
  overflow: hidden;
  /*border-bottom:1px solid #E1DDE4;*/
  max-height: 0;
  transition: max-height 0.33s ease-out;
} 

.accordion:after {
  /*content: "\0023F7";*/
  /*content: url("../ressources/icons/bas2.png");
  transform: scale(.2);*/
  /*font-size: large;*/
  color: #DB414C;
  float: right;
  margin-left: 5px;
}

.active:after {
  /*content: "\0023F6";*/
  /*content: url("../ressources/icons/haut2.png");*/
}

button{
  font: inherit;
}

/* Navigation */

header{
    margin:30px;
}

nav{
    position: sticky;
    top: 10px;
    margin:10px auto;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

nav ul {
  list-style-type: none;
  padding:0;
  overflow: hidden;
  background-color: #DB414C; 
  border-radius:36px;
  width:480px;
}

nav li {
  float: left;
  width:33.33%;
  border-radius:36px;
}

nav li a {
  display: block;
  text-align: center;
  padding-top: 22px;
  padding-bottom:22px;
  text-decoration: none;
  color:#FFF;
}

nav li a:hover{
    transition-property: background-color;
	transition-duration: 1s;
  	transition: 1s;
  	color:#FFF;
    background-color:#400000;
}

/*Cookies*/

#bandeau{
    color:#400000;
    background-color:#FFF;
    padding:10px;
    margin:20px;
    border-radius:36px;
    font-size:x-small;
}


/* Tableaux */

table {
    border-collapse:collapse;
    overflow:auto;
    width: 100%;
 }
 
th, td {
    border:1px solid #E1DDE4;
    padding: 10px;
 }
 
 th{
   color:#FFF;  
   background-color:#F7F1EF;
 }


/*Formulaire */

form {
	-webkit-appearance:none;  
  	border-radius: 36px;
	padding-left: 5%;
	padding-right: 5%;
	padding-top: 20px;
	padding-bottom: 32px;
   	background-color: #FFF;
  	border:1px solid #E1DDE4;
  	/*box-shadow: 0px 0px 32px 0px #D2DCDC;*/
 }
 
input, textarea, select {
	padding:14px;
  	border:1px solid #E1DDE4;
	border-radius:32px;
	background-color:#F7F1EF;
  	font: inherit;
  	color:#400000;
  	font-size:12px;
    transition: border 0.33s ease-out;
 }

input:focus, textarea:focus, select:focus {
  outline:none;
  border:1px solid #18A558;
}
 
label{
   	font: inherit;
  	color:#400000;
  	font-size:12px;
}

/*GRAND ECRAN */
@media screen and (min-width: 720px){
	section{
		width:720px;
	}
	
	header img{
    	max-width:480px;
    }

	#player iframe{
		width:480px;
		height:240px;
		transition-property: height, width;
		transition-duration: 0.5s;
	}

	#player iframe:hover{
	    width:510px;
		height:360px;
	}
	
	#imgz img{
	    width:30%;
	}
  
  	#imgz2 img{
	    width:70%;
	}
	
	#logo img {
        max-width:70%;
        height: auto;
    }
  
    #ill img{
      max-width:50%;
      transition-property: max-width;
      transition-duration: 0.5s;
      border-radius:36px;
}
    
    #ill img:hover{
        max-width:52%;
    }
    
    nav #mobile_nav{
        display:none;
    }
}

/* PETIT ECRAN */
@media screen and (max-width: 720px){
    html{
        font-size: small;
    }
    
    section{
        width:auto;
    }
    
    header img{
    	max-width:90%;
    }
    
	nav li img{
		height:22px;
		transition-property: height;
		transition-duration: 0.5s;
	}

	nav li:hover img{
		height:28px;
	}
    
	.video { 
        overflow:hidden; 
        padding-bottom:56.25%; 
        position:relative; 
        height:0;
    }

    .video iframe {
        left:0; 
        top:0; 
        height:100%;
        width:100%;
        position:absolute;
    }
    
    #player iframe{
        width:100%;
        height:360px;
    }
    
	#imgz img{
	    width:50%;
	}
	
	#imgz2 img{
	    width:80%;
	}
	
	#logo img {
        max-width: 70%;
        height: auto;
    }

    #ill img{
    max-width:100%;
    }
}

/* Pied de page */

footer{
    padding: 30px;
    background-color : #400000;
}

footer p{
    text-align:center;
    color:#FFF;
    font-size:small;
}

footer a{
    text-decoration: none;
    color:#FFF;
}

footer a:hover{
  	text-decoration: underline;
  	color:#FFF;
}