body {
    margin: auto;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #2A679E;
    box-sizing: border-box;
}

#ad-container {
    width: 300px;
    height: 600px;
    position: absolute;
    margin: 10px auto;
    background-color: #fff;
    overflow: hidden;
    left: 0;
    right: 0;
}

#bg {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

#bg_cover {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

#front {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    margin: auto;
}

#cta_start {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 340px;
    cursor: pointer;
}

#catcher {
    position: relative;
    width: 100px;
    pointer-events: none;
}

#myelement {
    position: absolute;
    left: 10px;
    bottom: 65px;
    width: 100px;
    height: 60px;
}

#hitarea {
    position: relative;
    width: 100px;
    height: 10px;
    pointer-events: none;
}

#start_hit {
    position: absolute;
    width: 120px;
    height: 25px;
    cursor: pointer;
    left: 0;
    right: 0;
    bottom: 235px;
    margin: auto;
}

#howto {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
}

#rules {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 383px;
    cursor: pointer;
}

#howtocatch {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 230px;
}

#howtoitem {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 160px;
    
}

#howtomove {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 350px;
}

#howtostart {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 445px;
    cursor: pointer;
}

#howarr_right {
    position: absolute;
    right: 30px;
    margin: auto;
    top: 245px;
    /* width: 25px;*/
}

#howarr_left {
    position: absolute;
    left: 30px;
    margin: auto;
    top: 245px;
    /* width: 25px;*/
}

#howtohand {
    position: absolute;
    left: 180px;
    top: 255px;
    width: 35px;
}

#indicator_fill {
    position: absolute;
    height: 8px;
    width: 234px;
    bottom: 29px;
    left: 20px;
    background-color: #fe5100;
}

.flyingthings {
    position: absolute;
    width: 40px;
    top: -100px;
}

#p10ts {
    position: absolute;
    pointer-events: none;
    top: 30px;
    width: 50px;
    left: 0;
    right: 0;
    margin: auto;
}

#title {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    margin: auto;
}

#timer {
    position: absolute;
    top: 95px;
    left: 0;
    right: 0;
    width: 100px;
    margin: auto;
    text-align: center;
    padding: 5px;
    font-weight: bold;
    color: #fff;
    background: #ff0000;
    border-radius: 4px;
    display: none;
}

#titleend {
    position: absolute;
    top: 85px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

#gameend {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
}

#endtitle {
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 16px;
    margin-top: 80px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
}

#totalpoints {
    font-weight: bold;
}

#endcopy {
    width: 200px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    margin: 0 auto 20px;
}

#endform {
    text-align: center;
}

#endform input:not([type=submit]) {
    width: 200px;
    margin: 5px auto;
    border: none;
    padding: 8px;
}

#endform input[type=submit] {
    background-color: #ff0000;
    color: #fff;
    font-size: 16px;
    padding: 6px 32px;
    margin: 16px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#endjoin {
    width: 100%;
    color: #fff;
    font-size: 16px;
    text-align: center;
    margin-top: 20px;
}

#endsocial {
    text-align: center;
    margin-top: 10px;
}

#endsocial > a {
    text-decoration: none;
    margin: 0 3px;
}

#endsocial > a img {
    width: 28px;
    height: 28px;
}

small {
    position: absolute;
    left: 10px;
    bottom: 10px;
    font-size: 10px;
    color: #fff;
}

#endthanks {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

#endreplay {
    margin: 40px auto 0;
    cursor: pointer;
}

#endfinish {
    height: 455px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center ;
}

#popup {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 230px;
    height: 420px;
    background: #fff;
    z-index: 9999;
    padding: 20px;
    margin: auto;
    font-size: 14px;
    overflow-y: scroll;
    overflow-x: hidden;
}

#popup h4 {
    margin: 5px 0;
}

#popup ul {
    padding-left: 15px;
}

#popup ul li {
    margin-bottom: 5px;
}

#popup_close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    width: 20px;
    height: 20px;
}

#popup_close img {
    width: 100%;
}

.game_hide {
    display: none !important;
}

#supported_by {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 422px;
    cursor: pointer;
}