I've encountered a strange problem with my navbar. I utilized an online template, and the issue is that on the main page, the dropdown menu doesn't extend fully; it only goes as far as the length of the navigation bar (Refer to the image below).
I attempted adjusting the Z-index of the dropdown menu, but that didn't resolve the issue. Below, you'll find the HTML for the navbar, while the CSS files are provided as hyperlinks due to their length.
CSS files for styles.css and navstyles.css: Link
For index.html (the main file): Link
I had to resort to using these sites because pastebin is restricted on my network.
<!doctype html>
...
</html>
To visualize the issue, check out this image: https://i.sstatic.net/yLmX7.png