/* ------------------------ */
/* General					*/
/* ------------------------ */
@font-face
{
	font-family: "Amaranth";
	src: url("../../fonts/Amaranth-Regular.otf");
	font-weight: normal;
	font-style: normal;
}
html {
	overflow-x: hidden;
}
body {
	background-image: url(../../../images/games/peekAMouse/background.jpg);
	background-color: #E3DDBD;
	color: #730b06;
	font-family: Amaranth, Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	position: relative;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	width: 100%;
}
main {
	min-height: 90vh;
	position: relative;
}
header {
    position: relative;
    z-index: 10;
}

/* ------------------------ */
/* Header					*/
/* ------------------------ */
h1 {
	margin: 0;
	font-size: 3em;
	text-align: center;
}
header {
	display: flex;
	flex-direction: column;
	transition: all 0.3s;
}
#logo-maison-des-souris-header {
	letter-spacing: 4px;
	position: relative;
    z-index: 1;
    color: white;
}
#btn_menu {
	width: 2cm;
	height: 2cm;
	background-color: black;
	position: absolute;
	top: 20px;
	right: 0;
	z-index: 2;
	cursor: pointer;
	transition: all 0.3s;
}
#menu_princ ul {
	display: flex;
	flex-direction: row ;
	align-items: center;
	justify-content : space-around;
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
}
#menu_princ ul li
{
	width: 14%;
}
#menu_princ #seperateur_menu {
	width: 0;
}
.elmt_menu
{
	text-decoration: none;
	font-size: 1.5em;
	position: relative;
	color: black;
	cursor: pointer;
	transition: all 0.1s;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.elmt_menu .icon_menu
{
	width: 80px;
}
.content_menu {
	position: relative;
	background-color: #312853;
	padding: 3px;
}
#btn_langue {
	width: 50px;
	height: 50px;
	position: absolute;
	cursor: pointer;
	transition: all 0.3s;
	z-index: 6;
	bottom: -70px;
	right: 0px;
	background-color: rgba(255,255,255,0.7);
	padding: 10px;
	border-top-left-radius: 30px;
}
#choix_langue {
	position: absolute;
	top: 179px;
	right: 0px;
	z-index: 5;
	-webkit-transition: 0.3s all;
	-o-transition: 0.3s all;
	transition: 0.3s all;
	overflow: hidden;
	display: none;
	width: 50px;
	background-color: rgba(196, 188, 175, 0.7);
	padding: 10px;
	border-bottom-left-radius: 30px;
}
.drapeau_btn_langue {
	position: absolute;
	width:  92%;
	height: 92%;
	top: 4%;
	left: 4%;
}
.drapeau_carre_langue {
	width: 100%;
}
.libelle_langue, .drapeau_cube_langue {
	display: none;
}
.lien_langue {
	cursor: pointer;
	padding: 5px;
	display: block;
}
#menu_princ #title_header {
	width: 20%;
}
#btn_mobile_bars_menu {
	background-image: url("../../../images/games/peekAMouse/brique_menu2.png");
    justify-content: center;
    align-items: center;
    margin: auto;
    background-size: 100% 100%;
    padding: 12px 15px;
	color: #ecebe6;
	font-size: 2em;
	display: none;
	cursor: pointer;
}
@media only screen and (max-width: 600px) {
	h1
	{
		position: relative;
		top: 40px;
	}
}
@media only screen and (max-width: 750px) {
	#menu_princ ul, #menu_mobile ul {
		background-image: url("../../../images/games/peekAMouse/sol.jpg");
		background-size: 100%;
		background-position: 50%;
		flex-wrap: wrap;
	}
	#menu_princ #title_header {
		display: none;
	}
	#menu_princ #seperateur_menu {
		width: 100%;
		height: 0;
		overflow: hidden;
	}
	#btn_mobile_bars_menu {
		display: flex;
	}
	header {
		margin-top: -220px;
	}
}

/* ------------------------ */
/* Home					*/
/* ------------------------ */
#homepage {
    position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
#logo-maison-des-souris-home {
	max-width: 75%;
	width: 950px;
	font-family: built-titling-bd;
	letter-spacing: 4px;
	position: absolute;
    z-index: 1;
	color: white;
	left: 50%;
	top: 40%;
	transform: translate(-50%, -50%);
}
h3 {
	background-image: url("../../../images/games/peekAMouse/title_background.png");
	padding: 15px 50px;
	background-size: 100% 100%;
	display: inline-block;
	margin: 0px 0 0px 2%;
}
#video_home {
	text-align: center;
	margin-top: 10px;
	position: absolute;
	top: 78%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 444px;
    height: 250px;
}
#video_home > * {
	max-width: 100%;
	border: 0;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
	max-height: 100%;
}
@media (min-aspect-ratio: 16/9) {
  #homepage {
	width: 100%;
	height: auto; /* En pratique : supérieur à la hauteur du viewport */
  }
  #body {
	background-size: 100% auto;
  }
}
@media (max-aspect-ratio: 16/9) {
  #homepage {
	width: auto; /* En pratique : supérieur à la largeur du viewport */
	height: 100%;
  }
  #body {
	background-size: auto 100% ;
  }
}

