My aim is to get my NAV bar buttons next to each other in the centre of the page like this :
Plus my image is not centering for some reason.
@font-face {
src: url(font/BebasNeue-Regular.ttf);
font-family: "Bebas Neue";
}
body {
background-color: #eeeeee;
font-family: 'Bebas Neue', cursive;
}
li {
list-style-type: none;
padding: 0%;
margin: 0%;
}
#header {
align-content: center;
}
#nav-bar {
position: fixed;
top: 0;
width: 100%;
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
display: inline-block;
}
<header id="header">
<img src="image/LOGO.jpg" alt="Multi-Vitamins" id="header-img" />
<nav id="nav-bar">
<ul>
<li><a href="#About" class="nav-link">About</a></li>
<li><a href="#Work" class="nav-link">How it works</a></li>
<li><a href="#Pricing" class="nav-link">Pricing</a></li>
</ul>
</nav>
</header>
<section id="About">
<iframe src="https://youtu.be/ISZLTJH5lYg" frameborder="0" title="Video about Multi-Vitamins" allowfullscreen></iframe>
</section>
<section id="work"></section>
<section id="Pricing"></section>
<form id="form" action=" https://www.freecodecamp.com/email-submit">
<input name="email" id="email" type="email" placeholder="enter your email here" required />
<input name="submit" id="submit" type="submit" />
</form>
