@import url('https://fonts.googleapis.com/css?family=Overpass+Mono:400,700&display=swap');

*{
    font-family: 'Overpass Mono', monospace;
    /* touch-action: none; */
    -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
    /* make transparent link selection, adjust last value opacity 0 to 1.0 */
    -webkit-tap-highlight-color: rgba(0,0,0,0); 
    -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
    -webkit-tap-highlight-color: rgba(0,0,0,0); 
}

html, body {
    padding: 0px;
    width:  100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
} 

canvas{
    position: absolute;
    left: 0px;
    top: 0px;
    overflow: hidden;
    border: 0px;
}

#canvasmain{
    touch-action: none;
    /* width:100%;
    height:100%; */
}

#back-connect-panel{
    position: absolute;
    left: 0px;
    top: 0px;
    width:  100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    background-color: rgba(0,0,0,0.2);
}

.hide-hidden{
    position: absolute;
    left: 0px;
    top: 0px;
    width:  100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    background-color: #384141;
}

.hidden{
    position: absolute;
    left: 0px;
    top: 0px;
    overflow: hidden;
    z-index: -10;
}

.over-canvas{
    z-index: 1;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}

.middle-hv{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}


.middle-h{
    position: absolute;
    left: 50%;
    transform: translate(-50%,0%);
}

.blueback{
    background-color: rgb(43, 51, 51);
    border-radius: 3px;
    border: 1px #ea840047 solid;
    border-radius: 3px;
}

.brownback{
    background-color: rgba(0,0,0,0.3);
    border-radius: 3px;
    border: 1px #ea840047 solid;
    border-radius: 3px;
}

.loading-text{
    color: white;
}


.main-menu-input{
    font-size: larger;
    border: 1px #ea840047 solid;
    padding: 4px;
    border-radius: 3px;
    text-align: center;
}

.main-menu-input:hover{
    border: 1px #ea8500bd solid;
}

.main-menu-button:hover{
    border: 1px
    #ea8500bd solid;
    
    background-color:
    white;
    
    color:
    black;
}

.main-menu-button-play:hover{
    border: 1px
    #ea8500bd solid;
    
    background-color:
    white;
    
    color:
    black;
}



.main-menu-button-play{
    font-size: larger;

    border: 1px
    #ea840047 solid;
    
    padding: 4px;
    font-weight: bold;
    
    border-radius: 3px;
    
    margin-top: 2px;
    
    cursor: pointer;
    
    background-color:
    #f90000ad;

    color:
    white;
}

.main-menu-button{
    font-size: larger;

    border: 1px
    #ea840047 solid;
    
    padding: 4px;
    font-weight: bold;
    
    border-radius: 3px;
    
    margin-top: 2px;
    
    cursor: pointer;
    
    background-color:
    #ffffff36;

    color:
    white;
}

.main-menu-panel{
    z-index: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

#debug{
    position: absolute;
    left: 3px;
    bottom:3px;
    font-size: 0.6em;
    white-space: pre;
    color: #999;
}

#fac_wrapper{
    position: absolute;
    left: 50%;
    top: 50%;
    overflow: hidden;
    z-index: -2;
    background-color:#d9d9d9;
    transform: translate(-50%,-50%);
    border-radius: 3px;
}

#fullscreen{
    position: absolute;
    left: 3px;
    top:3px;
    font-size: 0.8em;
    font-size: 0.8em;
    background-color:#8888884f;
    border-radius: 3px;
    padding: 5px;
    color:white;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 10px;
}

.flex-col{
    display: flex;
    flex-direction: column;
}


#scoreboard{
    position: absolute;
    right: 3px;
    top:3px;
    padding:3px;
    margin:0px;
}
.scoreboard-elem{
    color:white;
    display: flex;
    flex-direction: row;
}

.scoreboard-elem-me {
    color:rgb(255, 174, 0);
}

.sb-rank{
    width: 36px;
}

.sb-pseudo{
    width: 153px;
}

.sb-score{
    width: 60px;
}

@media only screen and (max-width: 800px) {
    #scoreboard{
        font-size: 0.7em;
    }
    
    .sb-rank{
        width: 22px;
    }
    
    .sb-pseudo{
        width: 106px;
    }
    
    .sb-score{
        width: 22px;
    }
}

