3d representation of a card game using css 3d matrix