@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Passion+One&display=swap');
/* Début Reset CSS */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* Fin Reset CSS */
.spacer{
    clear: both
}
.center{
    text-align: center;
}
.bold{
	font-weight: bold;
}
.souligne{
	text-decoration: underline;
}


html{
	background-image: url("images/background.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-color: #100620;
}
body{
	font-family: 'Nunito Sans', sans-serif;
    font-size: 1em;
	width: 1000px;
	margin: 0 auto;
}
/*--------*/
/* HEADER */
/*--------*/
header{
	width: 400px;
	margin: 10px auto;
	text-align: center;
}
header a{
	color: #fff;
	text-decoration: none;
    transition: color .2s ease-in-out;
}
header a:hover{
	color: #fc9429;
}
/* Fin Header */

/*-----------------*/
/* CONTENU Général */
/*-----------------*/
main{
	width: 1000px;
	margin: 0 auto;
}
article{
	background-color: rgba(255, 255, 255, 0.9);
	border: 5px solid rgba(255, 255, 255, 1);
    border-radius: 5px;
    padding: 10px;
    margin: 10px auto;
}
h1,h2,h3{
	font-size: 1.5em;
	font-weight: bold;
	margin:5px 0;
}
h1{
	background-color: #fff;
	padding: 5px;
	display: table;
    margin: 0 auto;
}
h2{
	font-size: 1.3em;
}
h3{
	font-size: 1.1em;
}
footer {
    position: relative;
    margin: 10px auto;
    text-align: center;
    line-height: 30px;
    color: #fff;
}
footer a{
    display: inline-block;
    color: #fff;
    font-weight: normal;
    text-decoration: underline;
    transition: color .2s ease-in-out;
}
footer a:hover{
    color:#fc9429
}
/* Fin CONTENU Général */

/*-------------*/
/* Zone membre */
/*-------------*/
#zone_membre{
	background-color: rgba(4, 146, 255, 0.5);
	border: 3px solid rgba(4, 146, 255, 0.8);
    border-radius: 5px;
	width: 300px;
	padding: 5px;
	margin: 10px auto;
}
#zone_membre .titre{
	text-align: center;
	font-size: 1.3em;
	color: #fff;
}
/* Fin Zone membre */

/*-------------------------------*/
/* Mise en page accueil planètes */
/*-------------------------------*/
.choix_planete {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "titre_planete description_planete"
    "image_planete description_planete"
    "image_planete avancement_planete"
    "image_planete lien_planete";
}
.titre_planete {
	grid-area: titre_planete;
	font-family: 'Balsamiq Sans', cursive;
	font-size: 1.7em;
	font-weight: bold;
	margin: 10px;
}
.lien_planete {
	grid-area: lien_planete;
	margin: 10px;
}
.lien_planete a{
	font-family: 'Balsamiq Sans', cursive;
	font-size: 1.4em;
	text-decoration: none;
	background-color: rgba(0, 0, 0, 0.4);
	border: 2px solid rgba(0, 0, 0, 0.8);
	border-radius: 5px;	
	color: #fff;
	padding: 10px;
	transition: color 0.5s ease-out, background-color 0.5s ease-out;
}
.lien_planete a:before{
	content:url(images/icones_messages/voyage.png);
	position:relative; 
	right:2px;
	top:10px;
 }
 .lien_planete a:hover{
 	color: #F3B63C;
	background-color: rgba(0, 0, 0, 0.8);
 }
.image_planete {grid-area: image_planete;}
.description_planete {grid-area: description_planete;}
.avancement_planete {
	grid-area: avancement_planete;
	border: 1px solid;
	border-radius:5px;	
	background-repeat: no-repeat;
    background-position: 10px center;
    background-image: url(images/icones_messages/progression.png);
    padding: 15px 10px 15px 50px;
    margin: 5px;
    line-height: 1.1em;
    text-align: justify;
    color: #9F6000;
    background-color: #FEEFB3;
}
.image_planete img{width: 200px;}
.titre_planete,.lien_planete,.description_planete,.avancement_planete{text-align: center;}
/* Fin mise en page accueil planètes */

