*{
  box-sizing: border-box;
}
body {
   --largeur:60%;
  color: white;
  background: url("../images/fond.webp") no-repeat center center fixed; ;
  background-size: cover;

}
@font-face {
  font-family: 'Marhey';
  src: url("../fonts/Marhey-Bold.ttf") format("truetype"); 
}
#entete_m {
  display: none;
}
#overlay {
  display: none;
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%);
  background-color: #b2f2f9;
  border: 1px solid gold;
  border-radius: 10px;
  font-size: 20px;
  text-align: left;
  z-index: 15;
  cursor: pointer;
}
#masque {
  background-color: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  z-index: 10;
}

#entete {
  width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  font-family: 'Marhey';
  font-size: 2.2em;
  color: gold;
  text-shadow: rgba(0, 0, 0, 5) 10px 15px 20px ;
}
#carto_plazac:hover {
  cursor: pointer;
}

hr {
  height: 1px;
  color: gray;
  width: 70%;
  margin: auto;
}
#menu {
  display: flex;
  width: 1024px;
  margin: auto;
}
.menu_fr,
.menu_en,
.menu_de {
  margin: auto;
  width: 1024px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style-type: none;
}
#container{
  position: relative;
  box-sizing: border-box;
  border: 1px solid black;
  width: var(--largeur);
  height: auto;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}
#container img {
  position: absolute;
  width : 100%;
  height : auto;
  top: 0;
  left: 0;
  }
  #container > * {          
    opacity: 1;
    transition: opacity 1s;
  }
  #container > :last-child {  
    opacity: 0;
  }

#presentation {
  position:relative;
  margin-top: 28%;
  width: var(--largeur);
  margin-left: auto;
  margin-right: auto;
  background-color: rgba(189, 185, 185, 0.5);
  font-family: "arial";
  line-height: 1.5em;
  font-size: 20px;
  color: white;
  border-radius: 5px;
  padding: 20px;
} 
.masque2 {
  display: none;
}
select {
  border-radius: 5px;
  border: 2px solid #ed5b5b;
  background: #afdad0;
  /*padding: 10px;*/
  transition: 0.4s;
  font-size: 18px;
  color: black;
  height : 30px;
}

select:hover,
select:focus {
  background: #dddddd;
}
/* =============================================== */

@media screen and (max-width: 699px) {
  #container{
    width: 90%;
  }
  #presentation {
    margin-top: 45%;
  }
  a{padding-left: 5px;
  padding-right: 5px;}
  
  /* masque Menu PC et affiche menu smartphone */
  #entete {
    display: none;
  }
  #entete_m {
    width: 350px;
    display: flex;
    justify-content: space-around;

    font-family: "Satisfy", sans-serif;
    font-weight: bold;
    text-decoration: none;
    font-size: 50px;
    color: gold;
  }
  #menu {
    width: 340px;
    height: 100px;
    flex-wrap: wrap;
    align-content: space-around;
  }
  .menu_fr,
  .menu_en,
  .menu_de {
    width: 340px;
    flex-wrap: wrap;
    align-content: space-around;
  }
  #presentation {
    width: 340px;
    font-size: 18px;
  }
  li{padding-left: 5px;
  padding-right: 5px;}

}
/* ======================================================= */

@media screen and (min-width: 700px) and (max-width: 1023px) {
  #menu {
    width: 700px;
  }
  .menu_fr,
  .menu_en,
  .menu_de {
    width: 700px;
    flex-wrap: wrap;
    align-content: space-around;
  }
  #presentation {
    width: 700px;
    font-size: 18px;
  }
  #entete {
    width: 800px;
    margin-left: 0px;
    margin-right: 0px;
    font-size: 1.8em;
  }
  #overlay img{
    width: 80%;
  }
}
