changed card styles to fix flipping issues