I want the pink to overwrite the blue on hover
The blue border, as I understand it, is on the
nav so you can’t override that on any particular
li only cover it up by playing with margins as you have found.
The margins shouldn’t be a huge issue at other screen sizes but the effect is quite odd looking at mobile size.