First, from a graphic design perspective, you will notice that the page opens “full screen” with an animated photograph. That top section is considered the <header> of the page. The size is controlled by making the height 100% (which only works if you make all the containing objects also 100%, in this case <html> and <body>). The background-size property is then set to “cover”.
Scrolling down you see the main body of the page. If you scroll so the header is no longer visible, the animation stops running in the background. The animation is handled via the <canvas> element. Canvas works by clearing the screen and then re-drawing it 60 times per second — the viewer is given the illusion of movement.