Hi, I am looking for some help with a ScrollTrigger issue, appreciate any advice I can get. I am having an issue where an element isn't maintaining its square dimensions when scrolling up. On the scroll down, there is a colored div that spans the full width and height of a users desktop screen. As the user scrolls, the full screen div will shrink into a square and slowly rotate into a company's logo. After that, it fades to white then fades in some words then fades out to white again then you proceed/scroll to the next section of the site. I had to set a fixed width to scale it to so I could get the square ratio that I needed. I couldn't achieve this using the scale property alone. The animation is fine on the way down but on the way up, the square loses its ratio and becomes a rectangle causing the logo and words to be misaligned. How do I go about fixing this issue? I've been stuck on this issue for several weeks and any advice would be greatly appreciated.
Also realizing now that it doesn't shrink down to the center with short heights. If you view it on CodePens site you can see the issue more clearly.
Thanks