/*theme*/
:root {
  --font-family: 'Open Sans', sans-serif;
   --dark:#2c3e50;
  --background-light:hwb(56 87% 7% / 0.973);
  --text-color: #444;
 
  --rouge: red;

  --box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
  rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  --border:1px solid #eee;
  --vert: #a8df9f;
  --bleu: #819DEB;
  --noir: black;
  --marron: #d0ca10;


}
/* reset*/

* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  font-size: 10px;
  font-family: var(--font-family);
  background-color: var(--background-light);
}

/*header*/

header{
  height:200px; 
  background: url(/public/images/couverture2.jpg) center center /cover no-repeat;
   box-shadow: var(--box-shadow);
   color: var(--noir);
   display:flex;
   flex-flow: row nowrap;
   justify-content: space-between;
   align-items: center; 
   position: relative; /*pour portable*/ 
 
}
.header-menu{
  margin: 0;
  display: flex;
  flex-flow: row;
  align-items: center; 
}

.header-menu li{
 margin-left: 5px;
  border-radius: 3px;
  padding: 5px 15px;
  transition: background-color 0.2s; 
  margin-right: 20px;
}

.noir{
  background-color: black;
}

.header-mobile {
  display: none;
}
.header-mobile-list{
  display: none;
  position: absolute; /*pour portable*/
  left: 0;
  width: 100%;
  color: black;
  background: var(--marron);

}
.affichageblocportable{
  display: block;

}

.header-mobile-list li{
  padding:1rem; 

}
.header-mobile-icon{
  margin-right: 7px;
}
.header-mobile-list li.active {
  color: var(--bleu);
  font-weight: 700;
}

.header-menu li:hover{
  background-color: var(--background-light);

}
li.header-profil {
  font-weight: 700;
  background-color: var(--dark);
  border-radius: 50%;
  height: 40px;
  width: 40px;
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: center;

}

li.header-profil:hover{
  background-color: var(--dark);

}


.active {
  background-color: var(--background-light);
}

 .logo{
  padding:20px; 
  
  font-weight:700;
  font-size: 5rem;;
 }
h1, p{
  margin:0;
}
ul {
  padding: 0;
  list-style-type: none;
}

a {
  color:inherit;
  text-decoration: none;
}

/*container*/
.container{
    font-size: 1.6rem;
    min-height: 100vh;
    display: flex;
    flex-flow: column;
    color:var(--text-color);

}



.text-error{
  color: var(--rouge);
  font-size: 1.2rem;
  font-weight: bold;
}



.newsdeux
{
  width: 100%;
 color: black;
 font-size:1.4rem;
 padding: 0.5rem 2rem;
 margin-bottom:15px;
 border-radius:15px;
 background-color: var(--marron);
 
}



/*content*/
.content{

  max-width: 110rem;
  width: 100%;
  flex:1;
  display: flex;
  flex-flow: column;
  align-self: center;
 align-items: center;
  padding:3rem 0;
  
}

/*FORMULAIRE*/
.form-container{
  display:flex;
  flex-flow: column;
  width: 60rem;
}

.form-container h1 {
  margin-bottom: 2rem;

}
.form-control {
  display: flex;
  flex-flow: column;
  margin: 1rem 0;
}
.form-control label{
  margin-bottom: 1rem;
}

.form-control input {
  border: var(--border);
  border-radius: 3px;
  padding: 1rem 1.5rem;
}
.form-control select {
  border: var(--border);
  padding: 1rem 1.5rem;
}

.form-control textarea {
  border: var(--border);
  padding: 1rem 1.5rem;
  min-height:  20rem;
}
.form-action {
  display: flex;
  flex-flow:row nowrap;
  justify-content: flex-end;
}
/*utils*/
.p-20 {
  padding: 20px;
}

.p-10 {
  padding: 10px;
}


/*bloc formulaire*/

.block {
  border-radius: 3px;
  border: var(--border);
  background-color: var(--marron);
  box-shadow: var (--box-shadow);
}


/*bouton*/

.btn {
  background-color: white;
  font-weight: 700;
  color: var(--text-color);
  font-size: 1.6rem;
  border: 0;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 3px;
  margin: 0 5px;
  box-shadow: var(--box-shadow);
}

.btn-primary {
  background-color: var(--vert);
  color: var(--noir);
}

.btn-secondary {
  background-color: var(--vert);
  color: var(--noir);
}
.btn-soumission {
  background-color: var(--vert);
  font-weight: 700;
 margin-right:10rem;
  padding: 7px 8px;
  box-shadow: 10px 10px 5px -5px blue;
	
}

.btnheader a:hover{
  background-color: #d0ca10;
  color: white;
}

.btn-danger {
  background-color: var(--danger);
  color: var(--text-color-light);
}
.low-opacity {
  opacity: 0.5;
}
.small {
  font-size: 1.2rem;
  margin: 0 0.5rem;
}


/*FOOTER*/

footer{
  
   background: var(--vert);
}

.conteneur-footer {
  
	text-align: center;
	padding: 15px, 17px;
  	font-size: 17px;
   
}

.bloc-footer{
  display: flex;
	justify-content: space-around;
}	

.liste-footer a{
	font-size:16px;
}
 
.panneau {
  
  background: var(--marron);

	color: #fff;
	font-weight: bold;
	font-size: 14px;
	
	border-radius: 5px;
	letter-spacing: 1px;
	text-align: center;

}


.bloc-footer {
	text-align: left;
	padding: 5px;
	
}

.liste-footer li {
	list-style-type: none;
  margin: 0.4rem;
	
	
}
.liste-footer a{
	text-decoration: none;
	padding: 1px 1rem;
  
 

}
.liste-footer a:hover{
	background: var(--marron);
	color:black;
	transition: background-color;
	border-radius: 3px;
  
}
.social {
	
	margin-top: -15px;
	margin-right: 5px;
	width: 4rem;
	height: 4rem;
	
}
.navigation-active {
  background-color: var(--background-light);
	color: black;
	border-radius: 5px;
 
}
#navigation {
	text-align: center;
}



.p1{
  background-color: var(--vert);
  width: 40%;
  height: 100px;
  margin: 1rem;
  color: black;
  font-weight: bold;
	font-size:5rem;
  padding: 15px;
}

.justifie
{
  text-align:justify;
}

.bloc_index {
  
  text-align: center;
  border-radius: 15px;
  border: var(--border);
  background-color: var(--marron);
  box-shadow: var (--box-shadow);
  font-weight: 700;
 text-align: justify;
  margin-bottom: 15px;
}




@media only screen and (max-width: 800px){
  .header-menu {
    display: none;
  }
  .header-mobile {
    display: block;
  }
.form-container {
  width: 100%;
}
.bloc-footer{
  flex-flow: column;
 }

 .content {
  padding: 1rem;
 }

 .logo{
 
  font-size: 2rem;
 }

 .p1{
  width: 85%; 
  font-size: 2rem;
  height: 50px;
  padding: 10px;

 }
 .bloc_index{
  font-size: 1.5rem;
 }

 
 
 

}