@keyframes move { 100% { transform: translate3d(0, 0, 1px) rotate(360deg); } } body { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; height: 100vh; display: flex; justify-content: center; align-items: center; overflow: hidden; position: relative; z-index: 1; } .background { position: fixed; width: 100vw; height: 100vh; top: 0; left: 0; background: #121013; overflow: hidden; z-index: -1; } .background span { width: 20vmin; height: 20vmin; border-radius: 20vmin; backface-visibility: hidden; position: absolute; animation: move; animation-duration: 45s; animation-timing-function: linear; animation-iteration-count: infinite; } .background span:nth-child(1) { color: rgb(255,0,247); top: 14%; left: 71%; animation-duration: 49s; animation-delay: -19s; transform-origin: -18vw -11vh; box-shadow: -40vmin 0 5.251035345795852vmin currentColor; } .background span:nth-child(2) { color: #e6e6e6; top: 70%; left: 42%; animation-duration: 39s; animation-delay: -2s; transform-origin: -14vw 6vh; box-shadow: 40vmin 0 5.08975419083088vmin currentColor; } .background span:nth-child(3) { color: #115cd4; top: 11%; left: 8%; animation-duration: 20s; animation-delay: -24s; transform-origin: -18vw -10vh; box-shadow: 40vmin 0 5.063551100925008vmin currentColor; } .background span:nth-child(4) { color: #e6e6e6; top: 46%; left: 59%; animation-duration: 20s; animation-delay: -28s; transform-origin: 14vw 17vh; box-shadow: -40vmin 0 5.245962283894482vmin currentColor; } .background span:nth-child(5) { color: #115cd4; top: 89%; left: 20%; animation-duration: 47s; animation-delay: -9s; transform-origin: 12vw 13vh; box-shadow: -40vmin 0 5.740600440024011vmin currentColor; } .background span:nth-child(6) { color: #0f83ff; top: 47%; left: 54%; animation-duration: 16s; animation-delay: -32s; transform-origin: 22vw 13vh; box-shadow: 40vmin 0 5.354762007809506vmin currentColor; } .background span:nth-child(7) { color: #115cd4; top: 38%; left: 71%; animation-duration: 51s; animation-delay: -48s; transform-origin: 4vw 7vh; box-shadow: 40vmin 0 5.008239871924536vmin currentColor; } .background span:nth-child(8) { color: #115cd4; top: 53%; left: 5%; animation-duration: 30s; animation-delay: -37s; transform-origin: -8vw 2vh; box-shadow: -40vmin 0 5.534533855509584vmin currentColor; } .background span:nth-child(9) { color: #115cd4; top: 70%; left: 60%; animation-duration: 51s; animation-delay: -21s; transform-origin: 4vw -12vh; box-shadow: -40vmin 0 5.525068203186243vmin currentColor; } .background span:nth-child(10) { color: #115cd4; top: 7%; left: 41%; animation-duration: 51s; animation-delay: -44s; transform-origin: 17vw 25vh; box-shadow: 40vmin 0 5.67511016198557vmin currentColor; } .background span:nth-child(11) { color: #e6e6e6; top: 7%; left: 73%; animation-duration: 52s; animation-delay: -24s; transform-origin: -18vw 23vh; box-shadow: 40vmin 0 5.586494475608501vmin currentColor; } .background span:nth-child(12) { color: #115cd4; top: 22%; left: 34%; animation-duration: 19s; animation-delay: -22s; transform-origin: -10vw 14vh; box-shadow: -40vmin 0 5.465911386354297vmin currentColor; } .container { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100vh; /* Make sure it takes up the full viewport height */ text-align: center; z-index: 1; } .firsttitle { color: white; } .label { position: relative; width: 250px; display: flex; align-items: center; border-radius: 6px; border: 2px solid #c5c5c5; padding: 10px 8px 10px 40px; text-align: left; margin-top: 5px; } .label .icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); transition: all 0.3s ease; color: #c5c5c5; } .label .input { background-color: transparent; outline: none; border: none; color: #c5c5c5; font-size: 16px; flex: 1; } .text4 { color:white; } #submittedUsername { color:white; } .shadow__btn { padding: 10px 20px; border: none; font-size: 17px; color: #fff; border-radius: 7px; letter-spacing: 4px; font-weight: 700; text-transform: uppercase; transition: 0.5s; transition-property: box-shadow; background: rgb(0,140,255); box-shadow: 0 0 25px rgb(0,140,255); margin-top: 20px; } .shadow__btn:hover { box-shadow: 0 0 5px rgb(0,140,255), 0 0 25px rgb(0,140,255), 0 0 50px rgb(0,140,255), 0 0 100px rgb(0,140,255); }