Css is really tricky and shouldn't be overlooked, I've been battling with a simple bug for the past 2 days now(gone through stack overflow, also asked chat gpt ) and still wasn't able to figure out what was wrong, until i went back to the mdn css docs then I saw my mistake.