/* The navigation menu */
.navbar {
  display: flex;
  background-color: rgba(19, 58, 77,0.9);
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
  z-index: 1000;
  position: fixed;
  flex-direction: row;
  align-content: center;
  justify-content: space-around;
}
#logo{
  margin: 0.3%;
}
.logoNels{
  width: 3em;
  height: 3em;
}
a#subcmdNav{
  display: flex;
  align-items: center;
  padding: 1%;
}
#cmdNav{
  display: flex;
  align-items: center;
}

/* The subnavigation menu */
.subnav {
  float: left;
  overflow: hidden;
}

/* Subnav button */
.subnav .subnavbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  background-color: rgba(19, 58, 77,0.9);
  font-family: inherit;
  margin: 0;
  display: flex;
  align-content: center;
  height: 100%;
  align-items: center;
}

/* Style the subnav content - positioned absolute */
.subnav-content {
  display: none;
  position: absolute;
  top:auto;
  width: 1000;

  left: 0;
  background-color: rgba(19, 58, 77,0.9);
  width: 100%;
  z-index: 1;
  top: 50px;
  width: 200px;
  z-index: 1000;
  box-sizing: border-box;
}

/* Style the subnav links */
.subnav-content a {
  float: left;
  color: whitesmoke;
  text-decoration: none;
}

/* When you move the mouse over the subnav container, open the subnav content */
.subnav:hover .subnav-content {
  display: block;
  top:auto;
  width: 100%;
}


  body{
    background-color: rgb(19, 58, 77);
    display: flex;
    flex-direction: column;
    margin: 0;
    align-items: center;  
  }
  
 
  a{
      color: whitesmoke;
      text-decoration: none;
  }
  
  footer{
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background-color: rgb(19, 58, 77);
    color: whitesmoke;
    font-style: italic;
  }


.textMenu{
  text-align: center;
  color: whitesmoke;
  display: content;
  margin: 2%;

}
.textMenu p1{
  text-align: center;
  color: whitesmoke;

}
.textMenu h2{
  margin-top: 0;
  margin-bottom: 4px;
  color: whitesmoke;
}
#backToTopButton {
  display: none; /* Le bouton est caché initialement */
  position: fixed;
  bottom: 190px;
  right: 10px;
  padding: 10px 20px;
  background-color:rgba(206,170,84,0.7);
  color:  rgb(19, 58, 77);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;

}

#backToTopButton.show {
  display: block; /* Montre le bouton quand il est prêt */
  opacity: 1;
  transform: translateY(0);
}

#backToTopButton:hover {
background-color:rgba(206,170,84,0.7);
color:  rgb(19, 58, 77)
}
@media (min-width: 600px) {
  a#subcmdNav{
    display: flex;
    align-items: center;
    padding: 1%;
  }
}
@media (max-width: 600px) {

  a#subcmdNav{
    display: flex;
    align-items: center;
    padding: 3%;
  }
}