You need to get rid of the <br>
's and make the links block-level elements. Inline-block elements can have padding, however it's the combination of inline-block and <br>
that's causing your issue. <br>
doesn't respect margin/padding very well.
Try using
.navibar {
display: block;
padding: 10px 0;
}