body {
  background-color: rgb(205, 242, 248);
  width: width: 100%;
		margin: 0;
		padding: 0;
}
/* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */

	img,
	table,
	td,
	blockquote,
	code,
	pre,
	textarea,
	input,
	iframe,
	object,
	embed,
	video {
		max-width: 100%;
	}
	
	/* conserver le ratio des images */

	img {
		height: auto;
	}
	
	/* gestion des mots longs */

	textarea,
	table,
	td,
	th,
	code,
	pre,
	samp {
		-webkit-hyphens: auto; /* césure propre */
		-moz-hyphens: auto;
		hyphens: auto;
		word-wrap: break-word; /* passage à la ligne forcé */
	}
	
	code,
	pre,
	samp {
		white-space: pre-wrap; /* passage à la ligne spécifique pour les éléments à châsse fixe */
	}
	

.flex-container {
  display: flex;
  flex-wrap: wrap;
  
  justify-content: center;
  align-items: flex-start;
  font-family: Verdana, Geneva, sans-serif;
  padding: 0;
  margin: 10px;
  list-style: none;
  -ms-box-orient: horizontal;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
}
.wrap {
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
}
.flex-item3 {
  display: flex;
  background-color: aqua;
  justify-content: center;
  color: black;
  font-weight: bold;
  width: 98%;
  margin: 0;
  padding: 10px;
  align-items: center;
  border: 5px solid rgb(32, 6, 148);
  border-radius: 0.5em;
  font-family: Georgia, serif;
  font-size: 2rem;
  text-align: center;
}
.flex-item {
  display: flex;
  display: inline-block;
  background-color: #b7f39b;
  justify-content: space-evenly;
  width: 25%;
  margin: 5px;
  padding: 5px;
  min-height: 50px;
  align-items: center;
  border: 5px solid rgb(32, 6, 148);
  border-radius: 0.5em;
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 50px;
  text-align: center;
}
.flex-item1 {
  display: flex;
  display: inline-block;
  background: white;
  justify-content: stretch;
  width: 65%;
  margin: 5px;
  padding: 5px;
  min-height: 50px;
  align-items: center;
  border: 5px solid rgb(32, 6, 148);
  border-radius: 0.5em;
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 50px;
  text-align: center;
}
.gallery{
  display: flex;    
  flex-direction: column;
  align-items: center;
  width: 30%;
  justify-content: space-evenly;
  padding: 10px;
  margin: 10px; 
  
}
footer {
        position: absolute;
        bottom: 0;
        background: gray;
}
/* Début menu déroulant*/

#menu-demo2, #menu-demo2 ul{
padding:0;
margin:0;
list-style:none;
text-align:center;
}
#menu-demo2 li{
display:inline-block;
position:relative;
border-radius:8px 8px 0 0;
}
#menu-demo2 ul li{
display:inherit;
border-radius:0;
}
#menu-demo2 ul li:hover{
border-radius:0;
}
#menu-demo2 ul li:last-child{
border-radius:0 0 8px 8px;
}
#menu-demo2 ul{
position:absolute;
z-index: 1000;
max-height:0;
left: 0;
right: 0;
overflow:hidden;
-moz-transition: .8s all .3s;
-webkit-transition: .8s all .3s;
transition: .8s all .3s;
}
#menu-demo2 li:hover ul{
max-height:15em;
}
/* background des liens menus */
#menu-demo2 li:first-child{
background-color: #1411ad;
background-image:-webkit-linear-gradient(top, #1411ad 0%, #1411ad 100%);
background-image:linear-gradient(to bottom, #1411ad 0%, #1411ad 100%);
}
#menu-demo2 li:nth-child(1){
background-color: #1411ad;
background-image: -webkit-linear-gradient(top, #1411ad 0%, #1411ad 100%);
background-image:linear-gradient(to bottom, #1411ad 0%, #1411ad 100%);
}
#menu-demo2 li:nth-child(2){
background-color: #1411ad;
background-image: -webkit-linear-gradient(top, #1411ad 0%, #1411ad 100%);
background-image:linear-gradient(to bottom, #1411ad 0%, #1411ad 100%);
}
#menu-demo2 li:nth-child(3){
background-color: #1411ad;
background-image:-webkit-linear-gradient(top, #1411ad 0%, #1411ad 100%);
background-image:linear-gradient(to bottom, #1411ad 0%, #1411ad 100%);
}
#menu-demo2 li:nth-child(4){
background-color: #1411ad;
background-image: -webkit-linear-gradient(top, #1411ad 0%, #1411ad 100%);
background-image:linear-gradient(to bottom, #1411ad 0%, #1411ad 100%);
}
#menu-demo2 li:nth-child(5){
background-color: #1411ad;
background-image: -webkit-linear-gradient(top, #1411ad 0%, #1411ad 100%);
background-image:linear-gradient(to bottom, #1411ad 0%, #1411ad 100%);
}
#menu-demo2 li:last-child{
background-color: #1411ad;
background-image:-webkit-linear-gradient(top, #1411ad 0%, #1411ad 100%);
background-image:linear-gradient(to bottom, #1411ad 0%, #1411ad 100%);
}
/* background des liens sous menus */
#menu-demo2 li:first-child li{
background:#1411ad;
}
#menu-demo2 li:nth-child(2) li{
background:#1411ad;
}
#menu-demo2 li:nth-child(3) li{
background:#1411ad;
}
#menu-demo2 li:last-child li{
background:#1411ad;
}
/* background des liens menus et sous menus au survol */
#menu-demo2 li:first-child:hover, #menu-demo2 li:first-child li:hover{
background:#0cebab;
}
#menu-demo2 li:nth-child(1):hover, #menu-demo2 li:nth-child(2) li:hover{
background:#0cebab;
}
#menu-demo2 li:nth-child(2):hover, #menu-demo2 li:nth-child(2) li:hover{
background:#0cebab;
}
#menu-demo2 li:nth-child(3):hover, #menu-demo2 li:nth-child(3) li:hover{
background:#0cebab;
}
#menu-demo2 li:nth-child(4):hover, #menu-demo2 li:nth-child(2) li:hover{
background:#0cebab;
}
#menu-demo2 li:nth-child(5):hover, #menu-demo2 li:nth-child(2) li:hover{
background:#0cebab;
}
#menu-demo2 li:last-child:hover, #menu-demo2 li:last-child li:hover{
background:#0cebab;
}
/* les a href */
#menu-demo2 a{
text-decoration:none;
display:block;
padding:8px 32px;
color:#fff;
font-family:arial;
}
#menu-demo2 ul a{
padding:8px 0;
}
#menu-demo2 li:hover li a{
color:#fff;
text-transform:inherit;
}
#menu-demo2 li:hover a, #menu-demo2 li li:hover a{
color:#0a0a0a;
}
/* fin menu déroulant*/