/*----------------------*/
/* Barre de progression */
/*----------------------*/
.barre-de-progression {
	display: block;
	width: 300px;
	margin: 5px auto;
}
.barre-de-progression-fond {
	width: 100%;
	background-color: #e0e0e0;
	padding: 3px;
	border-radius: 20px;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, .2);
}
.barre-de-progression-barre {
	display: block;
	height: 18px;
	background-color: #083568;
	border-radius: 20px;
	transition: width 500ms ease-in-out;
}
/* Fin Barre de progression */

/*----------------------*/
/* Mise en page univers */
/*----------------------*/
.univers {
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-rows: auto auto auto;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "image_univers titre_univers"
    "informations_univers informations_univers"
    "lancement lancement";
}
.image_univers {grid-area: image_univers;}
.image_univers img{
	width: 80px;
}
.titre_univers {
	grid-area: titre_univers;
	font-family: 'Balsamiq Sans', cursive;
	font-size: 1.7em;
	display: flex;
    height: 80px; 
    margin: auto; 
    padding: 5px;
}
.titre_univers span{
	margin: auto;
    text-align: center; 
	background-color: rgba(0, 0, 0, 0.4);
	border: 2px solid rgba(0, 0, 0, 0.8);
	border-radius: 5px;	
	color: #fff;
	padding: 10px;
}
.informations_univers { grid-area: informations_univers; }
.lancement { grid-area: lancement; }
/* Fin mise en page univers */

/*------------*/
/* Formulaire */
/*------------*/
form{
	text-align: center;
}
input{
	width: 200px;
	color: #000000;
	font-size: 1.1em;
	background-color: #fff;
	border-radius: 5px;
	border: 2px solid rgba(4, 146, 255, 0.8);
	margin: 5px;
}
.button_formulaire{
	width: 200px;
	color: #fff;
	font-size: 1.1em;
	cursor: pointer;
	background-color: #0342A7;
	border-radius: 5px;
	border: 2px solid rgba(4, 146, 255, 0.8);
	margin: 5px;
    transition: background-color .2s ease-in-out, border .2s ease-in-out;
}
.button_formulaire:hover{
	background-color: #fc9429;
	border: 2px solid #fc9429;
}
article input{
	display: inline-block;
	margin-bottom: 10px;
}
article label{
	display: block;
}
/* Fin formulaire */

/*-------------------*/
/* Boîtes de message */
/*-------------------*/
.info, .succes, .alerte, .erreur, .victoire, .defaite, .mission{
	border: 1px solid;
	border-radius: 5px;	
	background-repeat: no-repeat;
    background-position: 10px center;
    margin: 5px;
    padding: 15px 10px 15px 50px;
    line-height: 1.1em;
    text-align: justify;
}
.info {
    color: #00529B;
    background-color: rgba(189, 229, 248, 0.9);
    background-image: url(images/icones_messages/info.png);
}
.succes {
    color: #4F8A10;
    background-color: #DFF2BF;
    background-image: url(images/icones_messages/succes.png);
}
.alerte {
    color: #9F6000;
    background-color: #FEEFB3;
    background-image: url(images/icones_messages/warning.png);
}
.erreur {
    color: #D8000C;
    background-color: #FFBABA;
    background-image: url(images/icones_messages/erreur.png);
}
.victoire {
    color: #4F8A10;
    background-color: #DFF2BF;
    background-image: url(images/icones_messages/victoire.png);
}
.defaite {
    color: #D8000C;
    background-color: #FFBABA;
    background-image: url(images/icones_messages/defaite.png);
}
.mission {
    color: #531866;
    background-color: rgba(192, 147, 206, 0.9);
    background-image: url(images/icones_messages/mission.png);
}

/* Fin Boîtes de message */

/*------------*/
/* RESPONSIVE */
/*------------*/
@media screen and (max-width:1010px) { 
    main, body {width: 94%}
}
@media screen and (max-width:800px) { 
	.choix_planete {
	    grid-template-areas:
	    "image_planete titre_planete"
	    "description_planete description_planete"
	    "avancement_planete avancement_planete"
	    "lien_planete lien_planete";
		grid-template-columns: 80px 1fr;
	}
	.titre_planete{
		font-size: 1.7em;
		line-height: 60px;
		vertical-align: middle;
	}
	.image_planete img{width: 80px;}
	.barre-de-progression {width: 150px;}
	.barre-de-progression-barre {height: 14px;}
}
/* Fin RESPONSIVE */
