
/* Base layout */


body, html {
  margin: 0;
  padding: 0;
  font-family: 'Bai Jamjuree';
  
}

html { height: 100%; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  color: #FFFFFF;
  letter-spacing: 0.17px;
  line-height: 50px;
  min-height: 100%;
  background-image: url(../images/bgcartoon8.jpg);
  background-repeat: no-repeat;
  background-position: center top;
}

.logo {
	position: absolute;
	top: 0px;
	left: 0px;
	cursor: pointer;
}

.logo:hover {
	width: 12%;
}

/* MENU */

.hamburger-menu-wrapper {
  margin-top: 40px;
  background: #323232;
  padding: 10px;
  display: inline-block;
}

.hamburger-menu-wrapper.bounce-effect { animation: bounce 0.3s ease 1; }

.menu-overlay {
  transition: margin 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1111;
}

.menu {
  position: relative;
  min-width: 220px;
  text-align: center;
}

.hamburger-menu {
  border: 0;
  margin: 0 auto;
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0;
  width: 36px;
  height: 36px;
  font-size: 0;
  text-indent: -9999px;
  cursor: pointer;
  z-index: 9999;
  cursor: pointer;
  background: transparent;
}

.menu-list {
  display: none;
  position: absolute;
  top: calc(100% + 40px);
  width: 100%;
  text-align: center;
  z-index: 9999;
}

.menu-list a {
  color: #C6D2D6;
  text-decoration: none;
  font-size: 18px;
  display: inline-block;
  margin: 15px 0;
  transition: all 0.5s ease;
}

.menu-list a:hover { color: #02D5FD; }

.hamburger-menu:focus { outline: none; }

.hamburger-menu span {
  display: block;
  position: absolute;
  top: 17px;
  left: 5px;
  right: 5px;
  height: 2px;
  background: #02D5FD;
}

.hamburger-menu span:before, .hamburger-menu span:after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #02D5FD;
  content: "";
}

.hamburger-menu span:before { top: -7px; }

.hamburger-menu span:after { bottom: -7px; }

.hamburger-menu span:before, .hamburger-menu span:after {
  transition-duration: 0.3s, 0.3s;
  transition-delay: 0.3s, 0s;
}

.hamburger-menu span:before { transition-property: top, transform; }

.hamburger-menu span::after { transition-property: bottom, transform; }

.hamburger-menu.active span { background: none; }

.hamburger-menu.active span:before {
  top: 0;
  transform: rotate(225deg);
}

.hamburger-menu.active span:after {
  bottom: 0;
  transform: rotate(135deg);
}

.hamburger-menu.active span:before, .hamburger-menu.active span:after { transition-delay: 0s, 0.3s; }
 @keyframes 
bounce {  0% {
 transform: rotate(0);
}
 45% {
 transform: rotate(15deg);
}
 90% {
 transform: rotate(-7deg);
}
 100% {
 transform: rotate(0);
}
}


#floatingAstronaute{  
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    margin-left: 30px;
    margin-top: 0;
	
	
}

@media screen and (max-width: 400px) {
	#floatingAstronaute {
		width: 80%!important;
		
	}
	
	.footer {
		width: 100%;
		position: fixed;
		height: 100%;
		clear: both;
		
		
		
		
	}
	h1 {
		font-size: 40px!important;
	}
	
	div#main-content {
	display: none;
	}
	
}


@media only screen and (max-width: 1024px) and (min-width: 768px)  {
	#main-content {
		height: 100%;
		
	}
}

@media only screen and (max-width: 600px) {
	#floatingAstronaute {
		width: 50%;
	}
	
	.footer {
		width: 100%;
		
	}
	h1 {
		font-size: 40px;
	}
}

@media only screen and (min-width: 500px) {
	h1 {
		font-size:60px!important
	}
}

@media only screen and (min-width: 600px) {
	#floatingAstronaute {
		width: 40%;
	}
	
	.footer {
		width: 100%;
	}
	
	h1 {
		font-size: 100px!important;
		line-height: 80px!important;
	}

} 

@media only screen and (min-width: 768px) {
	#floatingAstronaute {
		width: 30%;
	}
	
	.footer {
		width: 100%;
	
	}
	.aPropos {
		font-size: 140%;
		
	}
} 


	




@keyframes floating {
    from { transform: translate(0,  0px); }
    65%  { transform: translate(0, 15px); }
    to   { transform: translate(0, -0px); }    
}

html, body {
height: 100%; /*fait en sorte que la page occupe tout l'espace*/
}

* {
margin: 0; /*les marges pourraient tout gâcher*/
}

#contenuprincipal {
height: 100%; /*pousse le pied de page vers le bas*/
}



div#main-content {
	display: none;
	
}

h1 {
	font-size: 100px;
}

/* code 2eme page*/

.bgimg-1, .bgimg-2, .bgimg-3 {
  position: relative;
  opacity: 0.65;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}
.bgimg-1 {
  background-image: url("../images/fondmenu.jpg");
  min-height: 100%;
}

.bgimg-2 {
  background-image: url("../images/bgstars.png");
  min-height: 400px;
}

.bgimg-3 {
  background-image: url("../images/fondmenu.jpg");
  min-height: 400px;
}

.caption {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  color: #000;
}

.caption span.border {
  background-color: #111;
  color: #fff;
  padding: 18px;
  font-size: 25px;
  letter-spacing: 10px;
}

h3 {
  letter-spacing: 5px;
  text-transform: uppercase;
  font: 20px "Lato", sans-serif;
  color: #111;
}

/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1024px) {
    .bgimg-1, .bgimg-2, .bgimg-3 {
        background-attachment: scroll;
    }
}


.footer {
	background-color: black;
	height: 50px;
	vertical-align:middle;
	line-height: 50px;
	text-align: center;
	font-size: 80%;
	
}

.content {
	
	height: 600px;
}
.about {
	max-width: 600px;
	margin: 0 auto;
	padding: 100px 0;
	transform-style: preserve-3d;
	transform: perspective(800px);
}

.about h2 {
	text-transform: uppercase;
	font-size:50px;
	font-weight: 400;
}

.about h2, .about p {
	transition: all 0.8s ease;
	
}
.about.hidden h2 {
	opacity: 1;
	transform: translate3d(0, 0, 400px) rotateY(-40deg);
}

.about.hidden p {
	opacity: 1;
	transform: translate3d(0, 0, 400px) rotateY(40deg);
}

.aPropos {
	line-height: 200%;
	margin: 10%;
}
#footer {
	background-color: black;
	height: 50px;
	vertical-align:middle;
	line-height: 50px;
	text-align: center;
	font-size: 80%;
}





