/* CSS Document */
@font-face {
	font-family: 'JMH-Typewriter';
	src: url('../../fonts/JMH-Typewriter.otf');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Alice-Regular';
	src: url('../../fonts/Alice-Regular.ttf');
	font-weight: normal;
	font-style: normal;
}
body {
	background-color: #111111;
	background-image: url("/images/games/calaverasIncident/background.jpg");
	background-size: 100%;
	margin: 0;
	color: white;
	font-family: Alice-Regular;
	text-align: justify;
}
#homepage {
	position: relative;
	z-index: 1;
	overflow-x: hidden;
	overflow-y: hidden;
	min-height: calc( 100vh - 20px );
	display: flex;
	padding: 10px;
	flex-wrap: wrap;
}
h2 {
	font-size: 2em;
}
.main {
	min-height: calc( 100vh - 200px );
}
#page_mission , #page_musique, #page_agents, #page_auteur, #page_cibles {
	margin-left: 21vw; 
	margin-right: 1vw;
}
.txt_col_2 {
	column-count: 2;
}
@media only screen and (max-width: 600px) {
	.txt_col_2 {
		column-count: 1;
	}
}
@media only screen and (max-width: 920px) {
	#page_mission , #page_musique, #page_agents, #page_auteur, #page_cibles {
		margin-left: 1vw; 
	}
}


/* ---------------------------- */
/* Header						*/
/* ---------------------------- */
#menu_principal {
	position: relative;
	background-color: #111;
	display: flex;
	flex-wrap: wrap;
	z-index: 10;
	width: 100%;
}
.head_image {
	width: 14vw;
	height: 20vw;
	position: absolute;
	top: 10%;
	left: 5vw;
	border: solid #111 6px;
}
.head_page {
	width: 100%;
	height: 200px;
	max-height: 35vw;
	position: relative;
}
#head_page_auteur {
	background-size: 100%;
	background-position: 50% 59%;
}
#head_page_auteur { background-image: url("/images/games/calaverasIncident/bandeau_hotel-2000.jpg"); }
/* tablette en paysage, écran d'ordinateur de taille petite et moyenne */
@media (max-width: 1280px){
	#head_page_auteur { background-image: url("/images/games/calaverasIncident/bandeau_hotel-1280.jpg"); }
}
/* smartphone en paysage, tablette en portrait et petite tablette en paysage */
@media (max-width: 959px){
	#head_page_auteur { background-image: url("/images/games/calaverasIncident/bandeau_hotel-960.jpg"); }
}
/* smartphone en portrait */
@media (max-width: 479px){ 
	#head_page_auteur { background-image: url("/images/games/calaverasIncident/bandeau_hotel-480.jpg"); }
}
#head_image_auteur {
	background-image: url("/images/games/calaverasIncident/carte_hotel-300.jpg");
	background-size: 100%;
	background-position: 50% 50%;
}
#choix_langue {
	position: absolute;
	bottom: 0;
	right: 10px;
	transform: translateY(100%);
	background-color: #161616;
	display: none;
}
.drapeau_menu {
	height: 32px;
	width: 44px;
}
.elmt_menu_principal {
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	text-decoration: none;
	flex-grow: 1;
	text-align: center;
	height: 40px;
	font-family: JMH-Typewriter, "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", "monospace";
	font-size: 1.5em;
	cursor: pointer;
	padding: 0 5px;
}
.elmt_menu_principal:hover {
	background-color: #222;
}
.drapeau_carre_langue {
	height: 30px;
	width: 40px;
	padding: 2px 40px;
	cursor: pointer;
}
.drapeau_carre_langue:hover {
	background-color: #222222;
}
.libelle_langue, .drapeau_cube_langue {
	display: none;
}

@media (max-width: 450px){
	#menu_principal {
		flex-direction: column;
	}
}
@media only screen and (max-width: 920px) {
	.head_image {
		display: none;
	}
}

