html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body, h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
img {
  width: 100%;
  height: auto;
}
body {
  color: white;
  font-family: "arial";
  background: url("../images/fond.webp") no-repeat center center fixed; ;
  background-size: cover;
}
hr {
  height: 1px;
  color: gray;
  width: 70%;
}
#menu_m {
  display: none;
}
.menu_fr,
.menu_en,
.menu_de {
  margin: auto;
  width: 1024px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.slider{ width: 80%; }
.slider img {width: 100%; }

#menu_m {
  width: 200px;
  height: 40px;
  border: 1px solid white;
  border-radius: 5px;
  margin: auto;
}
.precedent , .suivant{
  padding-left: 10px;
  padding-right: 10px;
   opacity: 0.5;
  cursor: pointer;
}
.precedent:hover,
.suivant:hover {
  opacity: 1;
}

#navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  width:70%;
  margin: 0 auto;

}
.masque {
  display: none;
}
#fr,
#en,
#de {
  font-size: 18px;
  font-family: "arial";
  color: white;
  padding-left: 5px;
  background-color: rgba(202, 196, 196, 0.6);
}
.vue {
  font-family: "verdana";
  line-height: 1.5em;
  font-size: 20px;
  color: #ffa500;
  text-shadow: 0px 5px 5px #aaaaaa;
}
/* ================================================== */

@media screen and (max-width: 599px) {

  #navigation {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .slider {
    order: 1;
    margin-bottom: 20px;
    width:90% ;
  }
  .slider img {
    width: 100%;
  } 
  .precedent {
    order: 2;
    opacity: 1;
  }
  .suivant {
    order: 3;
    opacity: 1;
    }
  .precedent img{width: 60px;}

  #menu {
    display: none;
  } 
  #menu_m {
    display: flex;
    justify-content: center;
  }
  #fr,
  #en,
  #de {
    width: 100%;
    margin-bottom: 20px;
  }
  button {
    margin-bottom: 25px;
  }
}

/* =================================================================== */

@media screen and (min-width: 700px) and (max-width: 1023px) {
  #navigation {
    width: 100%;
  }
  .slider {
    width: 60%;
  }
  .slider img {
    width: 100%;
  }
  #fr,
  #en,
  #de {
    width: 100%;
  }
  .precedent,
  .suivant {
    opacity: 1;
  }
  .menu_fr,.menu_en,.menu_de{
    width: 100%;
  }
  hr{width:  95%;}
}
