/*Global reset : le fichier normalize.css n'enlève pas le padding et le margin entre les div*/
* {
  margin: 0;
  padding: 0;
}

html,
body {
  /*Défilement ralenti */
  scroll-behavior: smooth;
  /*Enlever les barres de défilement */
  overflow-x: hidden;
  /*Pour + responsive 
   = 1 rem */
  font-size: 1vw;
  /* 7 pages-écrans x 100vh */
  min-height: 700vh;
}

/* Paramètres de base, toutes les balises sémantiques
 des pages-écrans */
body>header,
body>section,
body>footer {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
}

/*Classe principale pour le conteneur global
et la police pour le texte */
.principale {
  width: 80%;
  font-family: 'Architects Daughter', cursive;
  letter-spacing: 1.2px;
  color: #dabd4a;
  margin: 0 auto;
  padding-left: 50px;
}

img,
video {
  max-width: 100%;
  height: auto;
}

iframe {
  border: none;
}

/*Style pour les titres*/
h1,
h2,
h3,
h4,
h5,
h6,
table {
  font-family: 'Balsamiq Sans', cursive;
  margin: 0;
  padding-top: 8px;
}

h1 {
  text-align: center;
  font-size: 5.6rem;
  font-weight: 700;
}

h2 {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  padding-top: 18px;
}

/*Quand la page est moins chargé*/
.h2 {
  padding-top: 5vh;
}

h3 {
  font-size: 2.2rem;
  font-weight: 400;
  color: lavenderblush;
}

h4 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 400;
  color: lavenderblush;
  padding-bottom: 8px;
}

h5 {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 400;
  color: lavenderblush;
  padding-bottom: 8px;
}


p {
  font-size: 1.2rem;
  line-height: 1.4rem;
}

/*style de type figcaption mais pour P /
dans les articles (sans balise figure) */
.figcaption {
  font-size: 0.8rem;
  text-align: center;
  width: 60%;
  margin: 0 auto;
  padding: 5px;
  line-height: 1rem;
}

/*********************************************************************************
***LA NAVIGATION / MENU HAMBURGER*************************************************
*********************************************************************************/
#navigation {
  position: fixed;
  top: 1vh;
  left: 1vw;
  width: 44px;
  height: 44px;
  background-color: black;
}

#traits-burger {
  margin: 8px;
}

.trait {
  background-color: lavenderblush;
  width: 28px;
  height: 3px;
  margin-bottom: 6px;
}

/*Le checkbox */
#checkbox-menu {
  display: none;
  position: fixed;
  top: 18px;
  left: 9px;
}

#checkbox-menu:checked~#label-menu .trait:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  transition: transform 0.5s;
}

#checkbox-menu:checked~#label-menu .trait:nth-child(2) {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s;
}

#checkbox-menu:checked~#label-menu .trait:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  transition: transform 0.5s;
}

#checkbox-menu~#label-menu .trait {
  transition: transform 0.5s;
}

#checkbox-menu~#label-menu .trait:nth-child(2) {
  visibility: visible;
  opacity: 100;
  transition: visibility 0.5s, opacity 0.5s;
}

/*FIN checkbox */

/*MENU*/
#menu {
  display: none;
  position: fixed;
  top: 40px;
  margin: 22px;
}

#menu a {
  text-decoration: none;
  font-size: 1.1rem;
  font-family: 'Balsamiq Sans', cursive;
  color: rgba(0, 217, 255, 0.9);
  padding: 20px 0;
}

#menu a:hover {
  color: #dabd4a;
}

#menu a:active {
  color: lavenderblush;
}

/*Style du menu ouvert */
#checkbox-menu:checked~#menu {
  position: relative;
  top: 4px;
  left: -10px;
  min-width: 5.3vw;
  min-height: 40vh;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  align-items: flex-start;
  background-color: rgba(0, 162, 255, 0.1);
  box-shadow: 6px 6px 50px rgba(218, 189, 74, 0.4);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 0px 12px;
}


/*********************************************************************************
***LES SECTIONS*******************************************************************
*********************************************************************************/