/* ---------------------------- */
/* Intro						*/
/* ---------------------------- */
#ecran_depart {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	filter: brightness(0%);
	background-image: linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0.3)), url("/images/games/calaverasIncident/background_USA.jpg");
	background-size: 150px;
	display: none;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	z-index: 1000;
	transition: all 1s;
}
#faux_connect_logo {
	margin-bottom: 20px;
}
#faux_barre_charg {
	width: 200px;
	height: 20px;
	display: none;
}
#texte_depart {
	font-family: JMH-Typewriter, "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", "monospace";
	color: black;
}

/* ---------------------------- */
/* Accueil						*/
/* ---------------------------- */
#accueil_case_regle {
	width: calc( 50vw - 20px);
	background-size: 100%;
	background-position: 50% 35%;
	overflow: hidden;
	-webkit-clip-path: polygon(0% 0%, 90% 0%, 98% 100%, 0% 95%);
			clip-path: polygon(0% 0%, 90% 0%, 98% 100%, 0% 95%);
}
#accueil_case_musique {
	width: calc( 55vw - 20px);
	background-size: 100%;
	background-position: 50% 30%;
	margin-left: -5vw;
	-webkit-clip-path: polygon(4% 0%, 100% 0%, 100% 100%, 11% 90%);
			clip-path: polygon(4% 0%, 100% 0%, 100% 100%, 11% 90%);
}
#accueil_case_agents {
	width: calc( 40vw - 20px );
	background-size: 100%;
	background-position: 50% 30%;
	-webkit-clip-path: polygon(0% 3%, 100% 8%, 94% 100%, 0% 100%);
			clip-path: polygon(0% 3%, 100% 8%, 94% 100%, 0% 100%);
}
#accueil_case_auteur {
	width: 20vw;
	background-size: 100%;
	background-position: 50% 50%;
	-webkit-clip-path: polygon(10% 8%, 100% 10%, 90% 100%, 0% 100%);
			clip-path: polygon(10% 8%, 100% 10%, 90% 100%, 0% 100%);
}
#accueil_case_cibles {
	width: calc( 40vw - 20px );
	background-size: 100%;
	background-position: 50% 40%;
	-webkit-clip-path: polygon(5% 2%, 100% 10%, 100% 100%, 0% 100%);
			clip-path: polygon(5% 2%, 100% 10%, 100% 100%, 0% 100%);
}
.image_accueil {
	height: calc(50vh - 10px);
	background-repeat: no-repeat;
	display: flex;
	position: relative;
	justify-content: center;
	transition: filter 0.3s;
}
.image_accueil:hover {
	filter: grayscale(100%);
}
#logo_accueil {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 30%
}
.nom_image_accueil {
	position: absolute;
	top: 70%;
	background-color: lightgoldenrodyellow;
	color: black;
	padding: 5px;
	font-family: JMH-Typewriter, Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", "monospace";
	text-align: center;
	font-size: 1.3em;
}
.sous_titre_accueil {
	font-size: 0.5em;
}
.accueil_case_cabine_tel { background-image: url("/images/games/calaverasIncident/carte_cabine_tel-1000.jpg"); }
.accueil_case_aeroport { background-image: url("/images/games/calaverasIncident/carte_aeroport-1000.jpg"); }
.accueil_case_carnaval { background-image: url("/images/games/calaverasIncident/carte_carnaval-1000.jpg"); }
.accueil_case_hotel { background-image: url("/images/games/calaverasIncident/carte_hotel-450.jpg"); }
.accueil_case_labo { background-image: url("/images/games/calaverasIncident/carte_laboratoire-1000.jpg"); }
/* tablette en paysage, écran d'ordinateur de taille petite et moyenne */
@media (max-width: 1280px){
	.accueil_case_cabine_tel { background-image: url("/images/games/calaverasIncident/carte_cabine_tel-700.jpg"); }
	.accueil_case_aeroport { background-image: url("/images/games/calaverasIncident/carte_aeroport-700.jpg"); }
	.accueil_case_carnaval { background-image: url("/images/games/calaverasIncident/carte_carnaval-700.jpg"); }
	.accueil_case_hotel { background-image: url("/images/games/calaverasIncident/carte_hotel-300.jpg"); }
	.accueil_case_labo { background-image: url("/images/games/calaverasIncident/carte_laboratoire-700.jpg"); }
}
/* smartphone en paysage, tablette en portrait et petite tablette en paysage */
@media (max-width: 959px){
	.accueil_case_cabine_tel { background-image: url("/images/games/calaverasIncident/carte_cabine_tel-450.jpg"); }
	.accueil_case_aeroport { background-image: url("/images/games/calaverasIncident/carte_aeroport-450.jpg"); }
	.accueil_case_carnaval { background-image: url("/images/games/calaverasIncident/carte_carnaval-450.jpg"); }
	.accueil_case_hotel { background-image: url("/images/games/calaverasIncident/carte_hotel-300.jpg"); }
	.accueil_case_labo { background-image: url("/images/games/calaverasIncident/carte_laboratoire-450.jpg"); }
}
/* smartphone en portrait */
@media (max-width: 479px){ 
	.accueil_case_cabine_tel { background-image: url("/images/games/calaverasIncident/carte_cabine_tel-300.jpg"); }
	.accueil_case_aeroport { background-image: url("/images/games/calaverasIncident/carte_aeroport-300.jpg"); }
	.accueil_case_carnaval { background-image: url("/images/games/calaverasIncident/carte_carnaval-300.jpg"); }
	.accueil_case_hotel { background-image: url("/images/games/calaverasIncident/carte_hotel-300.jpg"); }
	.accueil_case_labo { background-image: url("/images/games/calaverasIncident/carte_laboratoire-300.jpg"); }
}
@media (max-aspect-ratio: 65/40) {
  #accueil_case_auteur {
	background-size: auto 100%;
  }
}
@media (max-aspect-ratio: 38/40) {
  #accueil_case_cibles, #accueil_case_agents {
	background-size: auto 100%;
  }
}
@media (max-aspect-ratio: 27/40) {
  #accueil_case_musique {
	background-size: auto 100%;
  }
}
@media (max-aspect-ratio: 30/40) {
  #accueil_case_regle {
	background-size: auto 100%;
  }
}

