body { // background: rgb(34, 164, 243); background: #00529b; } #background { position: fixed; // top: 25%; // left: 25%; // width: 50%; // height: 50%; top: 0%; left: 0%; width: 100%; height: 100%; .shader { aspect-ratio: 16 / 9; min-width: 100%; min-height: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } }