* { margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; } html, body { height: 100%; margin: 0; padding: 0; } p, button { font-family: 'Roboto', sans-serif; } p { font-weight: 300; font-size: 12px; } .bold { font-weight: 500; } button { cursor: pointer; font-size: 16px; font-weight: 500; color: #ffffff; background-color: #5e77aa; padding: 0 15px; height: 35px; border: none; border-radius: 3px; } button:enabled:hover, button:enabled:focus { background-color: #29457f; outline: none; } button:disabled { cursor: not-allowed; color: #dddddd; opacity: 0.7; } button.block { padding: 0; width: 100%; } button.gray { background-color: #808080; } button.gray:hover, button.gray:focus { background-color: #555555; } div.buttonContainer { height: 35px; } div.buttonContainer.top { margin-bottom: 10px; } div.buttonContainer.bottom { margin-top: 10px; } #loading { position: absolute; width: 40px; height: 40px; top: 50%; left: 50%; margin-top: -20px; margin-left: -20px; z-index: 3; } #panorama { height: 100%; width: 100%; z-index: 1; } #guess { position: absolute; bottom: 30px; right: 20px; z-index: 2; } #guess.result > #closeGuessButtonContainer, #guess.result > #guessButtonContainer { display: none; } #map { width: 100%; border-radius: 3px; } #guess.result > #map { height: 70%; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } #resultInfo { height: 30%; width: 100%; padding: 10px 20px; text-align: center; box-sizing: border-box; background-color: #ffffff; display: none; } #guess.result > #resultInfo { display: block; } #resultInfo > div { height: 25%; width: 100%; display: flex; justify-content: center; align-items: center; } #resultInfo p { font-size: 24px; } #distanceInfo > p:nth-child(2), #scoreInfo > p:nth-child(2) { display: none; } #scoreBarBase { height: 24px; margin: 0 auto; background-color: #eeeeee; border-radius: 3px; } #scoreBar { height: 100%; width: 0; border-radius: 3px; transition-property: width; transition-duration: 2.0s; } #showSummaryButton, #startNewGameButton { display: none; } @media screen and (max-width: 599px) { button { padding: 0; width: 100%; } #showGuessButtonContainer { position: absolute; left: 20px; bottom: 30px; right: 20px; z-index: 2; } #guess { left: 20px; top: 20px; opacity: 0.95; visibility: hidden; } #map { height: calc(100% - 90px); } #scoreBarBase { width: 100%; } } @media screen and (min-width: 600px) { #showGuessButtonContainer { display: none; } #guess { width: 500px; height: 375px; opacity: 0.95; } #guess.adapt { top: initial; width: 250px; height: 200px; opacity: 0.5; transition-property: width, height, opacity; transition-duration: 0.1s; transition-delay: 0.8s; } #guess.adapt:hover { width: 500px; height: 375px; opacity: 0.95; transition-delay: 0s; } #closeGuessButtonContainer { display: none; } #map { height: calc(100% - 45px); } #guess.result { width: initial; height: initial; top: 50px; left: 50px; right: 50px; bottom: 50px; } #scoreBarBase { width: 60%; } @media screen and (max-height: 424px) { #guess { top: 20px; height: initial; } #guess.adapt:hover { top: 20px; height: initial; } } }