remove unnecessary media queries for buttons, use medium-up breakpoint additional button styles
fix bug with outerHTML not being defined in clearing
remove unnecessary conditional checks
use medium-up media query for clearing styles
use built in media queries wherever possible