added card styles to main text