/* MOBILE AND GLOBAL STYLES */ /* applies to screens smaller than 500px (first breakpoint) */ /* and above unless overwritten below */ @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600&display=swap'); :root { } body { font-family: 'Outfit', sans-serif; margin: 0; padding: 0; box-sizing: border-box; } @keyframes fadeImage { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } } #textWindow { width: 100vw; height: 100vh; display: flex; justify-content: center; align-items: center; background-size: cover; transition: opacity 1s forwards; /*transition does not work for images*/ position: relative; } #textWindow #background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; } #textWindow #background-transition { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1s ease-in-out; } h1 { font-size: 10vw; text-align: center; } #titleBanner { padding-left: 5%; padding-right: 5%; transition: color 1s, background-color 1s; } .black { background-color: #000; color: #fff; mix-blend-mode: multiply; } .white { background-color: #fff; color: #000; mix-blend-mode: lighten; } #colorSelector { display: flex; position: fixed; top: 0; right: 0; margin: 10px; align-items: center; } #colorSelector input { margin-left: 10px; } #colorSelector label { font-size: 1.5em; } /* TABLET STYLES */ @media screen and (min-width: 500px) { /* applies to screens wider than 499px */ } /* DESKTOP STYLES */ @media screen and (min-width: 1000px) { /* applies to screens wider than 999px */ }