html, body { min-height: 100%; }
body { min-height: 100%; min-width: 100%; }

body { background-color: #dddddd; font-family: 'Roboto Condensed', sans-serif;; margin: 0; padding: 0; }
.home { border: 0; }

.error_code { color: #a2a2a2; font-size: 16px; font-weight: bold; }
.error_help { display: block; margin-top: 1em; color: #a2a2a2; font-size: 12px; cursor: pointer; text-decoration: underline; }
.error_domain { font-weight: bold; }
.error_div { display: none; width: 600px; border-radius: 15px; margin-top: 15px; padding: 10px 25px; color: #888; background: #f8f8f8; font-size: 14px; text-align: left; }
.error_div a { font-size: 14px; font-weight: normal; }

.game-content, .game-content div { font-size: 18px; margin: 0; width: auto; text-align: left; }

#error-code { color: #a2a2a2; font-size: 16px; font-weight: bold; }
#error-help { display: block; margin-top: 1em; color: #a2a2a2; font-size: 12px; cursor: pointer; text-decoration: underline; }
#error-domain { font-weight: bold; }
#error-div { max-width: 550px; width: auto; border-radius: 15px; margin-top: 15px; padding: 10px 25px; color: #888; background: #f8f8f8; font-size: 14px; text-align: left; }
#error-div a { font-size: 14px; font-weight: normal; }

.message-content { margin: 0 auto; padding-top: 7%; position: relative; width: 600px; z-index: 20; }
.message-content img {
    filter: grayscale(1); /* Microsoft Edge and Firefox 35+ */
    -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
    margin: 30px auto 0;
}

.message-inner { margin: 0 auto; padding: 0; width: auto; }

.sprinthost-logo { height: 60px; width: 128px; }
.m-t-100 { margin-top: 100px !important; }

@keyframes go-left-right {
    from { margin-left: 0; }
    to { margin-left: 7px; }
}

@-webkit-keyframes go-left-right {
    from { margin-left: 0; }
    to { margin-left: 7px; }
}

.push-me-animation {
    animation: go-left-right 1s infinite cubic-bezier(0.3, -2.4, 0.85, -2.5) alternate paused;
    -webkit-animation: go-left-right 1s infinite cubic-bezier(0.3, -2.4, 0.85, -2.5) alternate paused;
}

.push-me-animation:hover {
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
}

@keyframes go-left-cat {
    from { right: -650px; }
    to { right: -80px; }
}

@keyframes go-top-cat {
    from { bottom: -650px; }
    to { bottom: -80px; }
}

.animation-cat {
    animation-name: go-left-cat;
    animation-delay: 2s;
    animation-duration: 6s;
    animation-direction: alternate;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.8, 0, 0.7, 1);
    animation-iteration-count: infinite;
    animation-play-state: running;
}

.animation-running {
    animation-play-state: running;
    -webkit-animation-play-state: running;
}

.game-link-animal {
    background: url('img/game/finish-cat-1.svg') center center no-repeat transparent;
    bottom: 0;
    height: 150px;
    position: absolute;
    right: -150px;
    transform: rotate(-65deg);
    width: 150px;
}

.clear { clear: both; margin: 0; }
.page-content { margin: 0; padding: 0; width: 100%; position: relative; overflow: hidden; }

.message-content { float: left; width: 100%; }
.message-content p { padding: 0 15px; }
.message-content h1 { font-family: 'PressStart2P', cursive; }
.game-content { float: right; width: 50%; margin-right: -50%; }

#game-wrapper {  }

#game-link { cursor: pointer; display: none; height: 300px; margin-top: -80px; opacity: 0; position: absolute; right: 0; top: 50%; width: 200px; z-index: 22; }
.game-link-arrow-right { background: url('img/game/game-link-arrow-right.svg') center center no-repeat transparent; height: 45px; margin: 0; width: 65px; }
#game-exit { cursor: pointer; margin-top: -80px; position: absolute; left: 10px; top: 50%; width: 65px; z-index: 22; }
.game-link-arrow-left { background: url('img/game/game-link-arrow-left.svg') center center no-repeat transparent; height: 45px; margin: 0; width: 65px; }

#game-cat-link {
    display: none;
    cursor: pointer;
    height: 150px;
    margin-left: -25px;
    bottom: 0;
    position: absolute;
    left: 50%;
    width: 200px;
    z-index: 22;
}

#game-cat-link-end {
    cursor: pointer;
    height: 32px;
    margin-left: -25px;
    margin-top: 0;
    top: 17px;
    position: absolute;
    left: 50%;
    width: 64px;
    z-index: 22;
}
.game-cat-link-arrow-bottom {
    background: url('img/game/game-link-arrow-right.svg') center center no-repeat transparent;
    height: 45px;
    margin: 0;
    width: 65px;
    transform: rotate(90deg);
}
.game-cat-link-arrow-top {
    background: url('img/game/game-link-arrow-right.svg') center center no-repeat transparent;
    height: 24px;
    margin: 0;
    width: 65px;
    transform: rotate(-90deg);
}
#game-cat-wrapper {
    position: relative;
    background: #9e9e9e;
    color: #fff;
    cursor: default;
    font-family: 'PressStart2P', cursive, arial, sans-serif;
    width: 100%;
    overflow: hidden;
    padding-top: 0;
}

