body {     
    margin: 0;
}

.topnav {
    background-color: #890195;
    overflow: hidden;
}

.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {
    background-color: #3405cf;
    color: black;
}
 
.topnav a.active {
    background-color: #9e8e02;
    color: white;
}