@font-face {
    font-family: "GalanoGrotesque-Bold";
    src: url("../fonts/GalanoGrotesque-Bold.eot");
    src: url("../fonts/GalanoGrotesque-Bold.woff") format("woff"),
        url("../fonts/GalanoGrotesque-Bold.otf") format("opentype"),
        url("../fonts/GalanoGrotesque-Bold.svg#filename") format("svg");
}


@font-face {
    font-family: "FFFFORWA";
    src: url("../fonts/FFFFORWA.eot");
    src: url("../fonts/FFFFORWA.woff") format("woff"),
        url("../fonts/FFFFORWA.otf") format("opentype"),
        url("../fonts/FFFFORWA.svg#filename") format("svg");
}

@font-face {
    font-family: "GalanoGrotesque";
    src: url("../fonts/GalanoGrotesque-Regular.eot");
    src: url("../fonts/GalanoGrotesque-Regular.woff") format("woff"), url("../fonts/GalanoGrotesque-Regular.otf") format("opentype"), url("../fonts/GalanoGrotesque-Regular.svg#filename") format("svg");
  }
  
 
.fontRegular {
    font-family: "GalanoGrotesque";
    font-size:16px;
}

canvas {
    /* border: 1px solid black; */
    width: 37%;
    margin-top: -120px;
}

body {
    text-align: center;
    font-family: "GalanoGrotesque-Bold", "sans-serif";
    font-size: 20px;
    background-image: url(../img/background.png);
    background-repeat: no-repeat;
    background-color: #fef5cc;
    background-size: 100%;
    background-position: center top;
    overflow: hidden;
}

.result {
    background-image: url(../img/background_result.png);
    background-color: #baca34;
    background-size: contain;
}

#landing_page {
    color: #579b20;
    /* margin-top: -3%; */
}
#landing_page .survive_txt {
    color:#baca34;
    font-size:16px;
}
#landing_page .question img {
    width:90px;
}

#landing_page h3 {
    font-size: 40px;
}

#landing_page h2 {
    font-size: 80px;
}

#landing_page img {
    width: 340px;
}

#landing_page .icon_glass img {
    width: 100px;
}




.myButtonE {
    background-color: #44c767;
    -moz-border-radius: 28px;
    -webkit-border-radius: 28px;
    border-radius: 28px;
    border: 1px solid #18ab29;
    display: none;
    cursor: pointer;
    color: #ffffff;
    font-family: Verdana;
    font-size: 17px;
    padding: 16px 31px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #2f6627;
}

.myButtonE:hover {
    background-color: #5cbf2a;
}

.myButtonE:active {
    position: relative;
    top: 1px;
}

.myButtonH {
    background-color: #f02424;
    -moz-border-radius: 28px;
    -webkit-border-radius: 28px;
    border-radius: 28px;
    border: 1px solid #94351e;
    display: none;
    cursor: pointer;
    color: #ffffff;
    font-family: Verdana;
    font-size: 17px;
    padding: 16px 31px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #662828;
}

.myButtonH:hover {
    background-color: #cc3a21;
}

.myButtonH:active {
    position: relative;
    top: 1px;
}

.myButtonR {
    background-color: #a245c7;
    -moz-border-radius: 28px;
    -webkit-border-radius: 28px;
    border-radius: 28px;
    border: 1px solid #9319ab;
    display: none;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 17px;
    padding: 16px 31px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #5e2866;
}

.myButtonR:hover {
    background-color: #a92abd;
}

.myButtonR:active {
    position: relative;
    top: 1px;
}


#footer {
    background-color: #baca34;
    height: 20px;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 130px;
    padding-bottom: 20px;
}

#footer .line {
    height: 15px;
    background-color: #365c13;
}

#footer .line.second {
    background-color: #579b20;
}

#footer img {
    width: 250px;
}

#footer #live_score_icon img {
    width: 100px;
}

#footer #live_score_contain {
    display: flex;
    justify-content: flex-end;
}

#footer #live_score {
    font-family: "FFFFORWA", "sans-serif";
    font-size: 32px;
    color: white;
    background-image: url(../img/icon_score_frame.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 78px;
    /* min-height: 186px; */
    padding-top: 17px;
}

#game_timer {
    font-family: "FFFFORWA", "sans-serif";
    font-size: 52px;
    color: white;
}

#result img.reset_button {
    width: 100px;
}

#result .txt_your_score {
    font-size: 70px;
    color: white;
}


