:root { --text: #e3f2fc; --background: #031621; --primary: #a1c5da; --secondary: #6a139b; --accent: #52ace0; } body { font-family: Arial, sans-serif; color: var(--text); margin: 0; background: var(--background); /* fallback dark color */ } body::before { content: ""; position: fixed; top: 0; left: 0; width: 200vw; height: 200vh; background: radial-gradient(circle at 50% 0%, var(--accent) 0%, var(--background) 70%); animation: moveLight 10s ease-in-out infinite alternate; z-index: -1; } @keyframes moveLight { 0% { transform: translate(-50%, -50%); } 50% { transform: translate(-25%, -40%); } 100% { transform: translate(0%, -50%); } } .login-box { position: absolute; inset: 0px; width: fit-content; height: fit-content; max-width: 100vw; max-height: 100dvh; margin: auto; background: var(--background); padding: 30px; border-radius: 8px; text-align: center; border: solid 1px var(--accent); box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; align-items: center; width: 300px; } input { width: 100%; padding: 8px; margin: 8px 0; background-color: var(--background); color: var(--text); border: solid 1px var(--accent); border-radius: 8px; } button { margin-top: 1rem; width: 100%; padding: 10px; background: var(--accent); color: var(--background); font-size: large; font-weight: bold; border: none; cursor: pointer; } button:hover { background: var(--primary); color: var(--background); } .error { color: red; margin-top: 10px; }