Recently, I designed a website on CodePen which you can view here. My goal was to make it responsive across all platforms, but I encountered an issue specifically with IOS. It seems like a single div covers the entire page on IOS and some height elements are not functioning properly, causing content to not fit correctly.
Despite spending days trying to troubleshoot, I still cannot figure out why the heights and rules are acting differently on IOS.
I attempted to remove the video section, which did reveal most of the page except for the blank white eind section. Adding max-height seemed to improve the situation slightly, but the limitation in vertical space remains unresolved on IOS, making this solution inadequate.
Changing the position property also didn't yield any positive results.
It appears that the height properties are malfunctioning exclusively on IOS. Can anyone assist me in understanding the root cause of this issue?
(JavaScript snippet here)
(CSS code snippet here)