body{
 margin: 0;
  margin-top:0px;
  margin-left: 0px;
  /*display: flex;
 flex-direction: column;*/

}
.center{
  
  /*flex-grow: 1;*/
  margin-left:auto;
  margin-right: auto;
  
  width:1422px;
  
}
.s, .m, .l{
  max-width:100%;
  height:auto;
  display:block;
  margin-bottom:10px;
}
.grid{

  display:grid;
  grid-area: main;
  grid-template-columns: repeat(3,400px);
  grid-auto-rows:288px;
  gap: 24px;
  float :left;
  margin-left:0px;
  width: auto;
  margin-top: 800px;

  
}

.guy {
  grid-column-start: 1;
  grid-column-end : 3;
  grid-row-start: 1 ;
  grid-row-end: 3;
  
 }
 .poste{
  grid-column: 3 /span 3 ;
  grid-row: 1 /span 2;
 
 }
 #micro{
  grid-column: 3 /span 2 ;
  grid-row: 2 /span 2;
 
 }
 #pieuvre{
  grid-column: 1 /span 2 ;
      grid-row: 3 /span 1;
 }
 #neuville{
  grid-column: 1 /span 2 ;
      grid-row: 5 /span 1;
 }
 #parents{
  grid-column: 2 /span 2 ;
  grid-row: 3 /span 2;
 
 }
 #radio { 
  grid-column: 2 /span 1 ;
      grid-row: 5  /span 1;
 }
 #insolite{
  grid-column: 3 /span 1 ;
  grid-row: 5 /span 1;
 
 }
 #jaune1 { 
  grid-column: 2 /span 1 ;
      grid-row: 6  /span 1;
 }
 #vert{
  grid-column: 1 /span 2 ;
      grid-row: 7 /span 1;
 }
 #rouge{
  grid-column: 3 /span 1 ;
      grid-row: 7 /span 1;
 }
 #jaune2 { 
  grid-column: 1 /span 1 ;
      grid-row: 9  /span 1;
 }
 #jaune3 { 
  grid-column: 2 /span 1 ;
      grid-row: 9  /span 1;
 }
.barredroite{
width: 150px;
height: auto;
background-color: rgb(166, 188, 181);
margin-top: 0;
display: block;
margin-left: 1272px;
font-family :Consolas;
font-weight: bolder;
text-align: center;
color:white;
font-size: 14pt;
position:absolute;
top:0px;
margin-top: 800px;
}
div,  .changeImage {
  position: relative;  
}
div,  .changeImage2 {
  position: relative;  
}

.changeImage img{
  width: 824px; 
}
.changeImage img:nth-child(2){
 position:absolute;
  right:0;
  opacity:0;
}
.changeImage:hover img:nth-child(2){
opacity: 1;
top:0;
left:0;
right:0;
}
.changeImage2 img{
  width: 400px;
  height: 288px;
}
.changeImage2 img:nth-child(2){
  position:absolute;
  right:0;
  opacity:0;
}
.changeImage2:hover img:nth-child(2){
opacity: 1;
top:0;
left:0;
right:0;
}
.changeImage3 img{
  width: 400px;
  height: 600px;
}
.changeImage3 img:nth-child(2){
  position:absolute;
  right:0;
  opacity:0;
}
.changeImage3:hover img:nth-child(2){
opacity: 1;
top: 0px;;
left:0;
right:0;
}
.menu{
  width: 150px;
  margin-top: 24px;
  display: block;
}

