Where does the display: flex; property go?
display: flex;
It goes inside the rule for the flex container.