body {margin: 0;}

ul.bottomnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

ul.bottomnav li {
    float: left;
    padding: 0;
}

ul.bottomnav li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

ul.bottomnav li a:hover:not(.active) {background-color: #111;}

ul.bottomnav li a.active {background-color: #4CAF50;}

@media screen and (max-width: 600px){
    ul.bottomnav li {float: none;}
}