refactoring a bit the css for the cards