Hi @GreenSock
First of all, thanks for your reply!
I think my initial description wasn't clear enough, what I'm trying to achieve is the following.
I want my main wrapper to be pinned, so as the user scrolls down and reached the main wrapper pin it.
After that I currently have 2 sections in my example, both sections contain a headline.
Once the user hits the first section (100% of screenheight) and the user starts scrolling down, the headline within that section should fade in and out relative to it's scrolled position in said section.
e.g: first 25% scroll is fading in, 50% is full opacity, last 25% scrolll is fading out the heading.
Then the user will hit the second section and the same behavior applies, this should give the user the impression they're scrollin in the page while the headings are fading in and out. and once they scrolled past the last section the pinned container should be unpinned and normal scroll behavior applies.
The difficulties i'm having now is that the headings aren't fading in properly relative to the scrolled position of it's section, I want the headings to be position fixed (centered in the section container) but this negates what i'm trying to achieve for some reason... on top of that the main wrapper wouldn't pin
I hope this makes more sense, if not (which I can understand) here's a example video of what i'm trying to achieve; https://streamable.com/lx8995
Imagine the common, uncommon, and rare as sections as where the headings are fading in-out based on scroll position.