
/* Add a black background color to the top navigation */
.topnav {
    background-color: #1a222c;
    width: 100%;
    position: sticky;
    z-index: 2; /* Stay on top */
    top: 0; /* Stay at the top */
    overflow: hidden;
	transition: top 0.3s; /* Transition effect when sliding down (and up) */
    /*height: 8%;*/
}

/* Style the links inside the navigation bar */
.topnav a {
    display: block;
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav .icon {
  display: none;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
    background-color: #4CAF50;
    color: white;
}

@media screen and (max-width: 700px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 700px) {
  .topnav.responsive .icon {
		float: right;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}