body
{
	margin: 0;
	padding: 0;
	background-color: white;
}

/* entête */

header
{
	margin-top: -8px;
	margin-left: -10px;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 110px;
	position: fixed;
	z-index: 200;
	width: 102%;
	background: white;
	border-bottom: 1px solid black;
}

#liste
{
	margin: 0;
	padding: 0;
	display: flex;
	margin-right: 20px;
}

#liste .liste
{
	list-style: none;
}

#liste .liste a
{
	display: block;
	position: relative;
	text-align: center;
	text-decoration: none;
	font-size: 18px;
	font-family: Open Sans, sans-serif;
	color: #5a5a5a;
	/*text-transform: uppercase;*/
	transition: .5s;
	padding: 46px 30px; 
}

#liste .liste a:hover
{
	color: white;
}

#liste .liste a:before
{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #5a5a5a;
	transform-origin: right;
	transform: scaleX(0);
	transition: transform .5s;
	z-index: -1;
}

#liste .liste a:hover:before
{
	transform-origin: left;
	transform: scaleX(1);
}

.page
{
	background: #5a5a5a;
	display: block;
	position: relative;
	text-align: center;
	text-decoration: none;
	padding: 5px;
	font-size: 18px;
	font-family: Open Sans, sans-serif;
	color: white;
	/*text-transform: uppercase;*/
	padding: 46px 30px; 
}

.taille
{
	display: block;
	width: 200px;
	height: 100px;
	margin-left: 50px;
}

/* centre */
figcaption
{
	text-align: center;
}

.espace
{
	height: 30px;
	width: 100%;
}

.espace2
{
	width: 30px;
}

/* pied de page */
footer
{
	width: 100%;
	background: #5A5A5A;
	margin: 0;
	display: flex;
	flex-direction: column;
	color: white;
}

#footer
{
	width: 100%;
	display: flex;
	justify-content: space-around;
	border-bottom: solid white 3px;
	overflow: hidden;
}

#footer .espace2
{
	border-right: solid 3px white;
	height: 300px;
}

#footer h1
{
	font-size: 30px;
	text-align: center;
	border: none;
	width: 100%;
}

footer p {text-align: center;}

#footer .footer2 p 
{
	text-align: left;
	margin-left: 10px;
}

.footer
{
	display: flex;
	justify-content: space-around;
	flex-direction: column;
	flex-grow: 1;
}

.footer2
{
	display: flex;
	justify-content: space-around;
	flex-grow: 1;
}

footer a 
{
	color: white;
}

footer a:hover
{
	text-decoration: underline;
}

#footer2
{
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#footer2 div
{
	display: flex;
	justify-content: space-between;
	width: 20%;
}

#footer2 div img
{
	height: 50px;
}

#footer2 a 
{
	width: 15%;
}

.bordure
{
	width: 100%;
	border-top: 3px white solid;
}

.mentions
{
	text-align: right;
	margin-left: 0;
	margin-right: 20px;
}

/*Menu hamburger*/
.topnav {
  background-color: #333;
  display: flex;
  align-items: center;
  width: 100%;
}
.topnav_link {
  color: white;
  padding: 12px;
  text-decoration: none;
}
.topnav_link:hover {
  color: #0078b4;
}

/* hide responsive menu */
#hamburger,
#topnav_responsive_menu {
  display: none;
}


/* format téléphone*/
@media all and (max-width: 1200px)
{
	h1{font-size: 40px;}
	p{font-size: 28px;}

	header {
    display: none;
  }

  /* position home link at left and hamburger at right */
  #home_link {
    flex-grow: 1;
  }

  /* disable horizontal scrolling  */
  #root {
    position: relative;
    overflow-x: hidden;
  }

  /* show responsive menu and position at the right of the screen */
  #topnav_responsive_menu {
    display: block;
    position: absolute;
    margin: 0;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;

    z-index: 99;

    transform-origin: 0% 0%;
    transform: translate(-200%, 0);

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  }

  #topnav_responsive_menu ul {
    display: flex;
    flex-direction: column;

    position: absolute;
    margin: 0;
    left: 0;
    top: 0;

    min-width: 50vw;
    height: 100vh;
    padding: 56px 0 0;

    text-align: center;

    background: #ededed;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
  }

  #topnav_responsive_menu li {
    padding: 12px 24px;
    font-family: 'Open Sans', sans-serif;
    z-index: 101;
  }

  #topnav_responsive_menu a {
    white-space: nowrap;
    color: #333;
    text-decoration: none;
    padding: 10px 50px;
    transition: .5s;
    font-size: 30px;
  }

  #topnav_responsive_menu a:hover
  {
  	color: white;
  	background: #5A5A5A;
  }

  /* And let's slide it in from the right */
  #topnav_responsive_menu.open {
    transform: none;
    position: fixed;
  }

  /* ******************** HAMBURGER ICON ******************** */
  /* define size and position of the hamburger link */
  #hamburger
  {
  	display: flex;
  	left: 0;
  	right: 0;
  	width: 100%;
  	justify-content: space-between;
  }

  #topnav_hamburger_icon {
    display: block;
    position: relative;
    margin: 16px;
    width: 117px;
    height: 100px;

    z-index: 100;

    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
  }

  /* define the style (size, color, position, animation, ...) of the 3 spans */
  #topnav_hamburger_icon span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    margin-bottom: 5px;

    background: #000;
    border-radius: 3px;

    z-index: 100;

    opacity: 1;
    left: 0;

    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
  }

  /* set the 3 spans position to look like a hamburger */
  #topnav_hamburger_icon span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left top;
    -moz-transform-origin: left top;
    -o-transform-origin: left top;
    transform-origin: left top;
  }
  #topnav_hamburger_icon span:nth-child(2) {
    top: 46px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
  }
  #topnav_hamburger_icon span:nth-child(3) {
    top: 92px;
    -webkit-transform-origin: left bottom;
    -moz-transform-origin: left bottom;
    -o-transform-origin: left bottom;
    transform-origin: left bottom;
  }

  /* change color when opening the menu */
  #topnav_hamburger_icon.open span {
    background: #333;
  }

  /* the first span rotates 45° \ */
  #topnav_hamburger_icon.open span:nth-child(1) {
    width: 110%;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  /* the second span disappears */
  #topnav_hamburger_icon.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
  }

  /* the last span rotates -45° / */
  #topnav_hamburger_icon.open span:nth-child(3) {
    width: 110%;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

	.taille
	{
		margin-left: 0px;
		width: 400px;
		height: 200px;
	}

	.page
	{
		font-size: 25px;
	}

	#liste .liste a
	{
		font-size: 25px;
	}
}