The zoom-level affect the viewport width and hence regular media queries on max-width and min-width should be sufficient to handle the zoom levels as well
For Example, you can try to zoom out and zoom in this Hashnode page at 1024 width and it would look like following
window.innerWidth // 683

window.innerWidth // 1024

window.innerWidth // 2048
