p{ display: block; position: absolute; top: 30%; left: 50%; transform: translate(-50%,-50%); font-size: 500%; }