Here are the steps to change styles on hover and click for the navigation links:
1. Add a hover state:
ul#navi li a:hover {
background-color: gray;
border-color: blue;
}
2. Add an active/clicked state:
ul#navi li a:active {
background-color: darkgray;
border-color: darkblue;
}
This will change the background and border colors when hovering over and clicking the links.