@use "sass:color"; #run { width: 100%; height: 100vh; background-color: transparent; border: none; } body { font-family: Arial; background-color: black; color: white; margin: 0; overflow-x: hidden; overflow-y: hidden; } .idle { display: flex; flex-direction: column; width: 100%; height: 100vh; justify-content: center; align-items: center; h1 { transition: .5s ease transform, .5s ease opacity; font-size: 3em; opacity: 0; transform: translateY(-100%); } h2 { transition: .5s ease opacity; color: color.scale(white, $lightness: -25%); margin: 0; opacity: 0; font-weight: normal; } .logos { display: flex; margin-top: 15em; justify-content: center; align-items: center; .logo { display: flex; align-items: center; transition: .5s ease-out transform, .5s ease-out opacity; height: 7em; transform: translateY(100%); opacity: 0; margin: 0 2em; img { max-height: 100%; max-width: 25em; } } } } .video { display: block; video { transition: 1s linear opacity; width: 100vw; height: 100vh; object-fit: contain; opacity: 0; } } .main { transition: .5s ease opacity; opacity: 0; .disclaimer { color: color.adjust(white, $lightness: -40%); position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); font-size: 1.5em; } } .question { display: flex; flex-direction: column; width: 100%; align-items: center; margin-bottom: 5em; p { transition: .5s ease opacity; font-size: 2em; opacity: 0; } .link { display: flex; align-items: center; height: fit-content; margin-top: 1em; margin-bottom: 2em; .qr { display: block; margin-left: 2em; width: 7em; height: 7em; } } } .subtitles { display: flex; width: 90%; justify-content: space-between; margin: 0 auto; .lang { display: block; width: 100%; margin: 0 2em; overflow: hidden; } } .scrolling-textbox { $line-height: 2rem; display: flex; position: relative; flex-direction: column; padding-top: $line-height; box-sizing: border-box; overflow-x: hidden; -ms-overflow-style: none; scrollbar-width: none; width: 100%; height: 1000px; .paragraph { transition: .5s ease color, .5s ease transform, .5s ease opacity; position: absolute; display: flex; font-size: $line-height; flex-wrap: wrap; margin: 0; top: 0; transform: translateY(0); height: fit-content; width: 100%; max-width: 100%; .word { transition: .2s ease opacity, .2s ease transform; margin: 0; margin-right: .5ch; } } .previous { position: absolute; transition: .5s ease transform, .5s ease opacity; color: grey; transform: translateY(-100%); } } .scrolling-textbox::-webkit-scrollbar { display: none; }