/* 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;
}

#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;
  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);
      background-image:url('../imageComming/NelsAcceuill.jpeg');
      background-repeat: no-repeat;
      background-position: center center; /* Centrer horizontalement et verticalement */
      background-size: cover;
      display: flex;   
      justify-content: center;
      align-items: center;
      margin: 0;
  
  }
  
  
  h1
  {
      color:whitesmoke;
      font-style: italic;
      font-variant: small-caps;
      font-size: 800%;
      border: 5px solid whitesmoke ;
      width: 110%;
      display: flex;
      justify-content: center;
  
  }
  h2{
      text-align: center;  
      color:whitesmoke;
      font-style: italic;
  }
  a{
      color: whitesmoke;
      text-decoration: none;
  }
  
  footer{
    position: absolute; 
    width: 100%;
    text-align: center;
    background-color: rgb(19, 58, 77);
    bottom: 0;
  }
  
  @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%;
    }
  }