Может кто знает как еще сделать чтобы при активном футере определенный блок становился display: none?
A value other than none for the filter property results in the creation of a containing block for absolute and fixed positioned descendants unless the element it applies to is a document root element in the current browsing context. The list of functions are applied in the order provided.