#score_weapon_panel{
    bottom:3px;
    display:flex;
    flex-direction: row;
}

.weapon_choice{
    display:flex;
    flex-direction: column;
    margin-left: 10px;
    margin-right: 10px;
}

.weapon_choice:hover{
    background-color: rgba(255,255,255,0.2);
    cursor: pointer;
}


.weapon_choice-img_div{
    height: 40px;
}
.weapon_choice-img{
    max-height: 40px;
}

.weapon_choice-name{
    color: #ff8a14;
    font-size: 0.8em;
    font-weight: bold;
    white-space: pre;
}

.weapon_choice-damage{
    color: #aeaeae;
    font-size: 0.8em;
}

.weapon_choice-click{
    background-color:#ff8a14;
    width: 62px;
    border-radius: 3px;
    padding: 2px;
    color:black;
    font-weight: bold;
    text-align: center;
    margin: 0px;
    flex: none;
    height: 18px;
}

.weapon_choice-click:hover{
    background-color:#ffa951;
    cursor: pointer;
}

@media only screen and (max-width: 800px) {
    #score_weapon_panel{
        font-size: 0.7em;
    }


    .weapon_choice{
        display:flex;
        flex-direction: column;
        margin-left: 3px;
        margin-right: 3px;
    }

    .weapon_choice-click{
        height: 12px;
    }

}

.main-menu-logged-panel{
    margin-top: 12px;

    padding: 2px;
    
    background-color:
    rgba(255,255,255,0.1);
    
    border-radius: 3px;
    
    display: flex;
    
    flex-direction: column;
}

.main-menu-score-panel{
    margin-top: 12px;

    padding: 2px;
    
    background-color:
    rgba(255,255,255,0.1);
    
    border-radius: 3px;
    
    display: flex;
    
    flex-direction: column;
    border: 1px #ea840047 solid;
}

.main-menu-logged-info{
    color:
    #aea592;
    
    font-size: 0.8em;
    
    padding: 3px;
}


.main-menu-score-title{
    color:#ff6d02;
    
    font-size: 1.0em;
    
    padding: 3px;
    font-weight: bold;
}

.main-menu-score-info{
    color:
    white;
    
    font-size: 1.0em;
    
    padding: 3px;
    font-weight: bold;
}

.main-menu-disconnect-button{
    margin: 3px;

    margin-top: 3px;

border: 1px
#ea840047 solid;

padding: 4px;

border-radius: 3px;

margin-top: 2px;

cursor: pointer;

background-color:
#ffffff36;

color:
white;
}

.main-menu-disconnect-button:hover{
    border: 1px
    #ea8500bd solid;
    
    background-color:
    white;
    
    color:
    black;
}

.region-select{
    background-color:
#414848;
color:
white;
border: none;
margin-top: 30px;
padding: 4px;
border-radius: 3px;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FF9C00%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
background-repeat: no-repeat, repeat;
background-position: right .7em top 50%, 0 0;
background-size: .65em auto, 100%;
}

.social-group{
    position: absolute;
    right: 3px;
    top: 3px;
}

.about{
    position: absolute;
    right: 3px;
    bottom: 3px;
    font-size: 0.8em;
    background-color: #8888884f;
    border-radius: 3px;
    padding: 5px;
    color: white;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 10px;
}

.social-a{

}
.social-img{
    height: 48px;
    width: 48px;
}


@media only screen and (max-width: 500px) {
    .social-img{
        height: 34px;
        width: 34px;
    }
}

.main-menu-banner{
    width: 100%;
    margin-bottom: 3px;
    border-radius: 3px;
    max-width: 280px;
}

.ad-bottom{
    position: absolute;
    left: 0px;
    bottom: 0px;
    width:100%;
    overflow: hidden;
    display: flex;
    flex-direction: row;
}

.ad-bottom-h{
    flex: 1 1 auto;
    width:1px;
    height:1px;
}

.ad-left{
    position: absolute;
    left: 0px;
    bottom: 0px;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ad-right{
    position: absolute;
    right: 0px;
    bottom: 0px;
    height:100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ad-wrapper{
    z-index: 100;
}