I like your code, they are well structured and easy to read, I can see your effort on naming the variables, I also find it challenging to name the variables for the primary colors. I learnt a lot from your code, thank you.
Do you think it is better to use article tag for each card, increase semantics?