const _dpr = devicePixelRatio; window.addEventListener('resize', () => { document.documentElement.style.scale = _dpr / devicePixelRatio })