Hello.
I am Japanese and I am writing this question using a translation app. Therefore, please understand that I may not be able to convey the intent of your question well.
I think you can see the results of codepen,
This scrolltrigger's timeline reverts to the start of the animation when it is resized. Also, when resizing from mobile size to PC size, the screen does not resize, only the white margin expands.
Presumably, this phenomenon occurs when the width exceeds the width specified in matchmedia.
How can I resize it so it doesn't bug me?
*I would appreciate it if you could answer in sentences that are easy to translate.