.headerbg ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

.headerbg li {
    float: left;
}

.headerbg li a {
	font-family: 'Alegreya SC', serif;
    display: block;
    color: white;
    text-align: center;
    padding: 17px 15px;
    text-decoration: none;
}

.headerbg li p {
	font-family: 'Alegreya SC', serif;
    display: block;
    color: white;
    text-align: center;
	padding: 0px 15px;
    text-decoration: none;
}

a:hover:not(.active) {
    background-color: #111;
}

.active {
background-color:#4CAF50;
}