#game_master {
    position: absolute;
    text-align: center;
    width: 100%;
    height: 100%;
    max-width: 800px;
    color: #fff;
    margin: auto;
    background-color: #000; 
    
}
#inner_game_master {
    position: relative;
    height: calc(100% - 60px);
    top: 60px;
    /* -webkit-overflow-scrolling:touch; */
    overflow: hidden;
}

#hidden_quest_image{
    position: absolute;
    left: -100;
    top: -100;
    width: 100px;
    height: 100px;
    background-size: contain;
    opacity: 0;
    visibility: hidden;
}

#quest{
    position: relative;
    height: 66%;
    top: 0px;
    width: 90%;
    max-width: 480px;
    left: 0;
    right: 0;
    margin: auto;
}

#quest_name{
    position: relative;
    z-index: 20;
    width: 100%;
    height: 16%;
    /*margin: 3% 0;*/
    font-size: 2rem;
    overflow: hidden;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    letter-spacing: 0px;
}

@media not all and (min-resolution:.001dpcm) { @media {
    #quest_name { 
        letter-spacing: -2px;
        transform: scale(0.95, 1);
    }
}}


#quest_image{
    width: 100%;
    height: 50%;
    /*height: 56%;*/
    /*max-height: 60%;*/
    margin: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.25);
    /*background-color: #fff;*/
}

#quest_text{
    position: relative;
    width: 100%;
    height: 34%;
    padding: 2%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: rgba(100, 100, 100, 0.7);
    font-size: 1.6rem;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
}

#quest_text .more_info{
    position: absolute;
    right: 4px;
    top: 4px;
    border-radius: 80px;
    border: 1px solid #fff;
    font-size: 1.2rem;
    width: 10px;
    padding: 2px;
    cursor: pointer;
}

#quest_text .more_info:active{
    background-color: #fff;
    color: #588ab3;
    font-weight: bold;
}


/* More Quest Text - The Popup */
    #more_quest_text.open{
        display: block !important;
    }

    #more_quest_text .close{
        position: absolute;
        right: 0;
        width: 10%;
        min-width: 30px;
        padding: 5%;
        cursor: pointer;
    }

/* Extra buttons */
    #button_container{
        position: relative;
        width: 90%;
        height: 8%;
        margin: 5% auto;
    }

    #button_container img{
        position: relative;
        z-index: 2;
    }


    .button_container{
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
        width: 45%;
    }

    .button_container .background{
        position: absolute;
        width: 0;
        height: 100%;
        background-color: #c7c7c7;
        z-index: 1;
    }
    #cup_hit .background{
        left: 0;
        /*box-shadow: 0px 2px #c7c7c7;*/
    }
    #skip_quest .background{
        right: 0;
        /*box-shadow: 2px 0px #c7c7c7;*/
    }

    .button_container p{
        position: relative;
        height: 100%;
        /*padding: 0 10px;*/
        font-size: 0.7rem;
        /*font-size: 0.8rem;*/
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        z-index: 2;
        text-transform: uppercase;
    }

    #cup_hit{
        position: absolute;
        left: 0;
    }

    #skip_quest{
        position: absolute;
        right: 0;
        justify-content: flex-end;
    }


/* New Quest Button */ 
    #new_quest_button {
        position: relative;
        margin: auto;
        width: 70%;
        height: 16%;
        color: #fff;
        font-size: 1.5rem;
        font-weight: bold;
        background-color: #00a500;
        border-radius: 10px;
        box-shadow: 2px 2px #67ce54;
        z-index: 20;
        text-transform: uppercase;
    }

    #new_quest_button:active {
        /*background-color: #42da27;*/
        /*box-shadow: 0px 0px #67ce54;*/
    }
