Updated px to em and fixed some inconsistencies