#result img.btn_submit {
    width: 440px;
}

#result img.result_glass {
    width: 120px;
}

#result img.result_logo {
    width: 300px;
}

#result .timer_result {
    background-image: url(../img/result_frame.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 200px;
    background-position: center top;
    padding-top: 74px;

}

#result .timer_result {
    font-family: "FFFFORWA", "sans-serif";
    font-size: 2.5em;
    color: white;
}


#model_question .modal-content,
#model_leaderboard  .modal-content
 {
    background-color:#fef5cc;
    border: 5px solid #365c13;
    border-radius: 20px;
    color:#365c13;
}
#model_question .btn_close,
#model_leaderboard .btn_close {
    margin-top: -40px;
    margin-right: -40px;
}
#model_question .btn_close img,
#model_leaderboard .btn_close img {
    width: 50px;
}

#model_submitscore .btn_close a {
    border: 1px solid #bcca05;
    padding: 7px 14px;
    border-radius: 45px;
    color:#bcca05;
    text-decoration: none;
}
#model_submitscore label {
    /* font-family: "GalanoGrotesque"; */
    font-size: 14px;
    
}
#model_submitscore input,#model_submitscore select {
    border: 2px solid #bcca05 !important;
    border-radius: 0px !important;
    font-family: 'GalanoGrotesque';
    font-size: 14px;

}
#model_submitscore a {
    color: black;

}

#model_submitscore .modal-footer {
    border-top: 0;
}

#model_submitscore .submit-button {
    background-color: #bcca05;
    color: white;
    width: 125px;
    margin-right: 10px;
}
#model_submitscore  .cancel-button {
    background-color: transparent;
    color: #bcca05;
    width: 125px;
    margin-right: 10px;
    border: 2px solid #bcca05;
}

#model_leaderboard .icon_glass img {
    width:80px;
}
#model_leaderboard .background {
    background-image: url(../img/leaderboard_bg.png);
    background-size: contain;
    color: white;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 18px;
    min-height: 320px;
}
#model_leaderboard .background .participant_details img {
    width:21px;

}



@media (max-width: 768px) {

    body {
        background-image: url(../img/background_mobile.png);
        /* overflow: auto; */
        overflow-x: hidden;
    }

    #landing_page {
        margin-top: -3%;
    }

    #landing_page .question img {
        width: 70px;
    }

    #landing_page h3 {
        font-size: 20px;
    }
    #landing_page h2 {
        font-size: 60px;
    }

    #landing_page img {
        width: 250px;
    }
    #landing_page .icon_glass img {
        width: 70px;
    }

    #landing_page .survive_txt {
        font-size: 14px;
    }

    canvas {
        width: 100%;
        margin-top: 30px;
        height: 395px;
    }
    #game_timer {
        font-size: 32px;
    }

    .result {
        background-image: url(../img/background_result_mobile.png);
    }

    #result img.reset_button {
        width: 71px;
    }
    #result .txt_your_score {
        font-size: 38px;
    }
    #result .timer_result {
        font-size: 1.6em;
    }

    #result img.result_glass {
        width: 80px;
    }
    #result .timer_result {
        background-size: 72%;
        height: 142px;
        padding-top: 49px;
    }
    
    #result img.btn_submit {
        width: 260px;
    }

    #result img.result_logo {
        width: 270px;
    }
    #footer {
        height: 121px;
        padding-bottom: 20px !important;
    }
    #footer #live_score_icon img {
        width: 64px;
    }
    #footer #live_score {
        font-size: 17px;
        background-size: contain;
        width: 62px;
        padding-top: 19px;
        padding-bottom: 13px;
    }

    #model_question .btn_close img {
        width: 39px;
    }

    #model_question .btn_close,
    #model_leaderboard .btn_close
     {
        margin-top: -33px;
        margin-right: -28px;
    }
    #model_question .modal-dialog,
    #model_submitscore .modal-dialog,
    #model_leaderboard .modal-dialog

     {
        padding: 8px;
    }

    #model_leaderboard .background .participant_details img {
        width: 17px;
        margin-top: -6px;
    }

    #model_leaderboard .background {
        background-image: url(../img/leaderboard_bg_mobile.png);
        font-size: 11px;
        background-position: top;
        min-height: 240px;
    }

    #model_question .btn_close img, 
    #model_leaderboard .btn_close img {
        width: 34px;
    }
    
   
}