/*STRUCTURE GENERALE DE LA PAGE HTML ET DE SON BODY*/
/*Site pour les caractères spéciaux : https://www.toptal.com/designers/htmlarrows/math/*/
/*bandeau 559 * 173*/
/*RESET*/
*, ::before, ::after{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


.kingsize{
  font-size: 32px;
}

/*STRUCTURE GENERALE*/
html {font-size: 62,5%;/*62,5% de 16px = 10px*/ background-color: white;}
body { display: flex; font-size: 1.3rem; font-family: 'Cormorant Garamond', serif;
}

/*STRUCTURE DU MENU*/
.menu{ position: fixed; display: flex; flex-direction: column; justify-content: space-between;
  height: 100%; width: 25vw; border-right: 1px solid rgb(125,170,187); background-color: #D9D6B7;
  text-align: center;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.73, 0.11, 0.67, 0.84);
  z-index: 10;
  overflow-y: scroll;  
}

.menu.active { transform: translate(0); }
.nav-toggler {  position: relative; z-index: 10; height: 50px; width: 50px; border: none; outline: none;
                cursor: pointer; display: flex; justify-content: center; align-items: center; background: transparent;}
.line {         position: absolute; display: block; width: 100%; height: 4px; background: rgb(125,170,187); 
                transition: transform 0.3s ease-out, opacity 0.1s ease-out;}
.nav-toggler:not(.active):hover .line{ 
  height: 4px; box-shadow: 2px 2px 2px white; background-color: rgb(125,170,187);}
.nav-toggler.active:hover .line{ height: 5px; }
.l1 { transform: translateY(-10px)}
.l3 { transform: translateY(10px)}
.nav-toggler.active .l1 { transform: translateY(0px) rotate(135deg);}
.nav-toggler.active .l2 { opacity: 0; }
.nav-toggler.active .l3 { transform: translateY(0px) rotate(-135deg);}

.menu_header{
    display: flex;
    justify-content: space-around;
    align-items: center;
    /*background-color: white;*/
    border-bottom: 1px solid rgb(125,170,187);
    padding: 10px;
}
.menu_header img{
    height: 150px;
}
.menu_bandeau{
  background-color: rgb(125,170,187);   color: white;}

.menu aside{ 
    display: flex; justify-content: center; align-items: center;
    margin: auto;
    width: 70%; 
    background-color: white; border: 1px solid rgb(125,170,187); border-radius: 2px; box-shadow: 3px 3px 3px darkgrey;
    font-style: italic; color: rgb(38, 38, 38);
}

ul{list-style: none;}
nav{                
  width: 70%;  margin: auto; min-width: 200px; max-width: 300px;}
nav ul {            
  margin: 10px auto 10px auto;}
nav ul li{          
  width: 80%; height: 25px; margin: 5px auto 0px auto;}
nav ul li a{        
  text-decoration: none; color: rgb(5, 93, 126);display: block; font-weight:bold;}   
nav ul li a span:hover{            
  cursor: pointer; color: rgb(125,170,187);}
nav ul li[title^="  "]{     
 color: rgb(5, 93, 126); }
nav ul li[title^="  "] a span{   
  text-decoration: underline;}
/*La page qui est ouverte est celle dont le title du nav li commence par deux blancs*/

.menu_bulle{ 
    display: flex; justify-content: center; align-items: center;
    margin: auto;
    min-height: 150px;  width: 80%; 
    background-color: white; border: 1px solid rgb(125,170,187); border-radius: 2px; box-shadow: 3px 3px 3px darkgrey;
    font-style: italic; color: rgb(38, 38, 38);
}
.menu_footer{ background-color: rgb(125,170,187);}

/*STRUCTURE DE LA PAGE*/
.page{ display: flex; flex-direction: column; justify-content: stretch; width: 100%; 
background-image: url("img/fond_page.jpg");
background-repeat: repeat;
} 

.page_header{ display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgb(125,170,187); padding: 10px;
background-color: #E6E6E6;
background-image: url("img/fond_header.jpg");
background-repeat: no-repeat;
background-position-x: right 150px;
background-position-y: bottom;
background-size: 200px;
}

.page_header img{ height: 150px;
}
.page_bandeau{ background-color: rgb(125,170,187);   color: white; text-align: center;}
main{
  flex-grow: 2;
  background-image: url("img/fond_lampe.jpg");
  background-repeat: no-repeat;
  background-position-x: left 3PX;
  background-position-y: top;
  background-size: 80px;
}

main>*{
  margin: 10px 5% 10px 5%;
  text-align: justify;
}

