I'm creating a navigation bar with multiple buttons. The buttons have a text-shadow to stand out on a background image I have on my page, as the navigation bar is transparent. As I hover over the nav, the nav takes on a background color, and I'd like all of the buttons to remove its text-shadow as it's not eye appealing. As I hover on a button, that button is the only one without the text-shadow, while the other buttons still have it. Any solutions? I'm pretty sure this should be simple.
nav button {
font-family: 'Didact Gothic', sans-serif;
font-size: 170%;
color: hsla(48, 70%, 63%, 1);
text-shadow: 0px 0px 5px black;
cursor: pointer;
background: none;
border: none;
margin: 0% 2% 0% 2%;
/* To give space between the buttons */
padding: .3% 2% .6% 2%;
/* To give space inside the buttons */
transition: 0.3s;
}
nav button:hover {
background-color: hsla(9, 57%, 50%, 1);
color: hsla(48, 70%, 83%, 1);
text-shadow: none;
}
<nav>
<hr>
<a href="Big Duck.html"><button>Home</button></a>
<a href="Menu.html"><button>Menu</button></a>
<a href="Photogallery.html"><button>Photogallery</button></a>
</nav>