.icon {
	display: block;
	margin-top: 3px;
	right: 0;
	top: 0;
	float: right;
	border:0px solid green;
}

.bar1, .bar2, .bar3 {
  width: 20px;
  height: 1px; 
  background-color: #292428;
  margin: 5px 0;
  transition: 0.4s;
}

.change .bar1 {
  transform: translate(0, 6px) rotate(-45deg);
}
.change .bar2 {opacity: 0;}
.change .bar3 {
  transform: translate(0, -6px) rotate(45deg);
}

/* Add a black background color to the top navigation */
.topnav {
  overflow: hidden; 
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

#overlay {
  display: none;
}

.changeoverlay {
  display: none;
}

#langue {
  display: none;
  position: fixed;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: right;
}

#langue ul li a { font-size: 20px; }

#langue.index {
  display: inline-block;
}

#langue.index ul li a {
  color: #ffffff;
}

.langue-active { color: #cccc99 !important; text-shadow: 0.7px 0.7px #aaaa55; font-weight: 400 !important; }

#langue.all ul li a:not(.langue-active) {
  color: #292428 !important;
}
#langue.all ul li::before {
  color: #292428 !important;
}


nav ul { list-style-type: none; margin-right: 48px; }

nav ul li { display: inline; }

nav ul li::before {
    content: "|";
    margin-right: 5px;
    margin-left: 3px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 200;
}

nav ul li:first-child::before {
    content: ""; /* Supprime le "|" avant le premier élément */
    margin-right: 0;
}

nav ul li a { color: #292428; font-weight: 200; font-size: 18px; text-decoration: none; }


/* menu responsive langue */
@media screen and (max-width:900px) {
 
  #langue.all {
    display: inline-block;
  }
  #langue.index {
    display: inline-block;
  }
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 900px) {

  .topnav a { display: none; }
  .topnav a.icon {
    float: right;
    display: block;
  }

}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 900px) {

  #overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: -9999;
    top: 0;
    left: 0;
    overflow-x: hidden;
    display: block;
  }

  #overlay.changeoverlay {
    background-image: url("../background-transparent.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    z-index: 0;
    display: block;
  }
  
  .topnav.responsive {
  	position: fixed; right: 0px; top :2px; z-index: 1;
  	padding: 140px 0px;
  	margin-top: 30px;
  	margin-right: 47px;
  	border: 0px solid red;
  	display: block;
  }

  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
    border: 0px solid green;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: right;
    border: 0px solid blue;
    margin: 2px 0;
  }

}