card css class, and bg color change on play