@charset UTF-8;

* { margin: 0; padding: 0; }

/* TYPO */
@font-face {
	font-family: "04b03";
	src: url(fonts/04b03.ttf);
}
@font-face {
	font-family: "Endless Boss Battle";
	font-weight: bold;
	src: url(fonts/Endless-Boss-Battle.ttf);
}
body {
	background-color:	black;
	color:	white;
	font-family: "04b03";
}
h1 {
	text-align:	center;
	font-family: "Endless Boss Battle";
}
a {
	text-decoration:	none;
	color:	white;
}
/* TYPO */

/* GRILLE */
.container {
	width:	960px;
	margin:	0 auto;
}
/* GRILLE */

body > header {
	height:		605px;
/*	background:	url(imgs/background_brainstormingSaga.gif) no-repeat #CC3439 top center*/
	background:
				url(imgs/logo-brainstorming-saga.png) no-repeat 50% 100px
			,	url(imgs/background_red-city.gif) no-repeat top center
			,	url(imgs/background_orange-city.gif) no-repeat top center
	;
	background-attachment: fixed, fixed, fixed;
	position: relative;
}
body > header h1 {
	display: none;
}
#clouds {
	background: url(imgs/background_clouds.gif) repeat-x #EF8349;
	background-attachment: fixed;
	-webkit-animation: clouds 200s linear infinite;
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	opacity: 1;
}
@-webkit-keyframes clouds {
	0%		{ background-position-x: 0px; }
	100%	{ background-position-x: 960px; }
}
#houses {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: auto;
}

body > nav {
	text-align:	center;
	padding-top: 30px !important;
}
body > nav a {
	display:	inline-block;
	padding:	9px 8px 0 47px;
	margin:		0 35px;
	background-repeat:		no-repeat;
	background-position:	left center;
	font-size:		31px;
	line-height:	31px;
	text-transform:	uppercase;
	font-family: "Endless Boss Battle";
}
#btn-jouer {
	padding-left: 57px;
	background-image: url(imgs/icone-jouer.gif);
}
#btn-telecharger {
	background-image: url(imgs/icone-telecharger.gif);
}
#btn-scores {
	background-image: url(imgs/icone-scores.gif);
}

main h1 {
	font-size:	60px;
	text-transform:	uppercase;
	margin-top:	160px;
	margin-bottom:	30px;
}

#play-game {
	text-align: center;
}
#play-game iframe {
	border: none;
	max-width: 720px;
	margin: 100px auto 0 auto;
}

#telecharger-le-jeu > h1 {
	margin-bottom:	100px;
}
#telecharger-le-jeu > a {
	display:		block;
	background:		url(imgs/logo-playstore-pix.gif) left top no-repeat;
	padding-left:	105px;
	width:			280px;
	margin:			0 auto;
}
#telecharger-le-jeu > a > h2 {
	color: #ffab66;
	text-transform: uppercase;
	font-weight: normal;
}
#telecharger-le-jeu > a > p:nth-child(2) {
	margin:		10px 0;
	font-size:	23px;
}

#scores table {
	border:		none;
	width:		560px;
	margin:		0 auto;
}
#scores table > thead {
	color:	#ffab66;
}
#scores table > thead th {
	text-align: left;
	font-weight: normal;
	font-size: 20px;
}
#scores table > thead th:nth-child(1) {
	width:	60px;
}
#scores table > thead th:nth-child(3) {
	width:	100px;
}
#scores table td {
	font-weight: bold;
	font-size: 30px;
	font-family: "Endless Boss Battle";
	height: 40px;
	line-height: 40px;
}

body > footer {
	text-align:	center;
	background: url(imgs/background_mur.gif) repeat-x top center #403734;
	margin-top: 150px;
	padding-top: 130px;
	padding-bottom: 100px;
}
body > footer > .container {
	width: 640px;
}
body > footer p {
	font-size: 24px;
	margin: 50px 0;
}

#tarteaucitronCloseAlert{
    display: none !important;
}



/* 2022-01-21 */
.page-interieure-main {
    max-width: 800px;
    margin: 0 auto;
}
.page-interieure-main h2 {
    margin-bottom: 1em;
    margin-top: 2em;
}
.page-interieure-main h3 {
    margin-bottom: 1em;
    margin-top: 2em;
}
.page-interieure-main p {
    margin-bottom: 1em;
}
.page-interieure-main ol,
.page-interieure-main ul {
    padding-left: 1.5em;
    margin-bottom: 1em;
}
/* 2022-01-21 */



@media screen and (max-width: 960px) {
	.container {
		width: 90%;
		padding: 0 5%;
	}
	body > header {
		width: 100% !important;
		padding: 0 !important;
		background-size: 60% auto, 100% auto, 100% auto;
	}
	#play-game iframe {
		border: none;
		width: 100%;
		margin: 100px auto 0 auto;
	}
	body > footer .container {
		width: 90%;
	}
	body > footer img {
		width: 100%;
		height: auto;
	}
    
    body > nav a {
        margin: 0 auto;
    }
}

@media screen and (max-width: 540px) {
	main h1 {
		font-size: 10vw;
	}
	#scores .table {
		overflow-x: auto;
	}
	#scores table {
		width: 130%;
	}
}

@media screen and (max-width: 400px) {
	#telecharger-le-jeu > a {
		width: 75%;
		padding-left: 25%;
		font-size: 3vw;
		background-size: 18% auto;
	}
	#telecharger-le-jeu img {
		width: 100%;
		max-width: 178px;
		height: auto;
	}
}
