body {
	width: 100%;
	margin: 0;
	color: #333;
	/*background: #111;*/
	background-image: url('../img/bg.png');
	background-repeat: no-repeat;
	background-size: cover;
	transition: margin-left .5s;
	overflow-y: hidden;
	height: auto;
	position: relative;
}
canvas {
	position:absolute;
	top:0;
	z-index: -1002;
	width: 100%;
	height: 100%;
	/*background: -webkit-linear-gradient(#00111e 30%, #033d5e);
    background: -moz-linear-gradient(#00111e 30%, #033d5e);
    background: -o-linear-gradient(#00111e 30%, #033d5e);
    background: linear-gradient(#00111e 30%, #033d5e);*/
}
#main {
	transition: margin-left .5s;
}
.main {
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}
.flex-col {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	align-items: center;
}
.flex-col > h2 {
	margin: 0 !important;
}
.pad-o {
	padding: 0 !important;
}
.custom-hov {
	background: #333 !important;
}
.custom-link {
	cursor: pointer;
	width: 100%;
	height: 250px;
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}
.bar-comp {
	background-color: rgba(0, 0, 0, 0.75);
	width: 100%;
	margin: 0 !important;
	display: flex;
	align-items: center;
}
.bar-comp h4 {
	text-transform: uppercase;
	padding: 1em;
	color: #fff;
	margin: 0;
	font-size: 0.8em;
}
.custom-link .img_projet {
	display: block;
	margin-right: auto;
	margin-left: auto;
	margin-top: 3rem;
	margin-bottom: 3rem;
	/*box-shadow: 1px 1px 5px #333;*/
}
.nav-flex {
	padding-left: 4em;
}
.head-nav {
	display: flex;
	justify-content: space-between;
}
.me > h1 {
	font-size: 17px;
	margin-bottom: 5px;
	margin-top: 10px;
	text-transform: uppercase;
	font-weight: bold;
}
.me > h2 {
	margin: 0px;
	text-transform: uppercase;
	font-size: 13px;
}
.content {
	color: #fff;
}
.description {
	padding: 5em 5em 0 5em;
}
.title {
	color: #fff;
	font-size: 3.5em;
	text-align: center;
}
.info {
	font-size: 1.6em;
	text-align: center;
}
.img_projet {
	width: 150px;
	height: 150px;
	border-radius: 50%;
}
.core {
	width: 100%;
	display: flex;
	justify-content: center;
	flex-direction: column;
	margin-top: 4em;
	background-color: #fff;
	padding: 0;
	box-shadow: 0 -5px 5px -5px #222;
}
.core-home {
	background-color: #fff;
}
.core-game {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 4em;
	background-color: #fff;
	padding: 0;
	box-shadow: 0 -5px 5px -5px #222;
}