/* ---------------------------- */
/* Règles						*/
/* ---------------------------- */
#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;
}
@media only screen and (max-width: 920px) {
	#video > *
	{
		width: 97vw;
		height: 54vw;
	}
	#video
	{
		min-height: 54vw;
	}
}
#head_page_mission {
	background-size: 100%;
	background-position: 50% 60%;
	transform: scaleX(-1);
}
#head_page_mission { background-image: url("/images/games/calaverasIncident/bandeau_laboratoire-2000.jpg"); }
/* tablette en paysage, écran d'ordinateur de taille petite et moyenne */
@media (max-width: 1280px){
	#head_page_mission { background-image: url("/images/games/calaverasIncident/bandeau_laboratoire-1280.jpg"); }
}
/* smartphone en paysage, tablette en portrait et petite tablette en paysage */
@media (max-width: 959px){
	#head_page_mission { background-image: url("/images/games/calaverasIncident/bandeau_laboratoire-960.jpg"); }
}
/* smartphone en portrait */
@media (max-width: 479px){ 
	#head_page_mission { background-image: url("/images/games/calaverasIncident/bandeau_laboratoire-480.jpg"); }
}
#head_image_mission {
	left: auto;
	right: 5vw;
	transform: scaleX(-1);
	background-image: url("/images/games/calaverasIncident/carte_laboratoire-300.jpg");
	background-size: 130%;
	background-position: 50% 50%;
}

