@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  font-size: 1em;
}

video
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.overlay
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #03a9f4;
  mix-blend-mode: overlay;
}

/***************************************************/
/*                    STRUCTURE                    		         */
/**************************************************/


header
{
  grid-area: header;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-bottom: auto;
  width: 100%;
  z-index: 1000;
  vertical-align: middle;
}

section{
  position: relative;
  margin:0;
  padding: 50px;
  display: grid;
  flex-flow: row wrap;
  right: 0;
  width: 100%;
  justify-content: space-between;
  align-items: left;
  background: #111;
  color: rgb(255, 255, 255);
  transition: 0.5s;
  z-index: 2;
  min-height: 100vh;
  grid-template-areas: 
    "header header header header"
    "titre titre titre titre"
    "article article article article"
    "footer footer footer footer";
}

.titre{
  grid-area: titre;
  display: flex;
  z-index: 3;
  width: 100%;
  justify-content: space-between;
  align-items: left;
  margin-bottom: 10px;
}

article
{
  grid-area: article;
  display: flex;
  flex-flow: row wrap;
  position: relative;
  width: 95%;
  z-index: 10;
  word-wrap:break-word;
  overflow: hidden;
  text-align: justify; 
  text-justify: inter-word;
  font-size: 1,5em;
}

nav
{
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  justify-content: center;
  align-items: center;
}

footer {
  grid-area: footer;
  display: flex;
  flex-flow: row wrap;
  margin-top: auto;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  z-index: 12;
  color:snow;
  vertical-align: middle;
  font-size: 0,75em;
}



/* Décalage */

section.active
{
  right: 300px;
}



/***************************************************/
/*                    HEADER                       */
/***************************************************/

#logo
{
  display: flex;
  align-items: center;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  cursor: pointer;
}

#logo h1
{
	font-size: 1,5em;
}

/***************************************************/
/*                    BOUTON TOGGLE                		*/
/***************************************************/

#toggle
{
  position: relative;
  width: 60px;
  height: 60px;
  background: url(img/menu.png);
  background-repeat: no-repeat;
  background-size: 30px;
  background-position: center;
  cursor: pointer;
}

#toggle.active
{
  position: relative;
  width: 60px;
  height: 60px;
  background: url(img/close.png);
  background-repeat: no-repeat;
  background-size: 30px;
  background-position: center;
  cursor: pointer;
}


/***************************************************/
/*                    ARTICLE                      				*/
/***************************************************/

#article h2
{
  font-size: 2em;
  font-weight: 800;
  color: #fff;
  line-height: 1em;
  text-transform: uppercase;
}

article p
{
  color: #fff;
  margin: 20px 0;
  font-weight: 400;
  max-width: 700px;
}

article a
{
  display: inline;
  font-size: 1em;
  background: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  color: #111;
  letter-spacing: 2px;
  transition: 0.2s;
}



article a:hover
{
  letter-spacing: 6px;
}


/***************************************************/
/*                    MENU                         */
/***************************************************/

nav ul li
{
  list-style: none;
}

nav ul li a
{
  text-decoration: none;
  font-size: 24px;
  color: #111;
}

nav ul li a:hover
{
  color: #03a9f4;
}

/***************************************************/
/*                    FOOTER                       */
/***************************************************/

footer a
{
  display: inline-block;
  margin-right: 20px;
  filter: invert(1);
  transform: scale(0.5);
  transition: 0.5s;
}

footer a:hover
{
  transform: scale(0.5) translateY(-15px);
}


/***************************************************/
/*                    CONTENT                      */
/***************************************************/

#accueil{
  display: flex;
  flex-flow: column wrap;
}

#accueil h1{
	font-size: 4wv;
}

#contact{
  display: none;
  flex-flow: row wrap;
}

#news{
  display: none;
  flex-flow: column wrap;
}

#machine{
  display: none;
  flex-flow: column wrap;
}

#cdv{
  display: none;
  flex-flow: column wrap;
}

#photos{
  display: none;
  flex-flow: column wrap;
}

#videos{
  display: none;
  flex-flow: row wrap;
}
#reservation{
	display: none;
}

#merci{
  display: none;
  flex-flow: column wrap;
}

#apropos{
  display: none;
  flex-flow: column wrap;
}

#donate{
  display: none;
  flex-flow: column wrap;
}

img #photo {
  width: 100px;
  height: auto;
}



/***************************************************/
/*                    MEDIA QUERY                  */
/***************************************************/

@media (max-width: 991px)
{
 #titre h2
 {
 
 }


}

/***************************************************/
/*                    SUPPORTS                     */
/***************************************************/


@supports (-webkit-touch-callout: none) {
  /* CSS specific to iOS devices */ 
  header .logo
  {
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  cursor: pointer;
  }
}

/***************************************************/
/*                    DIVERS                       */
/***************************************************/