.logo {
	display: flex;
	justify-content: space-around;
	flex-direction: column;
	align-items: center;
	width: 10%;
}
.logo img {
	width: 75%
}
video { 
	position: fixed;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -100;
	transform: translateX(-50%) translateY(-50%);
	background: url('img/bg.png') no-repeat;
	background-size: cover;
	transition: 1s opacity;
	box-shadow: 0 -5px 5px -5px #333;
}
.stopfade { 
	opacity: .5;
}
.bloc-comp { 
	font-family: PT sans, sans-serif;
	font-weight:400; 
	padding: 2rem;
	width: 70%;
	margin:2rem;
	margin-right: auto;
	margin-left: auto;
	font-size: 1.8rem;
}
.bloc-comp p {
	color: #666;
	font-size: 0.9em;
	margin: 1rem 0 1rem 0;
}
.bloc-comp > h2 {
	padding: 0.5rem;
	font-size: 1.7em;
	margin-top: 0;
	margin-bottom: 45px;
}
.bloc-comp h3 {
	width: 30%;
	padding: 0.5rem;
	margin-top: 20px;
	margin-bottom: 25px;
	margin-left: auto;
	margin-right: auto;
}
.skill {
	display: flex;
	justify-content: space-around;
}
.bloc-text {
	width: 30% !important;
	margin: 2rem !important;
	padding: 2rem !important;
	flex-direction: column;
}
.bloc-text p {
	color: #666;
	margin: 1em 0 1em 0;
}
.bloc-text h2 {
	font-size: 1.5em;
}
.bot-zero {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}
.butt-info {
	justify-content: space-around !important;
}
.butt-info p a {
	color: #fff;
	font-weight: 600;
	font-size: 1em;
	font-family: lato, sans-serif;
	background-color: #27888b;
	border-color: #27888b !important;
	border: 3px solid;
	padding: 0.4em 1.5em 0.4em 1.5em;
	border-radius: 0.2em;
	text-decoration: none;
	transition: all 0.5s;
}
.butt-info p a:hover {
	color: #27888b;
	background-color: #fff;
	border-color: #27888b;
	transition: all 0.5s;
}
.bloc {
	width: 100%;
	font-family: PT sans, sans-serif;
	font-weight:400;
	margin-top: 2rem;
	margin-bottom: 2rem;
	padding-top: 2rem;
	padding-bottom: 2rem;
	font-size: 1.8rem;
	height: 20%;
	display:flex;
	justify-content: center;
}
.row {
	width: 100%;
}
h1 {
	font-size: 3rem;
	text-transform: uppercase;
	margin-top: 0;
	letter-spacing: .3rem;
}
.flex-col h2 {
	padding: 0.5rem;
	font-size: 1.7em;
	margin-top: 0;
	margin-bottom: 45px;
}
.but {
	display: flex;
	justify-content: flex-end;
}
.but-link a i {
	padding: 0.25em;
}
.but-link a span {
	padding: 0.25em;
}
.but-link a {
	display: block;
	box-shadow: 0 0 5px #999;
	padding: .4rem;
	border: none; 
	margin: 3rem 1rem 1rem 1rem;
	font-size: 1.5rem;
	background: #111;
	color: #fff;
	border-radius: 5px; 
	cursor: pointer;
	transition: .3s background;
}
.but-link a:hover {
	background: rgba(0,0,0,0.8);
	color: #27888b;
	text-decoration: none;
}
.but-link a:hover i {
	color: #27888b;
}
.but-link a:hover span {
	color: #27888b;
}
.but button { 
	display: block;
	box-shadow: 1px 1px 2px #333;
	padding: .4rem;
	border: none; 
	margin: 1rem; 
	font-size: 1.7rem;
	background: rgba(255,255,255,0.23);
	color: #fff;
	border-radius: 3px; 
	cursor: pointer;
	transition: .3s background;
}
.but button:hover { 
	background: rgba(0,0,0,0.5);
}

a {
	display: inline-block;
	color: #fff;
	text-decoration: none;
	/*background:rgba(0,0,0,0.5);*/
	/*padding: .5rem;*/
	padding: 0 .5rem 0 .5rem;
	transition: .6s background; 
}
a:hover{
	/*background:rgba(0,0,0,0.9);*/
}
/*@media screen and (max-width: 500px) { 
 	div{width:70%;} 
}
@media screen and (max-device-width: 800px) {
	html { background: url(img/bg.png) #000 no-repeat center center fixed; }
	#bgvid { display: none; }
}
*/.about {
	line-height: 200%;
	display: flex;
	justify-content: space-around;
	align-items: center;
	margin: 1em 0em 1em 0;
}
.first {
	color: #fff;
	width: 33%;
	padding: 0.2rem;
	margin: 0.2rem;
}
.firstme {
	padding: 0 5rem 0 5rem;
	margin:0 5rem 0 5rem;
}
.soc li {
	list-style: none;
	display: flex;
}
.soc li a .fa {
	display: inline-block;
	vertical-align: top;
	margin: 0 auto;
	padding-right: .25em;
	font-size: 2em;
	text-align: center;
}
.soc li a .fa:hover {
	color: #27888b !important;
}
.soc li a:hover {
	color: #27888b !important;
	text-decoration: none;
}
.soc li a:focus {
	color: #27888b !important;
}
.navi li {
	list-style: none;
}
.navi li a {
	text-decoration: none;
	transition: .6s background; 
	padding: 0;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 0.9em;
}
.navi li a:hover {
	color: #27888b !important;
}
.navi li a:focus {
	color: #27888b !important;
}
.navi p {
	color: #ccc;
	margin: 0 0 2px;
}
footer {
	position: relative;
    bottom: 0;
    display: inline-block;
    width: 100%;
	background-color: transparent;
	/*box-shadow: 0 -5px 5px -5px #000;*/
}
footer > p {
	margin: 0;
	text-align: center;
	background-color: #111;
	color: #fff;
	padding: 1em;
	/*box-shadow: 0 -2px 2px -3px #fff;*/
	margin-top: 1em;
}
footer img {
	width: 1em;
}