#game-cat-content {
    width: 100% !important;
    margin-bottom: 60px;
    margin-top: 60px;
}

#game-cat-content canvas {
    font-family: 'PressStart2P';
    background: #eee;
    display: block;
    margin: 0 auto;
}

#game-cat-content #start {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -56px 0 0 -102px;
    height: 111px;
    width: 304px;
    cursor: pointer;
}

#game-cat-content #skip {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 66px 0 0 -155px;
    height: 63px;
    width: 368px;
    cursor: pointer;
    visibility: hidden;
}

#game-cat-content #replay {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 12px 0 0 -98px;
    height: 122px;
    width: 139px;
    cursor: pointer;
    visibility: hidden;
}

#game-cat-content #replay-end {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 15px 0 0 57px;
    height: 122px;
    width: 139px;
    cursor: pointer;
    visibility: hidden;
}

#game-cat-content #sound {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -140px 0 0 398px;
    height: 60px;
    width: 69px;
    cursor: pointer;
}

#games-sph-cat-link {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 0;
    position: relative;
    width: 100%;
}

#games-sph-cat-link a {
    font-size: 10px;
    z-index: 50;
}

.game-content { background: #9e9e9e; color: #fff; cursor: default; font-family: 'PressStart2P', cursive, arial, sans-serif; height: 100%; overflow: hidden; padding-top: 0; position: relative; }
.game-content ::-moz-selection { background: transparent; color: inherit; text-shadow: none; }
.game-content ::selection { background: transparent; color: inherit; text-shadow: none; }
.game-content * { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
.game-content h3,
.game-content h4 { margin: 0; }
.game-content .bg-gray { background-color: #9e9e9e; }
.game-content .arrow-bottom { background: url('img/game/arrow-bottom-white.svg') center 0 no-repeat transparent; display: block; height: 30px; margin-top: 5px; width: 100%; }
.game-content .arrow-right { background: url('img/game/next.svg') right center no-repeat transparent; display: inline-block; height: 28px; margin-left: 20px; width: 40px; }
.game-content .arrow-replay { background: url('img/game/replay.svg') center center no-repeat transparent; display: block; height: 40px; width: 100%; }
.game-content .cat-paw { background: url('img/game/cat-paw.svg') center bottom no-repeat transparent; display: inline-block; height: 148px; margin: 0 20px; width: 68px; }
.game-content .point {
    background:url('img/game/point.svg') 0 0 no-repeat transparent;
    height: 14px;
    position: absolute;
    width: 14px;
    z-index: 4;
}
.game-content .number { font-family: 'Roboto Condensed', arial, sans-serif; font-size: 12px; position: absolute; z-index: 5; }
.game-content .point-selected { background-image:url('img/game/point-selected.svg'); }

.game-content .level-part {
    display: none;
    position: absolute;
}

.game-content .level-part-1-0 { background: url('img/game/cat-part-0.svg') center center no-repeat transparent; }
.game-content .level-part-1-1 { background: url('img/game/cat-part-1.svg') center center no-repeat transparent; }
.game-content .level-part-1-2 { background: url('img/game/cat-part-2.svg') center center no-repeat transparent; }
.game-content .level-part-1-3 { background: url('img/game/cat-part-3.svg') center center no-repeat transparent; }
.game-content .level-part-1-4 { background: url('img/game/cat-part-4.svg') center center no-repeat transparent; }

.game-content .level-part-2-0 { background: url('img/game/hippo-part-0.svg') center center no-repeat transparent; }
.game-content .level-part-2-1 { background: url('img/game/hippo-part-1.svg') center center no-repeat transparent; }
.game-content .level-part-2-2 { background: url('img/game/hippo-part-2.svg') center center no-repeat transparent; }
.game-content .level-part-2-3 { background: url('img/game/hippo-part-3.svg') center center no-repeat transparent; }
.game-content .level-part-2-4 { background: url('img/game/hippo-part-4_1.svg') center center no-repeat transparent; }

.game-content .level-part-3-0 { background: url('img/game/gir-part-0.svg') center center no-repeat transparent; }
.game-content .level-part-3-1 { background: url('img/game/gir-part-1.svg') center center no-repeat transparent; }
.game-content .level-part-3-2 { background: url('img/game/gir-part-2.svg') center center no-repeat transparent; }
.game-content .level-part-3-3 { background: url('img/game/gir-part-3.svg') center center no-repeat transparent; }
.game-content .level-part-3-4 { background: url('img/game/gir-part-4.svg') center center no-repeat transparent; }

.game-content .level-part-4-0 { background: url('img/game/ping-part-0.svg') center center no-repeat transparent; }
.game-content .level-part-4-1 { background: url('img/game/ping-part-1.svg') center center no-repeat transparent; }
.game-content .level-part-4-2 { background: url('img/game/ping-part-2.svg') center center no-repeat transparent; }

.game-content .level-part-5-0 { background: url('img/game/teddy-part-0.svg') center center no-repeat transparent; }
.game-content .level-part-5-1 { background: url('img/game/teddy-part-1.svg') center center no-repeat transparent; }
.game-content .level-part-5-2 { background: url('img/game/teddy-part-2.svg') center center no-repeat transparent; }
.game-content .level-part-5-3 { background: url('img/game/teddy-part-3.svg') center center no-repeat transparent; }

.game-content .finish-cat { height: 150px; width: auto; }
.game-content .finish-cat-1 { background: url('img/game/finish-cat-1.svg') center center no-repeat transparent; }
.game-content .finish-cat-2 { background: url('img/game/finish-cat-2.svg') center center no-repeat transparent; }
.game-content .finish-cat-3 { background: url('img/game/finish-cat-3.svg') center center no-repeat transparent; }

.game-content .game-sound { cursor: pointer; position: absolute; top: 10px; left: 10px; height: 30px; width: 30px; z-index: 22; }
.game-content .sound-on { background: url('img/game/sound-on.svg') center center no-repeat transparent; }
.game-content .sound-off { background: url('img/game/sound-off.svg') center center no-repeat transparent; }

#game-unsupported {
    line-height: 28px;
    padding-top: 40%;
    text-align: center;
}

#game-init { color: #f1f1f1; padding: 80px 20px 10px; text-align: center; }
#game-init .h3 { font-size: 18px; line-height: 24px; text-transform: uppercase; }
#game-init .h4 { font-size: 14px; line-height: 20px; padding-top: 60px; }

#game-points {
    height: 480px;
    overflow: hidden;
    position: relative;
    width: 360px;
    margin-left: 100px;
}

#game-svg { height: 100%; left: 0; margin: 0; padding: 0; position: absolute; top: 0; width: 100%; z-index: 2; }

#game-timer,
#game-next,
#game-replay {
    bottom: 30px;
    left: 0;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 7;
}
#game-timer { bottom: 30px; font-size: 24px; font-weight: bold; }
#game-next { cursor: pointer; font-family: 'PressStart2P', cursive; font-size: 22px; line-height: 28px; }
#game-next * { display: inline-block; line-height: 28px; vertical-align: middle; }
#game-next:hover .arrow-right { background-image: url('img/game/next-hover.svg'); }
#game-replay { bottom: 30px; cursor: pointer; }
#game-replay:hover .arrow-replay { background-image: url('img/game/replay-hover.svg'); }

