nav { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(to left, rgb(10, 10, 10), rgb(25, 25, 25)); color: white; position: sticky; top: 0; z-index: 999; } nav a { text-decoration: none; color: white; } nav img { cursor: pointer; } nav ul { display: flex; } nav ul li { margin-right: 30px; list-style: none; cursor: pointer; } nav ul li:hover { text-decoration: underline; }