GIFS and prefers-reduced-motion
The <picture>
element has a trick it can do where it shows different image formats in different situations. If all you are interested in is formats for the sake of performance, maybe you’d do:
<picture<source srcset="img/waterfall.avif" type="image/avif"<source srcset="img/waterfall.webp"
…