* { box-sizing: border-box; } body { background-color: red; justify-content: center; align-items: center; margin:50px auto; } h1 { color: white; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; text-align: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; z-index: 9999; } img { margin-left: 150; } button { background-color: #ff0000; border-radius: 5px; padding: 5px; cursor: pointer; box-shadow: 0px 0px 2px 2px rgb(105, 0, 0); }