Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
Fair play points would have been used as tiebreakers if the overall and head-to-head records of teams were tied. These were calculated based on yellow and red cards received in all group matches as follows:
first yellow card: −1 point;
indirect red card (second yellow card): −3 points;
direct red card: −4 points;
yellow card and direct red card: −5 points;
Only one of the above deductions was applied to a player in a single match.