#game-start-overlay,
#game-finish-overlay,
#game-again-overlay {
    background-color: #9e9e9e;
    color: #eee;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    text-align: center;
    width: 100%;
    z-index: 9;
}

#game-start-overlay { z-index: 8; }
#game-start-overlay .h3 { font-size: 80px; font-weight: bold; padding-top: 90px; }
#game-start-overlay .cat-paws { bottom: 0; height: 148px; left: 0; position: absolute; text-align: center; width: 100%; }

#game-again-overlay { cursor: pointer; }
#game-again-overlay .arrow-replay { height: 50px; margin-top: 180px; }
#game-again-overlay:hover .arrow-replay { background-image: url('img/game/replay-hover.svg'); }
#game-again-overlay .h4 { font-size: 20px; font-weight: bold; margin-top: 22px; }

#game-finish-overlay .finish-cat { margin-top: 100px; }
#game-finish-overlay .h4 { font-size: 20px; font-weight: bold; line-height: 28px; margin-top: 80px; padding: 0 60px; }

@media (max-width: 991px) {
    .fl-n-md { float: none !important; }
    .hidden-md { display: none !important; }

    .page-content { width: auto; }
    .message-content { padding-top: 10%; }
    .message-content img { margin: 30px auto; }

    .game-content { margin-right: -100%; padding-top: 0; width: 100%; }

    #game-link { margin-top: 0; top: auto; bottom: 0; height: 150px; width: 100px; }
    #game-link .game-link-animal { transform: rotate(0deg); }
    #game-link .animation-cat {
        animation-name: go-top-cat;
        animation-delay: 2s;
        animation-duration: 6s;
        animation-direction: alternate;
        animation-fill-mode: both;
        animation-timing-function: cubic-bezier(0.8, 0, 0.7, 1);
        animation-iteration-count: infinite;
        animation-play-state: running;
    }

    #game-exit { bottom: 0; margin-bottom: 100px; margin-top: 0; top: auto; }
}

@media (max-width: 481px) {
    .fl-n-xs { float: none !important; }
    .hidden-xs { display: none !important; }
    .page-content { width: auto; }
    .message-content img { margin: 30px auto; }
}