/* ---------------------------- */
/* Personnages					*/
/* ---------------------------- */
#head_page_cibles {
	background-size: 100%;
	background-position: 50% 60%;
}
#head_page_cibles { background-image: url("/images/games/calaverasIncident/bandeau_aeroport-2000.jpg"); }
/* tablette en paysage, écran d'ordinateur de taille petite et moyenne */
@media (max-width: 1280px){
	#head_page_cibles { background-image: url("/images/games/calaverasIncident/bandeau_aeroport-1280.jpg"); }
}
/* smartphone en paysage, tablette en portrait et petite tablette en paysage */
@media (max-width: 959px){
	#head_page_cibles { background-image: url("/images/games/calaverasIncident/bandeau_aeroport-960.jpg"); }
}
/* smartphone en portrait */
@media (max-width: 479px){ 
	#head_page_cibles { background-image: url("/images/games/calaverasIncident/bandeau_aeroport-480.jpg"); }
}
#head_image_cibles {
	background-image: url("/images/games/calaverasIncident/carte_cabine_tel-300.jpg");
	background-size: 100%;
	background-position: 50% 50%;
}
#head_page_usa {
	background-image: url("/images/games/calaverasIncident/background_USA.jpg");
	background-size: 200px;
}
#head_page_fr {
	background-image: linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.4)),linear-gradient(rgba(0,156,217,0.8) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0) 60%, rgba(222,49,78,0.8) 100%), url("/images/games/calaverasIncident/background_FR.jpg");
	background-size: 70px;
}
#head_page_urss {
	background-image: url("/images/games/calaverasIncident/background_URSS.jpg");
	background-size: 180px;
}
#head_page_civil {
	background-image: url("/images/games/calaverasIncident/background_civil.jpg");
	background-size: auto 100%;
}
#photo_agent {
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
}
#identite_civil {
	font-size: 1.8em;
	position: absolute;
	top: 50%;
	left: 1%;
	transform: translate(0 , -50%);
	font-family: JMH-Typewriter, "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", "monospace";
	color: white;
}
#head_page_agents {
	background-size: 100%;
	background-position: 100% 20%;
}
#head_page_agents { background-image: url("/images/games/calaverasIncident/bandeau_aeroport-2000.jpg"); }
/* tablette en paysage, écran d'ordinateur de taille petite et moyenne */
@media (max-width: 1280px){
	#head_page_agents { background-image: url("/images/games/calaverasIncident/bandeau_hotel-1280.jpg"); }
}
/* smartphone en paysage, tablette en portrait et petite tablette en paysage */
@media (max-width: 959px){
	#head_page_agents { background-image: url("/images/games/calaverasIncident/bandeau_hotel-960.jpg"); }
}
/* smartphone en portrait */
@media (max-width: 479px){ 
	#head_page_agents { background-image: url("/images/games/calaverasIncident/bandeau_hotel-480.jpg"); }
}
.identite_agents {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 92%;
	background-color: rgba(50,50,50,0.8);
	transform: translateY(100%);
	transition: all 0.3s;
	padding: 2% 4%;
	font-size: 1.2em;
}
.agents {
	position: relative;
	display: flex;
	font-family: JMH-Typewriter, Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", "monospace";
	color: white;
	overflow: hidden;
	justify-content: center;
	margin: 10px;
	background-color: white;
	padding: 5px;
}
#list_agents {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}
.agents:hover .identite_agents {
	transform: translateY(0);
}
#head_image_agents {
	background-image: url("/images/games/calaverasIncident/carte_aeroport-300.jpg");
	background-size: 100%;
	background-position: 50% 50%;
}
#head_image_auteur {
	background-image: url("/images/games/calaverasIncident/carte_hotel-300.jpg");
	background-size: 100%;
	background-position: 50% 50%;
}
#equipier_agent {
	padding: 30px;
	font-size: 1.2em;
	border-top: solid white 1px;
	font-family: JMH-Typewriter, "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", "monospace";
}
#equipier_agent a {
	color: white;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
#histoire_agent {
	padding: 10px;
	font-size: 1.2em;
	text-shadow: 0 0 5px black
}
#identite_agent {
	font-size: 1.8em;
	position: absolute;
	top: 50%;
	left: 1%;
	transform: translate(0 , -50%);
	font-family: JMH-Typewriter, "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", "monospace";
	color: black;
}
#matricule_agent {
	font-size: 0.5em;
}
#logo_organisation {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: 80%;
}
#page_agent {
	padding: 10px;
	display: flex;
	flex-direction: column;
}
@media (max-width: 650px){
	#logo_organisation {
		display: none;
	}
}
@media (max-width: 800px){
	#page_agent {
		flex-direction: column;
	}
	#equipier_agent {
		border-top: solid white 1px;
		border-left: none;
	}
}
@media only screen and (max-width: 920px) {
	.identite_agents {
		transform: translateY(0);
	}
}