/********Le header - Accueil******************************************************
*********************************************************************************/

#accueil {
  background-image: url("images/01_accueil/accueil.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

/*Conteneur du contenu - flexbox */
#accueil-flexbox {
  display: flex;
  flex-flow: row nowrap;
  padding-top: 30px;
}

#accueil-flexbox div:first-child {
  align-self: center;
  width: 15%;
  z-index: 3;
}

/*Conteneur de l'image de Petite Mimi */
#accueil-flexbox div:nth-child(2) {
  width: 45%;
  z-index: 1;
}

#accueil-flexbox div:nth-child(2) img {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/*Conteneur de l'image du logo kickstarter */
#accueil-flexbox div:nth-child(3) {
  align-self: flex-end;
  width: 15%;
  z-index: 2;
  cursor: pointer;
}

/*Conteneur du message quand hover logo kickstarter */
#accueil-flexbox div:nth-child(4) {
  align-self: flex-end;
  width: 0%;
}

/*Conteneur de l'image du satellite*/
#accueil-flexbox div:last-child {
  align-self: flex-start;
  width: 25%;
  z-index: 0;
}

#accueil-flexbox div:last-child img {
  max-width: 130%;
  height: auto;
}

/*Classes pour visibilité / invisibilité du msg kickstarter */
.kickstarter-msg {
  visibility: hidden;
}

.kickstarter-hover:hover+.kickstarter-msg {
  visibility: visible;
  position: absolute;
  bottom: 35vh;
  left: 60vw;
  min-width: 16vw;
  min-height: 16vh;
  background-color: rgba(0, 162, 255, 0.1);
  box-shadow: 6px 6px 50px rgba(218, 189, 74, 0.4);
  text-align: center;
  padding-top: 1.4rem;
  margin: 2vw 2vh;
  transition: visibility 0.5s;
}

.kickstarter-msg p {
  font-size: 1.6rem;
  line-height: 1.8rem;
}


/********Section Histoire********************************************************
*********************************************************************************/

#histoire {
  background-image: url("images/02_histoire/background-etoiles-satellites.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

#histoire p {
  padding: 10px;
}

/*Conteneur du contenu - flexbox */
#histoire-flexbox {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  align-items: flex-start;
  padding-top: 5vh;
}

#histoire-flexbox img {
  display: block;
  margin: 0 auto;
}

#histoire-flexbox article:first-child {
  width: 30%;
}

#histoire-flexbox article:nth-child(2) {
  width: 40%;
}

#histoire-flexbox article:last-child {
  width: 30%;
}

#histoire-flexbox article:last-child img {
  padding-top: 10px;
}


/******Section Gameplay - vidéos*************************************************
*********************************************************************************/

#gameplay {
  background-image: url("images/03_gameplay/etoiles-background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

/*Conteneur du contenu - flexbox */
#gameplay-flexbox {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-around;
  align-items: flex-start;
  width: 100%;
  padding-top: 1vh;
}

/*Conteneur et styles pour la liste */
#gameplay-flexbox-1 {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  align-items: flex-start;
  width: 100%;
  height: 50%;
}

/*styles pour la liste */
#gameplay-flexbox-1-liste {
  width: 35%;
}

#gameplay-flexbox-1-liste ul {
  list-style-image: url("images/03_gameplay/etoile.png");
  padding: 0 5px 0 80px;
}

#gameplay-flexbox-1-liste li {
  padding: 0 0 18px 20px;
  font-size: 1.2rem;
}

/*Conteneur de la video démo à venir */
#gameplay-flexbox-1-visuel {
  width: 60%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-end;
  padding-right: 50px;
}

#gameplay-flexbox-1-visuel img {
  max-width: 90%;
}

/*conteneur du texte présentant les vidéos*/
#gameplay-flexbox-2 {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  width: 80%;
  height: 8%;
  padding-top: 15px;
  text-align: center;
  margin: 0 auto;
}

/*conteneur contenant les vidéos - iframe */
#gameplay-flexbox-3 {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  align-items: center;
  padding-top: 15px;
  height: 42%;
}


