Note: Please note that this issue is specific to the desktop version with a minimum width of 64em.
Codepen demo: Check it out here
The Challenge Ahead
The goal here is to ensure that the purple side menu does not impact the position or width of the main red block, unless there is enough space for the menu to slide out on hover. The main red block should maintain a minimum width and expand based on the content until it reaches full width and touches the menu. When the menu slides out, the main block should adjust its width accordingly.
My Attempts So Far
I experimented with using a fixed position for the navigation, which worked well when the main block was at its minimum width. However, the sliding effect caused issues when the main block was at full width.
How can I approach solving this challenge? Is it achievable? And does my current HTML structure support this solution?