card color changes dynamically all cards are of same size