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

*{
	margin:0;
	padding:0;
}

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

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

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

a, a:visited {
	outline:none;
	color:#1c4f64;
	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:30px;
	position:relative;
}

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

header h2{
	font: normal 28px 'Rochester', cursive;
	text-align:center;
	padding:5px;
	background-color:#3a3a3b;
	box-shadow:0 1px 2px #888;
	border:1px solid #333;
	position:absolute;
	top:0;
	left:50%;
	width:160px;
	margin-left:-80px;
	color:#fff;
}

header h1{
	text-align:center;
	font: normal 56px 'Bree Serif', sans-serif;
	color:#494949;
	padding:60px 0 40px;
	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: 3;

  -webkit-touch-callout: none;
}


/* 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
{
	width: max-content;
  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
{
  padding: 10px 0;
  font-size: 22px;
}


  /* Defillement vers la droite */

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


.Flag {
	height: 22px;
	width: auto;
	vertical-align:top;
}

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


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

h3{
	font: normal 28px 'Rochester', cursive;
	text-align:center;
	color:#fff;
	margin-top:100px;
}

#Project{
	margin-top:200px;
	text-align:center;
	height:60px;
	background-color:#111;
	box-shadow:0 3px 5px #111;
	opacity:0;
	transition:0.4s opacity;
}

#Project.active{
	opacity:1;
}

#Project li{
	display:none;
	list-style:none;
	width:150px;
	height:150px;
	margin: -82px 18px 0;
	position:relative;
	transition:0.4s all;
}

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

#Project li a img{
	border:none;
}

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

#Project li:after{
	content:'';
	background:url('../Image/Support.png') no-repeat top center;
	background-size:contain;
	bottom: 4%;
  content: "";
  height: 50px;
  left: -6.5%;
  position: absolute;
  right: -6.5%;
  width: auto;
  z-index: 1;
}

#Project li:hover{
	height: 197px;
  margin-top: -152px;
  width: 222px;
}
