:root { --ifm-background-image-url: url('/img/site/split-background-light.jpg'); } [data-theme='dark'] { --ifm-background-image-url: url('/img/site/split-background.jpg') !important; } .heroBanner { background-repeat: no-repeat; background-position-x: center; background-position-y: center; background-size: cover; height: calc(100vh - 60px); text-align: center; position: relative; overflow: hidden; color: var(--ifm-font-color-base); background-color: var(--ifm-background-color); background-image: var(--ifm-background-image-url); } .heroContent { position: absolute; bottom: 5%; left: 50%; transform: translate(-50%, 0%); width: 100%; } .heroImage { -webkit-filter: drop-shadow(12px 12px 7px rgba(0, 100, 100, 0.5)); filter: drop-shadow(12px 12px 7px rgba(0, 100, 100, 0.5)); } .heroImageBackgroundBlur { position: absolute; top: 0; left: 0; top: 40%; left: 50%; width: 80vh; filter: blur(1.5rem); transform: translate(-50%, -50%); opacity: 0.5; z-index: -1; } @media screen and (max-width: 996px) { .heroBanner { padding: 2rem; } } .textSection { color: #fff; } @media screen and (max-width: 410px) { .textSection h1 { font-size: var(--ifm-h1-font-size); } } .buttons { display: flex; align-items: center; justify-content: center; }