@font-face { font-family: sinistre; src: url(fonts/Sinistre-StCaroline.woff), url(fonts/Sinistre-StCaroline.otf); } @font-face { font-family: jolybolditalic; src: url(fonts/JolyDisplay-BoldDisplayItalic.woff), url(fonts/JolyDisplay-BoldDisplayItalic.otf); } @font-face { font-family: jolyregular; src: url(fonts/JolyDisplay-RegularDisplay.woff), url(fonts/JolyDisplay-RegularDisplay.otf); } @font-face { font-family: jolyregularitalic; src: url(fonts/JolyDisplay-RegularDisplayItalic.woff), url(fonts/JolyDisplay-RegularDisplayItalic.otf); } body { font-family: jolyregular; font-size: 1.8vw; overflow: hidden; } .back{ position: fixed; color:#c94dff ; text-align: center; font-family: jolyregular; background-color: white; top:40%; bottom:43%; left:35%; right:35%; border: 1px solid #c94dff; -webkit-box-shadow: 10px 10px 0px 0px #c94dff; -moz-box-shadow: 10px 10px 0px 0px #c94dff; box-shadow: 10px 10px 0px 0px #c94dff; font-size: 0.8em; padding-top: 1.5em; z-index: 100; line-height: 1.5em; } .button_back{ font-size: 2.8vh; -webkit-appearance: none; background-color: white; border: 1px #c94dff solid; border-radius: 25em; color:#c94dff; cursor:pointer; font-family: jolybolditalic; padding-bottom:3px; } .button_back:hover{ border: 0.1em transparent solid; -webkit-box-shadow: 0px 0px 8px 1px #c94dff; -moz-box-shadow: 0px 0px 8px 1px #c94dff; box-shadow: 0px 0px 8px 1px #c94dff; } .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; } div#player_img { bottom: 25%; left: 18%; position:absolute ; z-index: 20; } #groundline { position: fixed; top:130px; height:0%; width: 100%; border-top: 1px solid; } div.text_container { bottom: 35px; left:40px; right:40px; position:absolute; margin: auto; line-height: 1.3em; } 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; } /*images*/ #tree1 { top:8%; left: 40%; position: absolute; } #lizard { top:140px; left: 35%; position: absolute; z-index:-1; } #tree2 { bottom:40%; left: 10%; position: absolute; z-index:16; } #tree3 { bottom:24%; right: 11%; position: absolute; z-index:10; } #grass1{ bottom: 19%; left: 66%; position: absolute; z-index:17; } #grass2{ bottom: 70%; left: 60%; position: absolute; } #house1{ bottom:25%; left: 35%; position: absolute; cursor: pointer; } #house2{ top:25%; left: 75%; position: absolute; cursor: pointer; } #snake{ top:29%; left: 76%; position: absolute; cursor: pointer; z-index:-1; } #house3{ top: 52%; left: 55%; position: absolute; cursor: pointer; z-index: 1; } #dog{ top: 52%; left: 55%; position: absolute; cursor: pointer; z-index: 0; } #house4{ top: 20%; left: 10%; position: absolute; cursor: pointer; } #house5{ top: 30%; left: 50%; position: absolute; cursor: pointer; } #house6{ top: 30%; left: 30%; position: absolute; cursor: pointer; } #fence1{ top: 60%; left: 70%; position: absolute; } #fence2{ top: 10%; left: 80%; position: absolute; } #toy{ top: 43%; left: 35%; position: absolute; } #fly1{ top: 40%; left: 69%; position: absolute; z-index:20; } #fly2{ top: 10%; left: 25%; position: absolute; z-index:20; } #pat { bottom:45%; left: 45%; position: absolute; } /* bubbles*/ .bubble1 { bottom: 64%; left: 33%; position: absolute; background: #ffffff; color: #000000; font-family: sinistre; font-size: 16px; line-height: 17px; text-align: center; width: 120px; height: 55px; border-radius: 10px; padding: 18px; border: 1px black solid; z-index: 10; cursor: pointer; } .bubble1:after { content: ''; position: absolute; display: block; width: 0; z-index: 1; border-style: solid; border-width: 0 30px 24px 0; border-color: transparent #ffffff transparent transparent; bottom: -24px; left: 83%; margin-left: -15px; } .bubble1:before { content: ''; position: absolute; width: 0; z-index: 0; border-style: solid; border-width: 0 31px 25px 0; border-color: transparent #000000 transparent transparent; bottom: -26px; left: 83%; margin-left: -15px; display: block; } .bubble2 { bottom: 64%; left: 50%; position: absolute; background: #ffffff; color: #000000; font-family:sinistre; font-size: 16px; line-height: 17px; text-align: center; width: 160px; height: 35px; border-radius: 10px; padding: 18px; border: #000000 solid 1px; z-index: 10; cursor:pointer; } .bubble2:after { content: ''; position: absolute; display: block; width: 0; z-index: 2; border-style: solid; border-width: 24px 30px 0 0; border-color: #ffffff transparent transparent transparent; bottom: -24px; left: 17%; margin-left: -15px; } .bubble2:before { content: ''; position: absolute; width: 0; z-index: 0; border-style: solid; border-width: 25px 31px 0 0; border-color: #000000 transparent transparent transparent; bottom: -26px; left: 17%; margin-left: -16px; display: block; } .bubble3 { bottom: 65%; left: 30%; position: absolute; background: #ffffff; color: #000000; font-family: sinistre; font-size: 16px; line-height: 17px; text-align: center; width: 190px; height: 120px; border-radius: 10px; padding: 18px; border: 1px black solid; z-index: 10; cursor: pointer; } .bubble3:after { content: ''; position: absolute; display: block; width: 0; z-index: 1; border-style: solid; border-width: 0 30px 24px 0; border-color: transparent #ffffff transparent transparent; bottom: -24px; left: 83%; margin-left: -15px; } .bubble3:before { content: ''; position: absolute; width: 0; z-index: 0; border-style: solid; border-width: 0 31px 25px 0; border-color: transparent #000000 transparent transparent; bottom: -26px; left: 83%; margin-left: -15px; display: block; } .bubble4 { bottom: 64%; left: 50%; position: absolute; background: #ffffff; color: #000000; font-family:sinistre; font-size: 16px; line-height: 17px; text-align: center; width: 160px; height: 40px; border-radius: 10px; padding: 18px; border: #000000 solid 1px; z-index: 10; cursor: pointer; } .bubble4:after { content: ''; position: absolute; display: block; width: 0; z-index: 2; border-style: solid; border-width: 24px 30px 0 0; border-color: #ffffff transparent transparent transparent; bottom: -24px; left: 17%; margin-left: -15px; } .bubble4:before { content: ''; position: absolute; width: 0; z-index: 0; border-style: solid; border-width: 25px 31px 0 0; border-color: #000000 transparent transparent transparent; bottom: -26px; left: 17%; margin-left: -16px; display: block; } .bubble5 { bottom: 65%; left: 24%; position: absolute; background: #ffffff; color: #000000; font-family: sinistre; font-size: 16px; line-height: 17px; text-align: center; width: 250px; height: 105px; border-radius: 10px; padding: 18px; border: 1px black solid; z-index: 20; cursor: pointer; } .bubble5:after { content: ''; position: absolute; display: block; width: 0; z-index: 1; border-style: solid; border-width: 0 30px 24px 0; border-color: transparent #ffffff transparent transparent; bottom: -24px; left: 83%; margin-left: -15px; } .bubble5:before { content: ''; position: absolute; width: 0; z-index: 0; border-style: solid; border-width: 0 31px 25px 0; border-color: transparent #000000 transparent transparent; bottom: -26px; left: 83%; margin-left: -15px; display: block; } .bubble6 { bottom: 64%; left: 50%; position: absolute; background: #ffffff; color: #000000; font-family:sinistre; font-size: 16px; line-height: 17px; text-align: center; width: 160px; height: 55px; border-radius: 10px; padding: 18px; border: #000000 solid 1px; z-index: 10; cursor: pointer; } .bubble6:after { content: ''; position: absolute; display: block; width: 0; z-index: 2; border-style: solid; border-width: 24px 30px 0 0; border-color: #ffffff transparent transparent transparent; bottom: -24px; left: 17%; margin-left: -15px; } .bubble6:before { content: ''; position: absolute; width: 0; z-index: 0; border-style: solid; border-width: 25px 31px 0 0; border-color: #000000 transparent transparent transparent; bottom: -26px; left: 17%; margin-left: -16px; display: block; } @keyframes touch { 0% {transform: rotate(0deg);} 50% {transform: rotate(-10deg);} 100% {transform: rotate(0deg);} } .touch_animation{ animation-name: touch; animation-duration: 0.2s; } /* hide scroll bar */ /* width */ ::-webkit-scrollbar { color:white; } /* Track */ ::-webkit-scrollbar-track { background: white; } /* Handle */ ::-webkit-scrollbar-thumb { background: white; } /* Handle on hover */ ::-webkit-scrollbar-thumb:hover { background: white; }