:host { display: flex; align-items: center; justify-content: center; width: 100vw; height: 150vh; overflow: hidden; background-color: transparent; background-blend-mode: darken; margin-top: -66px; } #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; } #box { animation: ease-in-out fadeIn .1s; display: flex; flex-direction: column; /*align-items: center;*/ aspect-ratio: 4/5; min-height: 50vh; /*margin-top: 15vh;*/ gap: 10px; background-color: color-mix(in srgb, var(--background-color), transparent 50%); backdrop-filter: blur(10px); padding: 30px; border-radius: 5px; border-style: solid; border-width: 1px; border-color: var(--highlight-color); z-index: 2; justify-content: center; } #greeting { color: var(--highlight-color); padding: 0; margin: 0; /*font-size: 32px;*/ /* text-decoration: underline; text-decoration-color: var(--highlight-color); */ } .border { border-style: solid; border-width: 1px; padding: 10px; margin: 10px; position: absolute; background-color: white; box-shadow: 0 0 10px 10px black; } #signup { color: var(--highlight-color); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--highlight-color); } input { width: 100%; } h1 { margin-top: 0; } @keyframes fadeIn { from { transform: translateY(-20px); opacity: 0 } to { opacity: 1 } }