/*GENERAL*/
@font-face {
	font-family:"Perfectly";
    src:url('../ressources/font/perfectly.otf');
}

@font-face {
	font-family:"Satoshi";
    src:url('../ressources/font/Satoshi-Regular.otf');
}

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

html{
    font-family:"Satoshi";
    color:#3E4559;
  	background-color:#EFF1F7;
}

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

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

#nightheader{
	display:none;
}

h1, h2, h3, h4{
  font-family:"Perfectly";
}

p{
    line-height:1.4;
}

a{
  	text-decoration:none;
  	color:#0094FF;
  	transition-property: color;
	transition-duration: 0.5s;
}

a:hover{
  	color:#000;
}

figcaption {
    font-style: italic;
    text-align: center;
  	color: #000;
  	font-size:small;
}

.left{
    text-align:left;
}

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

u{
  text-decoration:underline;
}

#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: 20px;
	padding-bottom: 32px;
   	background-color: #FFF;
  	border:none;
}

#bento2{
	border-radius: 36px;
	padding-left: 5%;
	padding-right: 5%;
	padding-top: 20px;
	padding-bottom: 32px;
  	margin-top:24px;
  	margin-bottom:24px;
   	background-color: #EFF1F7;
  	border:none;
}

#dl{
    background-color: rgba(62,69,89,1);
	color:#FFF;
    padding-top : 12px;
  	padding-bottom : 12px;
 	padding-left : 32px;
  	padding-right : 32px;
    border-radius: 32px;
  	border:0px solid;
    text-align:center;
  	font-weight: bold;
   	transition-property: background-color;
	transition-duration: 0.5s;
  	max-width: max-content;
}

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

#dl:hover{
    background-color: rgba(62,69,89,0.6);
  	text-decoration: none;
  	cursor: pointer;
}

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

/* Navigation */

header{
    margin:30px;
}

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

nav ul {
  list-style-type: none;
  padding:0;
  overflow: hidden;
  background-color: rgba(62,69,89,0.4);
  /*rgba(0,148,255,0.4);*/
}

nav li {
  float: left;
  width:33.3%;
}

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

nav li a:hover{
    transition-property: background-color;
	transition-duration: 0.5s;
  	/*color:#FFF;*/
    background-color: rgba(62,69,89,0.6);
}

/*Cookies*/

#bandeau{
    color:#000040;
    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;
 }

tr{
    border:1px solid #E1DDE4;
}
 
 th{
   color:#FFF;  
   background-color:#3E4559;
 }

 

/*GRAND ECRAN */
@media screen and (min-width: 840px){
	section{
		width:840px;
	}
	
	header img{
    	max-width:360px;
    }
  
      nav{
      top: 10px;
  	}
  
  	nav ul {
  	border-radius:36px;
      width:480px;
	}

	nav li {
  	border-radius:36px;
	}

	#imgz img{
	    width:30%;
      border-radius:36px;
	}
  
  	#imgz2 img{
	    max-width:360px;
	}
  
    #imgz3 img{
	    max-width:720px;
	}
  
    #ill img{
      max-width:480px;
      border-radius:36px;
  }
}

/* PETIT ECRAN */
@media screen and (max-width: 840px){
    html{
        font-size: small;
    }
    
    section{
        width:auto;
    }
    
    header img{
    	max-width:70%;
    }
    
	#imgz img{
	    width:50%;
      border-radius:36px;
	}
	
	#imgz2 img{
	  width:80%;
	}
  
  	#imgz3 img{
	    width:100%;
	}

    #ill img{
    max-width:100%;
    }
  
        nav{
      top: 0px;
  	}
  
  nav ul {
  border-radius:none;
    width:100%;
	}
  
  nav li {
  border-radius:none;
}
}

/* Pied de page */

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

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

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

footer a:hover{
  	color:#0094FF;
}