rendering cards with css and sorted cards for player's hand