Refactor styles for better mobile and tablet support