changed font units to rem, fixed some visibility selectors