p {
  display: inline-block;
  width: 150px;
}
.degrade{
  background: linear-gradient(blue, rgb(166, 188, 181));
}
@media screen and (max-width :1500px){
  
  nav.barre1{
    width: 40%;
    font-size: 15pt;
   display: flex;
   flex-direction: column;

  }
  nav.barre2{
    font-size: 15pt;
    display: flex;
   flex-direction: column;
  }
  div.center {
    width: 50%;
  }
  .masque{
    position: absolute;
    height: 300px;
     background-color: black;
     z-index: -1;
     margin-top:0;
     width: 100%;
     opacity: 50%;
     
  }
  body{
    
    margin: 0px;
    margin-left: 0;
    margin-top: 0px;
    padding: 0;
    left: +424px;
  }
  
  .bloc video{
    position: absolute;
    min-width: 100%;
    top:150%;
    left:80%;
    z-index: -100;
    transform: translate(-40%, -40%);
  }
}
@font-face {
  font-family: 'Consolas';
  src: url('font/Consolas.eot');
  src: local('Consolas'),
      url('font/Consolas.eot?#iefix') format('embedded-opentype'),
      url('font/Consolas.woff2') format('woff2'),
      url('font/Consolas.woff') format('woff'),
      url('font/Consolas.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Consolas';
  src: url('font/Consolas-Italic.eot');
  src: local('Consolas Italic'), local('Consolas-Italic'),
      url('font/Consolas-Italic.eot?#iefix') format('embedded-opentype'),
      url('font/Consolas-Italic.woff2') format('woff2'),
      url('font/Consolas-Italic.woff') format('woff'),
      url('font/Consolas-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'Consolas';
  src: url('font/Consolas-BoldItalic.eot');
  src: local('Consolas Bold Italic'), local('Consolas-BoldItalic'),
      url('font/Consolas-BoldItalic.eot?#iefix') format('embedded-opentype'),
      url('font/Consolas-BoldItalic.woff2') format('woff2'),
      url('font/Consolas-BoldItalic.woff') format('woff'),
      url('font/Consolas-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: 'Consolas';
  src: url('font/Consolas-Bold.eot');
  src: local('Consolas Bold'), local('Consolas-Bold'),
      url('font/Consolas-Bold.eot?#iefix') format('embedded-opentype'),
      url('font/Consolas-Bold.woff2') format('woff2'),
      url('font/Consolas-Bold.woff') format('woff'),
      url('font/Consolas-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

.header{
  position:fixed;
  z-index: 999;
  top:0;
  right:0;
  left:0;
  height:48px;
  background: #fff;
  padding:0 24px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  /* la même grille que .grid */
  display:grid;
  grid-template-columns: repeat(auto-fill, 400px);
  grid-gap: 24px;
  gap:24px;
  justify-content: center;	
}
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
.box{
  display: flex;
  flex-wrap: wrap;
}
@media all and (max-width: 1335px){

  div.transition{
    width: 100%;
    background-size: 100%;
    background-repeat: no-repeat;
    top: 750px;
    margin: 0px;
  }
  .masque{
    position: absolute;
    height: 250px;
     background-color: black;
     z-index: -1;
     margin-top:0;
     top: 0;
     width: 100%;
     opacity: 50%;
     
  }
 
  div.center{
    width:824px;

}
div.barredroite{
  position:relative;left:-1448px;

  
}
.barredroite{
  top: -450px;
}
.grid {
  display: grid;
  grid-template-columns: 400px 400px;
  grid-auto-rows: 288px;
  gap: 24px;
  margin-top: -450px;
  
 }
  

  .guy {
      grid-column: 1 /span 2;
      grid-row: 1 / span 2;
  }
  .poste{
      grid-column: 1 /span 2 ;
      grid-row: 4 /span 1;
  }    
  #micro{
      grid-column: 1 /span 1 ;
      grid-row: 3 /span 1;
     
     }
  #pieuvre{
      grid-column: 2 /span 2 ;
          grid-row: 3 /span 1;
     }   
  #neuville{
      grid-column: 1 /span 2 ;
          grid-row: 7 /span 1;
     }
  #parents{
      grid-column: 1 /span 2 ;
      grid-row: 5/span 2;
     
     }
  #radio { 
      grid-column: 2 /span 2 ;
          grid-row: 7  /span 2;
     }
  #insolite{
      grid-column: 2 /span 1 ;
      grid-row: 8 /span 1;
     
     }
  
  #jaune1 { 
      grid-column: 2 /span 1 ;
          grid-row: 9  /span 1;
     }
  #vert{
      grid-column: 1 /span 2 ;
          grid-row: 11 /span 1;
     }
  #rouge{
      grid-column: 1 /span 1 ;
          grid-row: 9 /span 1;
     }
  #jaune2 { 
      grid-column: 2 /span 1 ;
          grid-row: 10  /span 1;
     }
  #jaune3 { 
      grid-column: 1 /span 1 ;
          grid-row: 13  /span 1;
     }

body{
  margin: 0;
  margin-left: 0;
  margin-top: 0px;
  padding: 0;
  left: +424px;
}

 
}
@media all and (max-width: 750px){

  div.center{
    width:20%;
    

}
div.barredroite{
  position:relative;left:-1448px;
}

body{
  margin-top: 0;
  margin: 0;
  margin-left: 0px;
  padding: 0;
  left: +424px;
  

}
.flexbox{
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}
.grid-flex{
  grid-column: 1/-1; 
   display:flex; 
   justify-content: center; 
   align-items: center;
   flex-direction: column;
 }
 
}




