*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

html{
  scroll-behavior: smooth;
}

body{
  z-index: -1;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  font-family: Arial, Helvetica, sans-serif;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(images/autre.jpg);
}

header{
  width: 100%;
  height: 120vh;
}

.principale{
  display: inline-block;
  position: absolute;
  cursor: pointer;
  justify-content: center;
  top: 10px;
  left: 5px;
  height: 10vh;
  transition: 0.4s ease;
}

.secondaire li{
  float: left;
}

.secondaire li a{
  display: inline-block;
  margin-top: 3vh;
  text-shadow: rgba(0, 0, 0, 1);
  font-size: 2vh;
  border-radius: 2px;
  font-weight: 500;
  padding: 20px;
}

.secondaire li a:hover{
  background-color: #2b417c;
  color: white;
  cursor: pointer;
}

#listeun li a{
  transition: 0.4s ease;
}

.tertiaire{
  display: inline-block;
  position: absolute;
  cursor: pointer;
  top: 25px;
  right: 20px;
  height: 6.5vh;
  transition: 0.4s ease;
}

#navbar{
  color: white;
  height: 13vh;
  width: 100%;
  z-index: 5;
  text-align: center;
  display: flex;
  align-items: top;
  position: fixed;
  justify-content: center;
  transition: 0.4s ease;
}

#meca{
  color: black;
  background-color: white;
}

#meca:hover{
  color: white;
  background-color: #2b417c;
}

#france{
  position: absolute;
  z-index: 4;
  top: 28vh;
  right: 10vh;
}

#contact{
  z-index: 4;
  display: inline-block;
  position: absolute;
  margin-top: 32vh;
  margin-left: 5vh;
  color: white;
}








#basdepage{
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  display: inline-block;
  justify-content: center;
  text-align: center;
  background-color: #292929;
  color: white;
}

.reveal{
  opacity: 0;
  transform: translateY(-30px);
}

.reveal-visible{
  opacity: 1;
  transform: translateY(0);
  transition: 1s cubic-bezier(.5, 0, 0, 1);
}

::-webkit-scrollbar{
  width: 10px;
  background-color: rgb(226, 226, 226);
}

::-webkit-scrollbar-thumb{
  border-radius: 10px;
  background-color: #2b417c;
}

.icon{
  cursor: pointer;
}

.icon:hover{
  background-color: #292929;
}