.topnav{overflow:hidden;background-color:#333}.topnav a{float:left;display:block;color:#f2f2f2;text-align:center;padding:14px 45px;text-decoration:none;font-size:26px}.topnav a:hover{background-color:#ddd;color:#000}.active{background-color:#1c541e;color:#fff}.topnav .icon{display:none}@media screen and (max-width:900px){.topnav a:not(:first-child){display:none}.topnav a.icon{float:right;display:block}}@media screen and (max-width:600px){.topnav a:not(:first-child){display:none}.topnav a.icon{float:right;display:block}}