Update main.css to use modern flexbox syntax