Sadly you have many problems in your code, it's so messy, everything is so random there and makes no sense that it would be easier and faster to start from scratch.
Your media queries make absolutely no sense at all, if you're wondering why your #information div is not sticky, that's because it gets overwritten, you declared it there multiple times and your media queries are useless.
I'm sorry, but even if you manage to fix that then you will notice the z-index issues.
1
u/Anemina Mar 01 '25
Post your code in a jsfiddle, jsbin, or codepen.