.page_sous_menu{
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 50px;
background-color: #C5D6C4; }

.retour{cursor: pointer; text-align: right;}
.retour img{ width:50px; }
.retour_survol:hover {
  content: url("img/retour_survol.jpg");
}

.pied_page{
  text-align: center;
  background-color: rgb(125,170,187);
}
.pied_page img{
  height: 50px;
}

/*Titre du site et titre de la page en cours*/
h1, h2 {text-align: center; color: rgb(100, 100, 100); font-weight: 1000;}

.incline{
  transform-origin: 50% 50%;
  transform: rotate(-8deg);
}

/*Titres des sections*/
h3{ margin: 10px; text-align: center; 
    font-family: serif; font-size: 2rem; 
    color: rgb(5, 93, 126);}
/*Titres des articles */
h4{ margin: 10px; text-align: center; 
    font-family: serif; font-size: 2rem; 
    color: rgb(5, 93, 126);}
/*Titre de paragraphe dans un article*/
h5{ margin: 0px;
    font-family: serif; font-size: 1.2rem; 
    color: rgb(5, 93, 126);}
/*sous-titre en ligne dans un paragraphe.*/
h6{ margin: 0px;
    font-family: serif; font-size: 1.2rem; 
    color: black;}

.float_gauche{float: left; margin-right: 10px; max-width: 300px;}

.carte_blanche{
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px 10px 10px 10px;
  border: 1px solid rgb(125,170,187);
  box-shadow: 10px 5px 5px darkgrey;
  background-color: white;
}

.image_texte {display: flex; align-items: center; }
.image_texte img{width: 90%;}

.centre{text-align: center;}
p{ margin-bottom:10px; }

.presse{
  display: block;
  width: 30%;
  margin: auto;
}

.periode{ display: none;}

/*LES AUTRES BOITES*/
article hr{width: 50%; color: rgb(125,170,187); margin: 5px auto;}

.carte_blanche{
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px 10px 10px 10px; 
  box-shadow: 10px 5px 5px darkgrey;
}

hr{width: 50%; color: rgb(125,170,187); margin: 20px auto;}

/*LES LIENS*/
.page a, span[title] {color:  rgb(5, 93, 126); text-decoration: none; font-weight: bold;}
.page a:hover, span[title]:hover  {color: rgb(125,170,187); cursor : pointer;}

button {
  background-color: white; 
  border: none;
  color: rgb(5, 93, 126);
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}
button:hover{
  color: rgb(125,170,187); 
  cursor : pointer;
}

/*LES BALISE DE MISE EN FORME DU TEXTE*/
.deux_colonnes{ 
  column-width: 25em; column-rule: dotted 3px rgb(125,170,187); /*border: 1px solid rgb(125,170,187);*/ }
.justifie{text-align: justify;}
.centre{ text-align:center; }
.couleur_gentiane, li span{  color: rgb(5, 93, 126);}

figure{text-align: center; margin: 10px;}
figure img { 
  width:50%;}
figcaption{font-style: italic;}

/*attirer l'attention du lecteur sur un contenu qui n'a pas, pour autant, d'importance significative*/
b{ color: rgb(5, 93, 126); font-weight:700;}

blockquote{font-style: italic;}

/*L'élément <cite> contient le titre d'une œuvre telle qu'un livre, une chanson, un film, une sculpture… 
les titres des conférences et des etudes dans les sommaires*/
cite{}

/* marquer un texte sur lequel on veut insister*/
em{ color: rgb(5, 93, 126); font-weight: bold;}

/*un morceau de texte qui se différencie du texte principal. Cela peut par exemple être le cas pour des termes techniques, 
des phrases dans une langue étrangère ou encore l'expression des pensées d'un personnage*/
i{}

/*un texte marqué ou surligné à cause de sa pertinence dans le contexte*/
mark{ color: white; background-color: rgb(125,170,187)}
.grille mark {text-align: center;}

/*Les paragraphes*/
p{margin-bottom: 10px;}

/*représenter des commentaires ou des textes à écrire en petits caractères 
(des termes d'un contrat, des mentions relatives au droit d'auteur, etc.) quelle que soit la présentation.*/
small{}

/*indique que le texte a une importance particulière ou un certain sérieux voire un caractère urgent. 
Cela se traduit généralement par un affichage en gras.*/
strong{}

/*permet de représenter une période donnée*/
time{}

/*un fragment de texte qui est annoté avec des éléments non textuels*/
u{}

/*LES MEDIA QUERY STRUCTURELS*/
@media screen and (max-width: 600px){
    h3, h4 {font-size: 1.5rem;}
    .page_sous_menu{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page_footer{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.page_footer{ 
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  border-top: 1px solid rgb(125,170,187);
  background-color: rgb(125,170,187);
  color: white;
  font-weight: bold;
}
.page_footer img{ height: 50px; }
.page_footer ul{ text-align:center; }
.page_footer a{ color:white; }
.page_footer a:hover{color: rgb(5, 93, 126);}



.facebook_survol:hover {
  content: url("img/footer_facebook_hover.jpg");
}
.instagram_survol:hover {
  content: url("img/footer_instagram_hover.jpg");
}

.page_header>div>h2 { display:none; }
@media screen and (max-width: 600px){
  h1 {font-size: 1.5rem;}
  h2{font-size: 1rem;}
  .page_header>h2 { display:none; }
  .page_header>div>h2 { display:block; }
  .devise span{ font-size: 1rem;}
  .incline{     transform: rotate(0deg);}
  .float_gauche{width: 30%;}
  .page_footer{flex-direction: column;}
}

@media screen and (max-width: 900px){
    .menu_bulle {  display: none;   }
    .menu {      width: 66vw; }
    nav {        width: 80%; font-size: 1rem;}
}


