:host { display: flex; align-items: center; justify-content: center; height: 100%; margin-top: -66px; background: rgba(0, 0, 0, .65) url("https://4kwallpapers.com/images/walls/thumbs_2t/13136.png"); background-blend-mode: darken; background-size: cover; } #box { animation: ease-in-out fadeIn .1s; display: flex; flex-direction: column; max-width: 500px; gap: 10px; backdrop-filter: blur(10px); background-color: color-mix(in srgb, var(--background-color), transparent 50%); padding: 90px 30px; border-radius: 5px; border-style: solid; border-width: 1px; border-color: var(--highlight-color); z-index: 2; & > div { display: flex; flex-direction: column; } } #password { border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .border { border-style: solid; border-width: 1px; padding: 10px; margin: 10px; position: absolute; background-color: white; box-shadow: 0 0 10px 10px black; } #bar { height: 5px; width: 100%; appearance: none; overflow: hidden; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; /*margin-top: -5px;*/ } #bar::-webkit-progress-bar { background-color: lightgray; transition: width 0.5s ease-in-out, background-color 0.5s ease-in-out; } .color0::-webkit-progress-value { background: rgba(255, 0 ,0, 1); transition: background-color 0.5s ease-in-out, width 0.5s ease-in-out; } .color1::-webkit-progress-value { background: rgba(255, 0 ,0, 1); transition: background-color 0.5s ease-in-out, width 0.5s ease-in-out; } .color2::-webkit-progress-value { background: rgba(255, 165, 0, 1); transition: background-color 0.5s ease-in-out, width 0.5s ease-in-out; } .color3::-webkit-progress-value { background: rgba(255, 255, 0, 1); transition: background-color 0.5s ease-in-out, width 0.5s ease-in-out; } .color4::-webkit-progress-value { background: rgba(173, 255, 47, 1); transition: background-color 0.5s ease-in-out, width 0.5s ease-in-out; } .color5::-webkit-progress-value { background: rgba(50, 205, 50, 1); transition: background-color 0.5s ease-in-out, width 0.5s ease-in-out; } .color6::-webkit-progress-value { background: rgba(0, 128, 0, 1); transition: background-color 0.5s ease-in-out, width 0.5s ease-in-out; } #requirement2, #statusText, #passwordStatusText, #usernameStatusText { color: red; } #passReq { display: flex; flex-direction: column; margin-top: 10px; } #box > div { div { display: flex; flex-direction: column; } } h1 { margin-top: 0; } #bg-cr { position: absolute; margin-top: -150px; top:0; width: 100vw; height: calc(100vh + 150px); background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1)), url("/login-cr.jpg"); background-size: cover; opacity: calc(var(--opacity-cr)); z-index: 1; } #bg-jf { position: absolute; top:0; width: 100vw; height: 100vh; background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/login-jf.jpg"); /*backdrop-filter: brightness(1%);*/ background-size: cover; opacity: var(--opacity-jf); z-index: 1; } @keyframes fadeIn { from { transform: translateY(-20px); opacity: 0 } to { opacity: 1 } }