nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 90%;
  height: 70px;
  background: #161616;
  z-index: 1;
}

nav .navbar {
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 50px;
}

nav .navbar .logo a {
  color: #ffffff;
  font-size: 2.5em;
  font-weight: 600;
  text-decoration: none;
}

nav .navbar .nav-links{
  height: 100%;
  line-height: 70px;
}

nav .navbar .nav-links .links{
  display: flex;
}

nav .navbar .nav-links .links li{
  position: relative;
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0 14px;
}

nav .navbar .nav-links .links li a{
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 1.5em;
  height: 100%;
}

nav .navbar .nav-links .links li:hover {
  background: #555;
}