/* ------------------------ */
/* Page 					*/
/* ------------------------ */
.title_section {
	background-image: url("../../../images/games/peekAMouse/title_background.png");
	padding: 15px 50px;
	background-size: 100% 100%;
	display: inline-block;
	margin: 10px 0 10px 10%;
}
#content-page {
	position: relative;
	z-index: 2;
	width: 2000px;
	max-width: 70%;
	margin: auto;
	padding: 10px 20px;
	font-size: calc( 1em + 0.1vw );
	text-align: justify;
}
#video {
	text-align: center;
	margin-top: 10px;
	width: 100%!important;
	min-height: 31vw;
}
#video > * {
	max-width: 100%;
	border: 0;
	width: 55.1vw;
	height: 31vw;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}
#brique-maison-1 {
	position: absolute;
	left: 2%;
	top: 30%;
	width: 12%;
}
#brique-maison-2 {
	position: absolute;
	right: 0;
	top: 5%;
	width: 15%;
}
#fleur-maison-1 {
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 15%;
}
#fleur-maison-2 {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 15%;
}
figure {    
    display: flex;
    flex-flow: column;
    padding: 20px;
    width: 250px;
    background-color: rgba(255,255,255,0.4);
    border-radius: 20px;
	max-width: calc(100% - 40px);
	margin: 5px 10px 5px 10px;
	align-items: center;
}
figure img {
	max-width: 100%;
	border: solid white 5px;
	border-radius: 10px;
	margin-left: -5px;
	margin-bottom: 10px;
	max-height: 300px;
}
.horizontal-figure  {
    width: 600px;
}
.horizontal-figure div  {
	display: flex;
	flex-flow: row;
	align-items: center;
}
.horizontal-figure .lightbox {
	margin: 0 8px;
}
figcaption {
	font-family: Amaranth, Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
    color: #9a7826;
    text-align: center;
}
@media only screen and (max-width: 1000px) {
	#content-page {
		max-width: 80%;
	}
	#fleur-maison-2 {
		right: -5%;
	}
	#fleur-maison-1 {
		left: -5%;
	}
	#video > * {
		width: 80vw;
		height: 45vw;
	}
}
@media only screen and (max-width: 700px) {
	figure {
		float: none!important;
		margin: auto;
	}
	#content-page {
		max-width: 95%;
		padding: 10px 0;
	}
	#fleur-maison-2 {
		right: -8%;
	}
	#fleur-maison-1 {
		left: -9%;
	}
	
	.horizontal-figure-mobile  {
		width: 400px;
	}
	.horizontal-figure-mobile div  {
		display: flex;
		flex-flow: row;
		align-items: center;
	}
	.horizontal-figure-mobile .lightbox {
		margin: 0 8px;
	}
}

/* ------------------------ */
/* Footer					*/
/* ------------------------ */
footer 
{
	background-image: url("../../../images/games/peekAMouse/sol.jpg");
	background-size: 100%;
	position: relative;
	z-index: 2;
	margin: 0 auto;
	color: black;
	width: 100%;
}
footer:before
{
	content: '';
	background-image: url("../../../images/games/peekAMouse/planche.jpg");
	background-size: 100% 100%;
	z-index: 2;
	margin: 0 auto;
	color: black;
	width: 100%;
	height: 1.5vw;
	position: absolute;
	left: 0;
	top: 0;
}
.conteneur_cols
{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: distribute;
	    justify-content: space-around;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}
.titre_col_footer
{
	font-size: 1.1em;
	margin: 12px 0;
}
footer a
{
	font-family: 'edo';
	color: black;
	font-size: 1.2em;
	text-decoration: none;
}
footer a:hover
{
	color: #730b06;
} 
.mentionslegales {
	text-align: center;
	padding: 20px 0 5px 0;
	color: white;
}
.footer_col 
{
	margin: 20px 0;
	min-width: 209px;
}
#footer_sites, #footer_reseaux, #footer_adresse
{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
}
footer p, footer a {
	margin: 2px 0;
}
.reseaux_footer {
	width: 70px;
}
.reseaux_footer:hover {
	-webkit-box-shadow: 0px 0px 5px white;
	        box-shadow: 0px 0px 5px white;
}
#bouton_point_vente {
	color: white;
	background-color: #adb614;
	border: none;
	margin: 20px 0 0 0;
	padding: 20px 10px;
	font-size: 1.1em;
	cursor: pointer;
	display: block;
}
#bouton_point_vente:hover {
	background-color: #909810;
}
#auteur, #illustrateur {
	font-size: calc(1em + 0.2vw);
	font-weight: bold;
	text-align: center;
	position: relative;
}
#auteur {
	padding-top: 2vw;
}