/* Icon hamb */

#nav-icon1 {
	width: 35px;
	height: 25px;
	position: relative;
	margin-top: 10px;
	margin-bottom: 10px;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	cursor: pointer;
}
#nav-icon1:hover span{
	background-color: #27888b;
}

#nav-icon1 span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}
.menu-burger {
	display: flex;
	justify-content: space-around;
	width: 10em;
}
.menu-burger h4 {
	font-size: 1.4em;
	margin-top: 11px;
	text-transform: uppercase;
}
#nav-icon1 span:nth-child(1) {
  top: 0px;
}

#nav-icon1 span:nth-child(2) {
  top: 10px;
}

#nav-icon1 span:nth-child(3) {
  top: 20px;
}
#nav-icon1.open span:nth-child(1) {
  top: 10px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon1.open span:nth-child(3) {
  top: 10px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

/*** parallax multi layer ***/
#hero {
	position: relative;
}
.layer-1 {
	width: 20px;
	z-index: -1;
	top: 5vh;
	position: absolute;
	left: 15vw;
	margin-left: 0;
}
.layer-1 img {
	opacity: 0.2;
	filter: grayscale(100%);
}
.layer-2 {
	z-index: -1;
	top: 20vh;
	position: absolute;
	left: 20vw;
	margin-left: 5px;
}
.layer-2 img {
	width: 60%;
	opacity: 0.2;
	filter: grayscale(100%);
}
.layer-3 {
	z-index: -1;
	top: 13vh;
	position: absolute;
	left: 40vw;
	margin-left: 10px;
}
.layer-3 img {
	width: 65%;
	opacity: 0.2;
	filter: grayscale(100%);
}
.layer-4 {
	z-index: 1;
	top: 5vh;
	position: absolute;
	left: 45vw;
	margin-left: 15px;
}
.layer-4 img {
	width: 75%;
	opacity: 0.3;
	filter: grayscale(100%);
}
.layer-5 {
	z-index: -1;
	top: 20vh;
	position: absolute;
	left: 60vw;
	margin-left: 15px;
}
.layer-5 img {
	opacity: 0.2;
	filter: grayscale(100%);
}

.text-folio{
	margin-top: 3em;
	margin-bottom: 0;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.5em;
	white-space: nowrap;
	overflow: hidden;
	width: 35em;
	font-style: italic;
	font-family: serif;
	animation: type 4s steps(60, end);
}

/*.text-folio:nth-child(2){
  animation: type2 8s steps(60, end);
}*/

.text-folio a{
  text-decoration: none;
}

.text-folio span{
  animation: blink 1s infinite;
}

@keyframes type{ 
  from { width: 0; } 
} 

/*@keyframes type2{
  0%{width: 0;}
  50%{width: 0;}
  100%{ width: 100; } 
} */

@keyframes blink{
  to{opacity: .0;}
}

.content-info {
	font-family: sans-serif;
	font-weight: 100;
	padding: 2rem;
	margin: 2rem;
	font-size: 1.8rem;
}
.content-inf {
	display: flex;
	justify-content: space-around;
	flex-direction: column;
	align-items: center;
}
.content-inf h3 {
	font-size: 2rem;
}
.content-inf img {
	width: 50%;
	margin-top: 2em;
	margin-bottom: 2em;
}
.about-jeux {
	font-size: 1.5rem;
}
.content-jeux {
	font-family: sans-serif;
	font-weight: 100;
	padding: 2rem;
	margin: 2rem;
	margin-right: auto;
	margin-left: auto;
	font-size: 1.8rem;
	width: 78%;
}
.jeux {
	margin: 2em;
}
.jeux html body {
	margin-top: 0;
}


/** media queries **/

/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
	.me > h1 {
	    font-size: 10px;
	    margin-bottom: 5px;
	    margin-top: 10px;
	    text-transform: uppercase;
	    font-weight: bold;
	}
	.me > h2 {
	    margin: 0px;
	    text-transform: uppercase;
	    font-size: 9px;
	}
	.nav-flex {
	    padding-left: 2em;
	}
	#nav-icon1 {
    	width: 15px;
	}
	#nav-icon1 span {
		height: 2px;
		border-radius: 6px;
	}
	#nav-icon1 span:nth-child(2) {
    	top: 5px;
	}
	#nav-icon1 span:nth-child(3) {
    	top: 10px;
	}
}

/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px) {
/* Styles */
}