.App { position: relative; width: 100vw; height: 100vh; text-align: center; background: rgb(218, 232, 255); display: flex; flex-direction: column; overflow: hidden; canvas { position: absolute; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 1; } .block { background-size: cover; background-position: center; opacity: 1; position: absolute; } .mist { position: absolute; z-index: 100; display: flex; flex-direction: column; align-items: center; .ball { position: absolute; width: 100%; height: 100%; filter: blur(50px); border-radius: 50%; background: rgba(255, 255, 255, 0.8); } .text { text-align: center; color: #000; font-size: 60px; margin: auto; z-index: 1; } } }