Added styling for small and medium devices