I saw the "Design" page of Apple's presentation of macOS Monterey. They used a "parallax effect". When I inquired on the internet, they told me that there are many JavaScript libraries that animate the elements according to what I need when the page is scrolled, but what exactly did Apple use? Here's the link macOS Monterey