*{ margin: 0; padding: 0; box-sizing: border-box; transition: 1s; } body { margin: 1em; background: black; font-family: 'Uncial Antiqua', serif; color: black; overflow: hidden; overflow-x: hidden; padding-top: 10px; } font-family: 'Rakkas', cursive; font-family: 'Spectral', serif; font-family: 'Texturina', serif; font-family: 'Uncial Antiqua', cursive; canvas { width: 100%; height: 100%; display: flex; align-items: center; z-index: 1; position:fixed; top:0; bottom:0; left:0; right:0; } #quote{ font-size: 10px; color: orange} @font-face {font-family: Anka; src: url("fonts/AnkaCoder-b.ttf");} @font-face {font-family: wftfs; src: url("wftfs-Regular.otf");} .cover { width: 100%; max-width: 100%; height:100%; background-color:#000000; padding: 10px; border-radius: 5px; box-shadow: 0 0 10px 2px; z-index: 10; color: black; position: fixed; top: 50%; left: 50%; z-index:9; transform: translate(-50%, -50%); opacity: 1; visibility:hidden; } #game-text{ position: sticky; margin-top: 20px; z-index: 10; max-width: 30%; top: 50%; left: 50%; transform: translate(-50%, -50%);} /*button { width: 1%; height: 30px; text-align:left; font-size: 1em; margin-top:15px; padding: 12px 20px; margin: 8px 0; box-sizing: border-box; border: red; font-family: Anka; color: yellowgreen; background-color:rgba(255, 0, 0, 0);; position: fixed; text-decoration: none; z-index: 10; top: 50%; border-radius: 20px; } button:hover { width: 1%; height: 30px; text-align:left; font-size: 1em; margin-top:15px; padding: 12px 20px; margin: 8px 0; box-sizing: border-box; border: red; font-family: Anka; color: yellowgreen; background-color:rgba(255, 0, 0, 0); position: fixed; text-decoration: none; z-index: 10; top: 50%; scale: 160%; }*/ #yes{ left: 35%; } #no{ right:35%; } #forward{ top:35%; left: 50%; transform: translate(-50%, -50%); } #back{ top: 70%; left: 50%; transform: translate(-50%, -50%); } .container { width: 60%; max-width: 70%; height: 80%; background-color: #b0abb4de; padding: 10px; border-radius: 5px; z-index: 10; color: blue; position:fixed; top: 20em; left: 50%; transform: translate(-50%, -50%); opacity: 1; padding: 1em; background-color: grey; box-shadow: 0 0 40px #214c12; overflow: scroll; overflow-x: hidden; } .container:hover{box-shadow: 0 0 60px #FF2200;} .container:hover{box-shadow: 0 0 10px black, 0 0 20px black, 0 0 30px yellowgreen;} .container2 { width: 50%; max-width: 80%; background-color: white; padding: 10px; border-radius: 5px; box-shadow: 0 0 10px 2px; z-index: 10; color: #214c12; position: fixed; top: 30%; left: 50%; transform: translate(-50%, -50%); opacity: 0; visibility: hidden; } .btn { background-color: grey; border: rgba(255, 0, 0, 0); border-radius: 5px; color:#214c12; outline: none; z-index: 11; font-family: Anka; position: fixed; top: 10px; left: 10px; max-width: 50%; text-decoration: none; box-shadow: 0 0 10px #214c12; padding: 2px; } .btn2 { background-color: #bfeaea; border: rgba(255, 0, 0, 0); border-radius: 5px; color:#214c12; outline: none; z-index: 11; font-family: Anka; position: fixed; top: 10px; right: 10px; max-width: 50%; text-decoration: none; box-shadow: 0 0 10px #214c12; padding: 2px; } .btn3 { background-color: #bfeaea; border: rgba(255, 0, 0, 0); border-radius: 5px; color:#214c12; outline: none; z-index: 11; font-family: Anka; position: fixed; top: 3em; left: 10px; max-width: 50%; text-decoration: none; box-shadow: 0 0 10px #214c12; padding: 2px; } #text{z-index: 10; color: #7f00ff} p{z-index: 110; max-width: 75ch; color:#3f00ff; font-family: 'Texturina', serif; } a{ text-decoration: none; color: red; } a:hover{ text-decoration: none; color: red; size: 4em;} button:hover { border-color: black; background-color: darkgray; z-index: 10; box-shadow: 0 0 10px #214c12; } button {background-color:yellow;} @media only screen and (max-width: 768px) { /* For mobile phones: */ [class*="container"] { width: 100%; } } #anchor{} .header{position: absolute; height: 10px; z-index: 100;} .new{z-index:15; position: absolute; overflow: scroll; color: blue; height: 97%; padding: 10px; z-index: 10; color: #242322; position:fixed; right: 0.01px; border-radius: 2px; top: 10px; opacity: 1; padding: 1em; box-shadow: 0 0 40px #214c12; background-color:#bbb9c17d; overflow: scroll; overflow-x: hidden; resize: both;} .new:hover{box-shadow: 0 0 40px #242322;} #rock{z-index: 5; position: fixed; top: 10px; right:0.1px; height:120%;}