base css style for the demo, with a touch of flexbox