/*-------------------------
	Avant-Gout
--------------------------*/


*{
	margin:0;
	padding:0;
}


/*-------------------------
	General Styles
--------------------------*/


html{
	background:url('../Image/BackGround.jpg') repeat #1c1f20;
}


body{
	font:14px/1.3 'Segoe UI', 'Arial', sans-serif;
}

a, a:visited {
	outline:none;
	color:inherit;
	text-decoration: none;
}

a:hover{
	text-decoration:none;
}

section, footer, header{
	display: block;
}

.Primary_Section {
	height: 100%;
}

/*----------------------------
	SECTION ACCUEIL
-----------------------------*/

.ACCUEIL {
	opacity: 0.1;
	position: relative;
}


/*----------------------------
 Header
-----------------------------*/


header{
	background-color:#e8e8e9;
	padding:10px;
	position:relative;
}

header:after{
	content:'';
	background:url('../Image/Muraille.jpg') repeat-x;
	height:12px;
	width:100%;
	left:0;
	bottom:-12px;
	position:absolute;
}

header h2{
	display: none;
}

header h1{
	text-align:center;
	font: normal 40px 'Bree Serif', sans-serif;
	color:#494949;
	padding: inherit;
	text-shadow:1px 1px 1px rgba(0,0,0,0.1);
}


/*----------------------------
 Footer
-----------------------------*/


footer{
	font:14px/1.3 'Segoe UI',Arial, sans-serif;
	background-color: #111111;
	bottom: 0;
	box-shadow: 0 -1px 2px rgba(0,0,0,0.4);
	height: 45px;
	left: 0;
	position: fixed;
	width: 100%;
	z-index: 100000;
}

footer h2{
	color: #EEEEEE;
	font-size: 14px;
	font-weight: normal;
	left: 50%;
	margin-left: -400px;
	padding: 13px 0 0;
	position: absolute;
	width: 540px;
}

footer h1{
	color: #EEEEEE;
	font-size: 14px;
	font-weight: normal;
	right: 50%;
	margin-right: -400px;
	padding: 13px 0 0;
	position: absolute;
}

/*----------------------------
 Menu Burger
-----------------------------*/

#menuToggle
{
  display: block;
  position: relative;
  width: 40px;
  top: 50px;
  left: 50px;
  -webkit-user-select: none;
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;

  cursor: pointer;

  opacity: 0;
  z-index: 2;

  -webkit-touch-callout: none;
}

/*----------------------------
 Menu Burger
-----------------------------*/

#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

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

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* Burger en croix */

#menuToggle input:checked ~ span
{
  opacity: 1;
	z-index: 2;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/* Mais supprime le burger du milieu. */

#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

  /* Croix */

#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/* Menu à gauche */

#menu
{
  position: absolute;
  margin: -100px 0 0 -55px;
  padding: 50px;
  padding-top: 125px;
	z-index: 1;
  background: #e8e8e9;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  width: max-content;
  padding: 10px 0;
  font-size: 22px;
}

#menu li p
{
 vertical-align: middle;
 float: left;
}

  /* Defillement vers la droite */

#menuToggle input:checked ~ ul
{
  transform: none;
}

.Flag {
	width: 35px;
}

/*----------------------------
 Main Div
-----------------------------*/


#main{
	position:relative;
	margin-bottom: 70px;
}

h3{
	font: normal 50px 'Rochester', cursive;
	margin-left: auto;
  margin-right: auto;
	width: fit-content;
	color:#fff;
	margin-top:100px;
}

#Project{
	text-align:center;
	opacity:0;
	transition:0.4s opacity;
}

#Project.active{
	opacity:1;
}

#Project li{
	display:none;
	list-style:none;
	width:300px;
	height: auto;
	margin: -82px 18px 0;
	position:relative;

	-moz-transition:0.4s all;
	-webkit-transition:0.4s all;
	transition:0.4s all;
}

#Project li.visible{
	display:inline-block;
}

#Project li a img{
	border:none;
}

#Project li img{
	margin: 100px 0px 10px 0px;
	display:block;
	width:auto;
	height:auto;
	max-width:100%;
	max-height:100%;
	position:relative;
	z-index:10;
}
