updating media queries to relfect previous changes to elements