@media screen and (min-width: 601px) {
  .topnav {
    display:none;
  }
}
.topnav {
background-color: #ddd;
position: fixed;
z-index:999;
width: 100%;
}

.topnav #mobileLinks {
display: none;
}

.topnav a {
padding: 14px 16px;
text-decoration: none;
display: block;
}

.topnav a.icon {
background: ddd;
display: block;
position: absolute;
right: 0;
top: 0;
}

.topnav a:hover {
background-color: #ddd;
color: black;
}