#nav {

  background-color: darkblue;
  color: #fff;

  margin-top: 0;

  /* mobile closed state */
  max-height: 0;
  overflow: hidden;

  transition: max-height 0.35s ease;
}


.page-links{
   text-decoration: underline;
}




#nav > div {
  /*padding: 10px 14px; */
  border-top: 1px solid rgba(255,255,255,0.2);
 
}




#nav.open {
  max-height: 500px; /* must be larger than menu height */
}


a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  padding: 10px 8px;
}



.nav-link-hover {
  color: rgb(187, 218, 8); 
  background-color: black; 
 /* color: #fff; */

}

#toggleDisplay {
  padding: 10px 12px;
margin-bottom: 10px;
}


.toggleDisplay{
   /* border: 1px dotted red; */
    background-color: rgba(120, 150, 40, 0.5);
}


.hamburger {
  width: 36px;
  height: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}





.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: black;  /* hamburger lines*/
  border-radius: 2px;
transform-origin: center;
  transition: transform 0.35s ease, opacity 0.25s ease;
}


.hamburger:hover span {
 /* background: rgb(187, 218, 8); */
  background: rgb(255, 218, 108);
}


.hamburger:active {
  transform: scale(0.92);
}



/* Top bar */
.hamburger.active span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

/* Middle bar */
.hamburger.active span:nth-child(2) {
  opacity: 0;
}

/* Bottom bar */
.hamburger.active span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}



/* Reset mobile menu animation for desktop layout */

@media (min-width: 800px) {

  #toggleDisplay {
    display: none;
  }

  #nav {
    display: flex;
    justify-content: space-between;
    align-items: center;

    max-width: 50%;
    margin: 40px auto;
    padding: 10px;

    /* disable animation system */
    max-height: none;
    overflow: visible;
    transition: none;
  }

  #nav div {
    border: none;
    padding: 0;
  }

}



a:link{color: blue;
      
   }
   
 
 a:not(.nav-link-hover):hover {
    color: brown;
}

  
   a :not(.nav-link-hover):active{
       color: red;
   }
   
 
   
   a :not(.nav-link-hover):clicked{
       color: red;
   }
   



.page-links{
    color: blue;
font-weight: 550;
}
                 
                 
                 