adjusted main css to match header js scripts for small device compatibility