left: 50%; transform: translateX(-50%);
left: 50%; margin-left: -400px; /* Half of the width */
.centered { position: fixed; left: 50%; transform: translate(-50%, 0); }