I'm using flex to align the items all equally, however, the sub-items of each of them do not align equally, I used the stretch to align and gain size according to the larger, but I do not know how I do so that the elements inside the main items do the same to each other only, I would like to know if there is any way, and how to do it, in a detailed way so that I understand what to do instead of just copying and pasting code without know how it works.
* I've researched flex on many sites, but I do not know how to do it.