fixing styles for main page cards