Just starting out with HTML/CSS and I'm facing an issue with spacing out the items on my nav-link. Specifically, the "collections" and "spark" items are overlapping. Can anyone provide guidance on why this is happening and how I can resolve it? Should I be using Flexbox or grid for this? Below is the code snippet for reference.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<title>My Website</title>
<link rel="stylesheet" href="nav.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com"
crossorigin>
<link href="https://fonts.googleapis.com/css2?
family=Ubuntu:wght@500&display=swap" rel="stylesheet">
</head>
<body>
<div class="navigation-wrapper">
<div class="left-column">
<img src="Logos/codepen-wordmark-display-inside-
<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="c8bfa0a1bcad88f9f8b0e6b8a6af">[email protected]</a>" alt="Logo">
</div>
<div class="center-column">
<div class="links-wrapper">
<div class="nav-link">
<a href="pens.html">Pens</a>
</div>
<div class="nav-link">
<a href="projects.html">Projects</a>
</div>
<div class="nav-link">
<a href="posts.html">Posts</a>
</div>
<div class="nav-link">
<a href="collections.html">Collections</a>
</div>
<div class="nav-link">
<div class="icon">
<i class="fas fa-chevron-down"></i>
<a href="spark.html">Spark</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
.navigation-wrapper {
color: #cbcbcb ;
height: 30px;
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
padding: 50px 10px 35px 5px;
background-color: black;
}
.navigation-wrapper > .left-column {
margin-left: 15px;
margin-bottom: 30px;
width: 250px;
}
.navigation-wrapper > .left-column img {
align-items: top;
width: 175px;
padding: 30px 50px 10px 15px;
}
...
.nav-link a {
color:#cbcbcb;
text-decoration: none;
font-family: 'Ubuntu', sans-serif;
font-size: 20px;
font-weight: bold;
transition: 1.0s;
}