@font-face { font-family: sinistre; src: url(fonts/Sinistre-S†Caroline.woff), url(fonts/Sinistre-S†Caroline.otf); } @font-face { font-family: jolybolditalic; src: url(fonts/JolyDisplay-BoldDisplayItalic.woff), url(fonts/JolyDisplay-BoldDisplayItalic.otf); } @font-face { font-family: jolyregularitalic; src: url(fonts/JolyDisplay-RegularDisplayItalic.woff), url(fonts/JolyDisplay-RegularDisplayItalic.otf); } @font-face { font-family: jolyregular; src: url(fonts/JolyDisplay-RegularDisplay.woff), url(fonts/JolyDisplay-RegularDisplay.otf); } @font-face { font-family: jolybold; src: url(fonts/JolyDisplay-BoldDisplay.woff), url(fonts/JolyDisplay-BoldDisplay.otf); } .invert{ filter: invert(100%); } body { font-family: jolyregular; font-size: 1.8vw; overflow-y: hidden; } .instructions{ font-family:jolyregularitalic; } span.instructions_arrow{ padding-left:40px; font-size: 2.4vw; font-family:jolybolditalic; } ::-moz-selection { /* Code for Firefox */ background: transparent; } ::selection { background: transparent; } #ground_color { width: 5100px; height: 120%; position:fixed; margin:-100px; background-color: white; z-index:-10; } #ground{ position:absolute; height:100%; width:5000px; } #groundline { position: fixed; top:130px; height:0%; width: 100%; border-top: 1px solid; z-index:-10; } div.text_container { bottom: 40px; left:40px; right:40px; position:fixed; margin: auto; line-height: 1.4em; } button{ -webkit-appearance: none; background-color: white; border: 0.1em black solid; border-radius: 25em; color:black; cursor:pointer; font-family: jolybolditalic; } button:hover{ border: 0.1em transparent solid; -webkit-box-shadow: 0px 0px 8px 1px black; -moz-box-shadow: 0px 0px 8px 1px black; box-shadow: 0px 0px 8px 1px black; } span.button_text{ font-size: 1.6vw; padding: 8px; } #player_name{ font-family: jolybolditalic; } /*army*/ div#player_img { top: 40%; left: 100%; position:absolute ; z-index: 3; } .army { position: absolute; top:10%; left: 5%; width: 450px; height: 300px; } #fighter1 { top:50%; left: 80%; position: absolute; z-index:0; } #fighter2 { top:5%; left: 50%; position: absolute; z-index:0; } #fighter3 { top:20%; left: 30%; position: absolute; z-index:0; } #fighter4 { top:100%; left: 45%; position: absolute; z-index:0; } #fighter5 { top:40%; left: 50%; position: absolute; z-index:0; } #fighter6 { top:70%; left: 65%; position: absolute; z-index:0; } #fighter7 { top:58%; left: 40%; position: absolute; z-index:0; } #fighter8 { top:50%; left: 5%; position: absolute; z-index:0; } #fighter9 { top:50%; left: 5%; position: absolute; z-index:0; } /*images*/ #tree1 { top:6%; left: 17%; position: absolute; z-index:0; } #tree2 { top:40%; left: 14%; position: absolute; z-index:2; } #tree3 { bottom:45%; left: 30%; position: absolute; z-index:2; } #tree4{ bottom: 20%; left: 70%; position: absolute; z-index:4; } #tree5{ top: 10%; right: 4%; position: absolute; z-index:1; } #tree6{ top: 10%; left: 40%; position: absolute; z-index:1; } #flower1 { bottom:68%; left: 5%; position: absolute; z-index:0; } #flower2{ bottom: 28%; left: 1.5%; position: absolute; z-index:17; } #flower3{ bottom: 50%; left: 13%; position: absolute; z-index:2; } #flower4{ bottom: 35%; left: 22%; position: absolute; z-index:2; } #flower5{ bottom: 65%; left: 17%; position: absolute; z-index:0; } #flower6{ bottom: 65%; left: 80%; position: absolute; z-index:2; } #flower7{ bottom: 50%; left: 55%; position: absolute; z-index:0; } #flower8{ bottom: 30%; left: 97%; position: absolute; z-index:1; } #flower9{ top: 23%; left: 32%; position: absolute; cursor: pointer; z-index:0; } /* hide scroll bar */ /* width */ ::-webkit-scrollbar { color:black; } /* Track */ ::-webkit-scrollbar-track { background: black; } /* Handle */ ::-webkit-scrollbar-thumb { background: black; } /* Handle on hover */ ::-webkit-scrollbar-thumb:hover { background: black; }