added styling for medium and small screens