window.addEventListener('scroll', e => document.documentElement.style.setProperty('--scrollTop', window.scrollY));