fixinng glitch in css taht was causing styles only to be appl.ied at certain widths