adds media queries for buttons and profiles