So I want the nav section to be inline with the other two nav items so it creates a nice all in line centered vertically footer.
However even though the 2nd and 3rd items are in the center the nav bar is touching the bottom of the footer.
code
.footer{
margin-top: auto;
display: flex;
justify-content: space-around;
flex-direction: row;
margin: 0 auto;
align-items: center;
background: #000000;
color: #fff;
height: 50px;
margin-bottom: -25px;
}
.footer-nav a{
font-size: 16px;
text-decoration: none;
color:#fff;
position: relative;
}
.mac{
text-decoration: none;
color: #fff;
}
<div class="footer">
<nav class='footer-nav'>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="careers.html">Careers</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
<span>Website Designed by <a class='mac' href='https://machooper.com'>Mac Hooper</a></span>
<span>Copyright © Vegan Restaraunt</span>
</div>