html {
	background: url(images/mouvement.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
}

body {
	width: 55em;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
	margin: 6em auto;
	background-color:rgba(77, 77, 77, 0.8);
	color: #e6e6e6;
}

.container {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	flex-direction: column;
	height: auto;
	border-style: solid;
    border-width: 1px;
	border-color: #e6e6e6;
}

/* We tell all items to be 100% width, via flex-basis */
.container > * {
	flex: 1 100%;
    padding: 0.5em;
}

header {
	text-align: center;
}

h1 {
	text-shadow: 2px 2px 4px black;
}

span {
	text-decoration: underline;
}


/*-----------MENU------------*/

nav ul {
	list-style:none;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	justify-content: center;
}

nav a{
    margin-right: 40px;
    text-align: center;
    text-decoration: none;
	color: gold;
	padding: 2px 5px;
}

nav a:hover {
	color: white;
}

a {
	font-weight: bold;
}


/*------------section----------*/
section {
	width: auto;
    height: auto;
    display: -webkit-flex; /* Safari */
	display: -ms-flexbox;
    display: flex;
	justify-content: left;
	margin-left: 2em;
}

#left {
	margin-left: 1em;
}

#repartition {
	justify-content: space-around;
	margin-bottom: 2em;
	margin-left: -3px;
}

#repartition img{
	width: 6.25em;
	height: 5em;
	border-style: solid;
	border-width: 2px;
	border-color: gold;
}

#repartition img:hover{
	border-color: #e6e6e6;
}

footer {
	text-align: center;
	margin-bottom: 2em;
}

@media only screen and (max-width: 600px) {

body{
	max-width: 100%;
	margin: 1em auto;
	}
	
nav ul {
	flex-direction: column;
	}
	
nav ul li {
	margin-bottom: 5px;
	}
	
#repartition{
	flex-direction: column;
	margin-left: 2em;
	}
	
footer{
	font-size: 80%;
	}
}














