@font-face {
    font-family: "Patrick Hand";
    src: url("patrick-hand.woff2")format("woff2");
}
#gmain{
    background: #DDE5CC;
}
#gwrap{
    font-family: "Patrick Hand";
    border-radius: 1em;
    min-width: 360px;
    max-width: 360px;
    background: url('background.svg') no-repeat bottom left;
    background-size: cover;
    margin: auto;
    text-align: center;
}
#gwrap a{
    text-decoration: none;
}
#gwrap *{
    line-height: 100%;
}
.gfooter{
    background: rgba(0,0,0,0.7);
    border-radius: 0 0 1em 1em;
}
#gcontents > div{
    display: none;
}

#ghomeintro{
    padding: 0 0.5em 0 0.5em;
    font-weight: bold;
    font-size: 2em;
    line-height: 100%;
}
#ghometitle{
    padding: 0.3em 0.5em;
    font-weight: bold;
    font-size: 3.5em;
    line-height: 100%;
}
#ghomesubtitle{
    padding: 0 0.5em 1em 0.5em;
    font-weight: bold;
    font-size: 3em;
    line-height: 100%;
}
#ghomechapters{
    height: 253px;
    overflow-y: hidden;
}
.ghc-item{
    background: rgba(0,128,0,0.75);
    padding: 1.2em 0;
    border-radius: 0.25em;
    color: #ffffff;
    font-size: 1.1em;
}
.ghc-level{
    text-transform: uppercase;
    letter-spacing: 2px;
}
.ghc-title{
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.3em 0;
}
.ghc-stars{
    padding: 1em 0 0.5em 0;
}
.ghc-stars div:nth-child(1) img, .ghc-stars div:nth-child(3) img{
    width: 32px;
}
.ghc-stars div:nth-child(2) img{
    width: 48px;
}
.ghc-buttons{
    padding: 0.5em 0;
}
.btn-orange{
    background: #ff6600;
    color: #ffffff;
    letter-spacing: 2px;
    box-shadow: 3px 3px 0px 0px #aa4400;
}
.btn-orange:hover{
    box-shadow: 1px 1px 0px 0px #aa4400;
}

.qq-item{
    padding: 1em;
    text-align: center;
    display: none;
}
.qq-image img{
    height: 140px;
}
.qq-image{
    padding-bottom: 1em;
}
.qq-text{
    font-size: 3em;
    font-weight: bold;
    letter-spacing: 2px;
    padding-bottom: 1em;
}
.qq-options{
    text-align: left;
    margin-left: 1em;
    margin-right: 1em;
}
.qq-options a{
    display: block;
    padding: 0.6em 1em;
    background: #ffffff;
    color: #333333;
    margin-bottom: 0.6em;
    border-radius: 0.5em;
    font-size: 1.5em;
    text-decoration: none;
    text-align: center;
}
.qq-options-images a{
    display: block;
    min-width: 48%;
    max-width: 48%;
    text-align: center;
}
.qq-options-images img{
    width: 100px;
}
#qq-result{
    display: none;
}
.game-done-image img{
    height: 200px;
}
.game-done-stars{
    padding: 0 0 1em 0;
}
.game-done-stars div{
    height: 78px;
}
.game-done-stars div:nth-child(1) img, .game-done-stars div:nth-child(3) img{
    width: 48px;
}
.game-done-stars div:nth-child(2) img{
    width: 64px;
}
.ll-item, .ll-action{
    display: none;
}
.ll-image{
    padding-top: 1em;
    padding-bottom: 2em;
}
.ll-image img{
    height: 200px;
}
.ll-imgtext{
    font-size: 3em;
    font-weight: bold;
    line-height: 100%;
    padding: 0.2em 0.3em;
}

#gplayer{
    background: rgba(51, 128, 0, 0.9);
    padding: 2em;
    overflow-y: auto;
}
#gfooter-game{
    display: none;
}
.game-progress{
    width: 100px;
    height: 32px;
}
.game-progress-bar{
    height: 20px;
    margin-top: 6px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
}
#game-progress-percent{
    height: 20px;
    width: 0;
    background: rgba(51, 128, 0, 1);
}

@media only screen and (max-width: 768px) {
    #gmain .row{
        height: auto;
    }
    #gwrap{
        height: auto;
        border-radius: 0;
        min-width: none;
        max-width: none;
    }
    .gfooter{
        border-radius: 0;
    }
    .qq-image img{
        height: 150px;
    }
}
#chestBonus{
    display: none;
    width: 100px;
    background-color: #ffcc00;
    color: #333333;
    font-size: 1.3em;
    font-weight: bold;
    padding: 0.5em 0;
    text-align: center;
    border-radius: 0.6em;
    top: -65px;
    left: -34px;
    box-shadow: 3px 3px 0px 0px #ff8800;
}
#chestBonus:after{
    content: " ";
	border-top: 11px solid #ffcc00;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
    position: absolute;
    top: 34px;
    left: 40px;
}
#point2xNotif{
    top: 10px;
    right: 0;
    background:#ffcc00;
    padding: 0.5em;
    border-radius: 0.5em;
    display: none;
}
#icon-times{
    display: none;
}
#gtool, #gabout{
    height: 100%;
    overflow: auto;
    text-align: left;
}
#gtool ul{
    list-style: none;
    margin: 0;
    padding: 0 20px 20px 20px;
}
#gtool li{
    margin-top: 0px;
    margin-bottom: 0px;
}
#gtool li a{
    font-size: 1.2em;
    display: block;
    background: #2B7003;
    color: #ffffff;
    text-decoration: none;
    padding: 0.7em 0.9em;
    border-bottom: 1px solid #338000;
}
#gtool li a:hover{
    background: #84A142;
}
#gabout div{
    line-height: 150% !important;
}

.heroTitle{
    font-size: 1.2em;
    padding: 1em 0 1.5em 0;
}
.heroSubtitle{
    font-size: 4.5em;
    margin: 0;
    padding: 0 0 0.5em 0;
    line-height: 125%;
}
.heroDesc{
    font-size: 1.2em;
    line-height: 160% !important;
    padding: 0 0 1em 0;
}
@keyframes bounce {
    0%, 100% {
      transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
      transform: translate3d(0,0,0);
    }
  
    50%, 55% {
      transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
      transform: translate3d(0, -15px, 0);
    }
}
.heroBtn{
    animation-name: bounce;
    transform-origin: center bottom;
    animation-duration: 2s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
}
@media only screen and (max-width: 480px) {
    body{
        background: #ffffff;
    }
    .heroTitle{
        padding-top: 0;
        font-size: 1.1em;
    }
    .heroSubtitle{
        font-size: 2em;
    }
    .heroDesc{
        font-size: 1.05em;
    }
}