/* ---------------------------- */
/* Musique						*/
/* ---------------------------- */
#head_image_musique {
	background-image: url("/images/games/calaverasIncident/carte_carnaval-300.jpg");
	background-size: 100%;
	background-position: 50% 50%;
}
#head_page_musique {
	background-size: 100%;
	background-position: 50% 10%;
}
#head_page_musique { background-image: url("/images/games/calaverasIncident/bandeau_carnaval-2000.jpg"); }
/* tablette en paysage, écran d'ordinateur de taille petite et moyenne */
@media (max-width: 1280px){
	#head_page_musique { background-image: url("/images/games/calaverasIncident/bandeau_carnaval-1280.jpg"); }
}
/* smartphone en paysage, tablette en portrait et petite tablette en paysage */
@media (max-width: 959px){
	#head_page_musique { background-image: url("/images/games/calaverasIncident/bandeau_carnaval-960.jpg"); }
}
/* smartphone en portrait */
@media (max-width: 479px){ 
	#head_page_musique { background-image: url("/images/games/calaverasIncident/bandeau_carnaval-480.jpg"); }
}
#espace_musique {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column; 
	margin: 30px 0px;
	padding: 15px 0px;
	max-width: 100%;
	font-size: 3em;
	background-image: url("/images/games/calaverasIncident/plateau_calaveras.jpg");
	background-size: 100%;
	background-position: 50% 50%;
	border-radius: 50px;
	background-repeat: no-repeat;
}
#crane_musique {
	width: 230px;
	max-width: 100%;
	transform: rotate(-40deg);
	margin-bottom: 20px;
}
.animation_crane {
	animation-name: balancer_crane;
	animation-delay: 0s;
	animation-duration: 5s;
  	animation-direction: alternate;
	animation-iteration-count: infinite;
	animation-play-state: paused;
	animation-timing-function: ease-in-out;
}
@keyframes balancer_crane {
	from {
		transform: rotate(-40deg);
	}
	to {
		transform: rotate(10deg);
	}
}

/* ---------------------------- */
/* Footer						*/
/* ---------------------------- */
footer 
{
	width: 100%;
	color: white;
	background-color: rgba(15, 15, 15, 0.8);
	position: relative;
	z-index: 2
}
.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;
}
footer a
{
	font-weight: bold;
	color: white;
	text-decoration: none;
}
footer a:hover
{
	color: #ddd;
} 
.mentionslegales {
	text-align: center;
	padding: 5px 0 5px 0;
	color: white;
}
.footer_col 
{
	margin: 5px 0 10px 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: 1px 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: 15px 0 0 0;
	padding: 15px 10px;
	font-size: 1.1em;
	cursor: pointer;
	display: block; 
}
#bouton_point_vente:hover {
	background-color: #909810;
}


#mission_calaveras_img_auteur_1, #mission_calaveras_img_auteur_2 {
	float: right;
	margin: 10px;
}

#mission_calaveras_img_auteur_3 {
	float: left;
	margin: 10px;
	max-width: 50%;
}

#signature_auteur {
	text-align: right;
	font-size: 1.5em;
}

@media (max-width: 1200px){
	#mission_calaveras_img_auteur_2 {
		display: none;
	}
}
@media (max-width: 450px){
	#mission_calaveras_img_auteur_3, #mission_calaveras_img_auteur_1 {
		float: none;
		max-width: 100%;
		margin: auto;
		display: block;
	}
}

#langue_accueil {
	position: absolute;
	top: 0;
	right: 2vw;
	z-index: 10;
}

.bouton_langue_accueil {
	background-color: #111;
	display: block;
	padding: 5px 49px;
	cursor: pointer;
}
.bouton_langue_accueil:hover {
	background-color: #222;
}

#bouton_passer_intro {
	position: absolute;
	top: 2vw;
	right: 2vw;
	z-index: 20;
	background-image: linear-gradient(#99D66E, #67B233);
	border-radius: 5px;
	padding: 10px;
	cursor: pointer;
}
#bouton_passer_intro:hover {
	background-image: linear-gradient(#6BB934, #508B28);
}
#auteur, #illustrateur {
	text-align: center;
	font-size: 1.5em;
}
