how to horizontally center header at the top of page with flexbox css

CSS
.box.flex {
  display: flex;
  justify-content: center;
}
Source

Also in CSS: