Simplify flex item code and use BEM naming conventions