@keyframes jst-fadein { from { background-color: transparent; } to { background-color: black; } } @keyframes jst-fadeout { from { background-color: black; } to { background-color: transparent; } } .jst-fade { position: fixed; left: 0px; top: 0px; width: 100vw; height: 100vh; z-index: 100; } .jst-error { position: fixed; top: 50vh; left: 50vw; transform: translate(-50%, -50%); color: rgb(247, 69, 69); font-size: large; z-index: 101; }