I assume you mean the rectangle at bottom of nav. You have set the navbar to be 100% height but you have not set the a/li items within it to perectly fill that 100%.
To get them to perfectly fill the space you would need to give nav li and nav header responsive heights like 15% I think rather than padding. But that creates other issues like needing to make the font responsive in your nav header.
A media query is the best way to get nav at top ie width:100vw; top:0px;
You will then need to also change main-doc from margin left to get it beneath the nav. Several ways to do that. I would likely use grid or flex
I’m not sure that is the issue, I think it might something to do with the font-size I chosen, because when I lower the screen to 965px or below the rectangles are gone…
I mean I rather not look at the example’s code because they also write it differently than mine, I might go over some lessons again to strengthen some knowledge. But if you’re talking about the responsive web design principles the lessons are quite simple tbh.
2nd, any ideas how to make the nav bar at the top for mobiles? thanks. (using media queries ofc)
as you said with media queries, you can change al navs styles on mobile, so is fixed at top, full width (100%), I suggest you that you add an hamburguer menu for the links.
About your design, it looks nice but I would add more text and empty spaces, to look more like a document you know several dummie paragraphs and some headings and subheadings.