Added transitions to the card background color