/*****Section Calendrier - tableau************************************************
*********************************************************************************/

#calendrier {
  background-image: url("images/04_calendrier/satellites-background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: multiply;
  background-color: gray;
}

/*Style pour le tableau - Calendrier */
.tableau table {
  margin: 0 auto;
  margin-bottom: 3.8rem;
  width: 90%;
  padding: 1.4rem;
  border-collapse: collapse;
  border-bottom: 0.5rem solid blue;
}

.tableau tbody,
tfoot {
  background-color: rgba(100, 162, 255, 0.3);
}

.tableau th {
  height: 2.2rem;
  font-size: 1.6rem;
  font-weight: bold;
  color: black;
  background-color: rgba(0, 162, 255, 0.5);
  padding: 1rem;
  text-align: center;
  border-bottom: 0.2rem dotted lavenderblush;
}

.tableau td {
  text-align: center;
  color: black;
  padding: 0.6rem;
  border: none;
  height: 2.2rem;
  font-size: 1.2rem;

}

/*On change l'image de fond pour la cellule survolée*/
.tableau td:hover {
  background-image: url("images/04_calendrier/table-background.jpg");
  color: #dabd4a;
}

.tableau td:nth-child(even) {
  color: lavenderblush;
}

.tableau tr:nth-child(even) {
  background-color: rgba(0, 162, 255, 0.3);
}

.tableau tfoot {
  font-weight: bold;
}

.tableau caption {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 400;
  color: lavenderblush;
  padding: 18px;
}

/*****Section Galerie, avec une galerie photo****************************
************************************************************************/

#galerie {
  background-image: url("images/05_galerie/etoiles-background2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

/*Conteneur du contenu - flexbox */
#galerie-flexbox {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  min-width: 100%;
  min-height: 100%;
  padding-top: 10px;
}

#galerie-flexbox img {
  max-width: 56%;
  height: auto;
  padding: 5px 15px;
  transition: all 0.5s;
}

.galerie-colonne {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  width: 33%;
}

.zoom:hover {
  transform: scale(2.2);
  position: relative;
  transition: all 0.5s;
  box-shadow: 5px 5px 30px rgba(100, 162, 255, 0.5);
  z-index: 9999;
}

.galerie-colonne figcaption p {
  align-self: bottom;
  padding: 0 8px 15px 20px;
  font-size: 0.8rem;
  line-height: 0.8rem;
  width: 60%;
  text-align: center;
}


/*****Section Infolettre, avec un formulaire******************************************
**************************************************************************************/

#infolettre {
  background-image: url("images/06_infolettre/background-vert.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

/*Conteneur du contenu - flexbox */
#formulaire-flexbox {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  align-items: flex-start;
  min-width: 100%;
  min-height: 100%;
  padding: 50px;
}

.formulaire-colonne {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: 50%;
}

#formulaire p,
h5,
label {
  text-align: left;
  font-size: 1.2rem;
  padding: 10px 0;
}

#formulaire input {
  background-color: rgba(0, 217, 255, 0.9);
  padding: 6px;
  border: 2px dotted #dabd4a;
}

#email {
  width: 24vw;
}

#soumettre {
  margin-bottom: 10px;
  font-weight: bold;
  width: 25vw;
}

#soumettre:active {
  transform: scale(1.5)
}


/*****Section footer, avec info **************************************************
***********************************************************************************/

#info {
  background-image: url("images/07_footer/info_background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

/*Conteneur du contenu - flexbox */
#info-flexbox {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  min-width: 100%;
  min-height: 100%;
  padding-top: 40px;
}

.info-colonne {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  width: 33%;
  padding: 20px;
  text-align: center;
}

.info-colonne img {
  max-width: 30%;
  padding: 5px 0px;
  margin: 0 auto;
}

.info-colonne a {
  font-size: 1.6rem;
  color: lavenderblush;
  text-align: center;
}

#info-flexbox div:nth-child(3) a {
  font-size: 1rem;
  text-decoration: none;
}

#info-flexbox div:nth-child(3) p {
  padding: 0 20px;
}