.site-header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;


}
.brand{
  margin: 0;
  width: 100px; height: auto;
  
}
.nav{
  display: flex;
  width: 1248px;
  margin-left: 288px;
  font-family :Consolas;
  font-weight: bolder;
  font-size : 16pt;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: start;
  
}

#radio{
  width: 400px;
  height: 288px;
}
#logo{
  margin-top:20px;
  width: 300px;
  height: auto;
}
#lien{
  padding: 0px;
}
  
a{
  color: rgb(209, 200, 220);
  margin-left: 0px;
  padding: 20px;
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
  text-decoration-color: #8595c6;
  text-decoration-style: underline;
  text-decoration-thickness: 8px;
  text-underline-position: under;

}
a.inscription:hover{
  text-decoration: underline;
  text-decoration-color: rgb(241, 240, 238);
  text-decoration-style: underline;
  text-decoration-thickness: 8px;
  text-underline-position: under;

}
a.recherche:hover{
  text-decoration: underline;
  text-decoration-color: rgb(233, 231, 227);
  text-decoration-style: underline;
  text-decoration-thickness: 8px;
  text-underline-position: under;

}
a.chemin:hover{
  text-decoration: underline;
  text-decoration-color:  rgb(121, 165, 216);
  text-decoration-style: underline;
  text-decoration-thickness: 8px;
  text-underline-position: under;

}
.main{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.barre1{
  padding-bottom: 50px;
}
.barre2{
  font-size: 20pt;
}
.inscription{
color:rgb(224, 231, 236);
text-decoration: none;
background-color: #865a27;
border-radius: 40px;
}
.chemin{
color: rgb(121, 165, 216);
text-decoration: none;

}
.recherche{
  color: rgb(227, 215, 215);
  text-decoration: none;
  

}
/***{
  margin: 0;
}*/
.bloc{
  position: absolute;
  height: 90vh;
  width: 99vw;
  overflow: hidden;
}
.bloc video{
  position: absolute;
  min-width: 100%;
  top:50%;
  left:50%;
  z-index: -100;
  transform: translate(-50%, -50%);
}
.masque{
  position: absolute;
  height: 250px;
   background-color: black;
   z-index: -1;
   margin-top:0;
   width: 100%;
   opacity: 90%;
   
}
#geoloc{
  position: absolute;
  width: 100px;
  height: auto;
  left: 37%;
  top:41%;
  z-index: -1;
  opacity: 50%;
 
}
#presentation{
  text-decoration: none;
  font-size: 40px;
  position: absolute;
  color: rgb(121, 165, 216);
}
#textpresentation p{
  width: 700px;
  margin-left: 100px;
  background-color: rgba(0,0,0,0.5);
  
}
#entree{
  position: float;
  float: right;
  margin-top: 150px;
  margin-right: 180px;
  
}
#enfant{
  position: float;
  float: right;
  margin-top: 750px;
  margin-right: 180px;
  
}
#fleche{
  width: 600px;
  height: auto;
  z-index: 1;
  position: absolute;
  margin-right: 100px;
  margin-left: 880px;
  margin-top: 250px;
 
}
#cadre{
  width: 300px;
  height: auto;
  margin-top: 235px;
  margin-left: 1200px;
  position: absolute;
  z-index: 1;
}
#telecharge{
  width: 300px;
  height: auto;
  margin-top: 570px;
  position: absolute;
  margin-left: 1000px;
  z-index: 1;
}

.transition{
  margin-left: 0px;
  width: 99vw;
  height:100px;
  top: 800px;
  background-image: url("transition2.jpg");
  position: absolute; 
  margin: 0px;
  margin-bottom: 24px;
  z-index: 1;
  margin-left: auto;
  margin-right: auto;
  background-repeat: no-repeat;
  
}
#texte1, #grand, #petit{
  width: 500px !important;
  height: 400px;
  top: 500px;
  color :#865a27 ;
  margin-left: 200px;
  font-family: consolas;
  position: absolute;

}
/*.footer{
  width: 99vw;
  height: 200px;
  display: block;

  
}*/
footer{
  background:#f1f1f1 ;
  padding: 10px;
  font-size: 20px;
  text-align: center;

}
a.bulle span{
  display: none;
}
.bulle:hover span{
  display: block;
  width: 135px;
  text-decoration: none;
  margin-left: -158px;
  background-color: black;
  text-align: center;

}
.bulle:hover:hover{
  text-decoration: none;
}
span{
  margin-top: -200px;
}
/*section{
  display: flex;
  flex-direction: column; 
 
}
article.footer{
  flex-grow: 1;
}
html, body{
  height: 100%;
}*/
