#form {

  top:150px;
  left: 50%;
  width: 500px;
  margin-left: -150px;
	position: relative;


}

#logo {

  top:150px;
  left: 50%;
  width: 500px;
  margin-left: -150px;
	position: relative;


}


ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
}

li {
  float: left;
}

li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change the link color to #111 (black) on hover */
li a:hover {
  background-color: #111;
}

.active {
  background-color: #3fa342;
}

ul {
  position: fixed;
  top: 0;
  width: 100%;
}