@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;900&display=swap'); :root { --bg: rgb(104, 46, 46); --bg-lighter: rgb(255, 112, 115); --scrollbar: rgb(255, 205, 205); --info-block-bg: #c07f7f; --second-color: #e7ffc1; --info-block-border: 10px; } * { user-select: none; -webkit-user-drag: none; } html, body { width: 100%; height: 100%; } body { font-family: 'Merriweather', serif; background: url(background.png) no-repeat center center fixed; background-color: var(--bg); transition: ease-in-out .2s; background-size: cover; overflow: hidden; margin: 0; } #loading-container { transform: translate(-50%, -50%); transition: ease-in-out .3s; position: absolute; color: white; opacity: 1; left: 50%; top: 50%; } #difference { color: var(--second-color); } #container { transition: ease-in-out .3s; justify-content: center; flex-direction: column; align-items: center; display: flex; height: 100%; width: 100%; opacity: 0; } #container>* { color: white; text-align: center; background-color: var(--info-block-bg); max-width: 50%; padding: 15px; margin: 5px; } #facts-block { display: flex; align-items: center; flex-direction: row; justify-content: center; max-width: 50%; } .arrow-button { width: 50px; margin: 10px; cursor: pointer; border-radius: 100%; color: var(--second-color); } .arrow-button[data-left] { float: left; } .arrow-button[data-right] { float: right; } #witch { filter: invert(); } ::-webkit-scrollbar { width: 3px; height: 3px; } ::-webkit-scrollbar-button { width: 0px; height: 0px; } ::-webkit-scrollbar-thumb { background: var(--scrollbar); border-radius: 50px; border: none; } ::-webkit-scrollbar-track { background: #666666; border-radius: 50px; border: none; } ::-webkit-scrollbar-track:hover { background: #666666; } ::-webkit-scrollbar-track:active { background: #333333; } ::-webkit-scrollbar-corner { background: transparent; } @media screen and (max-width: 978px) { .info-block { max-height: 50%; } #container>* { max-width: unset; } #facts-block { max-width: unset; } }