:root {
    background: black;    
  --upgrade_loading_time: 3s;
}

*{
    font-family: cursive,monospace,consolas;
    
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-drag: none;  
  -webkit-user-drag: none;
  -ms-user-drag: none;
}

body {
    background:black !important;
    /*cursor: default;*/
    overflow: hidden;
    margin: 0px;

}
#app{

}

.real_center{
    position: absolute;
    top: 50%;
    left:50%;
    transform:translate(-50%, -50%);
}
.horizontal_center{
    position: absolute;
    left:50%;
    transform:translatex(-50%);
}
.vertical_center{
    position: absolute;
    top: 50%;
    transform:translatey(-50%);
}

.h_trans_center{
    transform:translatex(-50%);
}
.v_trans_center{
    transform:translatey(-50%);
}
.text_center{
    text-align: center;
}
.evo_shadow{
    text-shadow: 0px 0px 5px black, 0px 0px 5px black, 0px 0px 5px black;
}
.evo_text{
    color: ghostwhite;
    text-align: center;
    text-shadow: 0px 0px 5px black, 0px 0px 5px black, 0px 0px 5px black;
}
mp{
    color: yellow !important;
}

.evo_txtbtn:hover{
    background-position-y: 46px;
}

.fullscreen_img {
    width: 100vw;
    height: 100vh;
    position: fixed;
    display: block;
    z-index: 0;
}


.btn_bgimg{
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    position: fixed;
}

.btn_back{
    background: url(../EvoCraft/Resources/textures/gui/back_button.png);
    box-sizing: initial;
    background-position-y: 0vh;
    background-size: 10vw 16vh;
    background-repeat: no-repeat !important;
    position: fixed;
    left: 4vw;
    top: 87vh;
    width: 8.6vw;
    height: 5vh;
    font-size: 3.5vh;
    padding: 1.4vh;
    text-align: center;
    color: wheat !important;
    text-shadow: 0px 0px 5px black, 0px 0px 5px black, 0px 0px 5px black;
}
.btn_back:hover{
    background-position-y: -8vh;
}

.mytooltip .tooltiptext {
    visibility: hidden; 
    font-size: 3.5vh;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    position: absolute;
    padding: 1vh;
    width: 9vw;
    border-radius: 1vh;
    border-style: double;
    border-width: 0.5vh;
    background-color: darkkhaki;
    text-shadow: 0px 0px 5px black, 0px 0px 5px black, 0px 0px 5px black;
}

.mytooltip:hover .tooltiptext {
    visibility: visible;
}

/*popup_menu*/
.evo_txtbtn{
    background: url(../EvoCraft/Resources/textures/gui/txtbtn_menu.png);
    width: 222px;
    height: 46px;
    background-size: 222px 92px;
    padding: 5px;
    font-size: 20px;
}
.popup_menu{
    background: url(../EvoCraft/Resources/textures/gui/menu_border.png);
    background-repeat: no-repeat;
    width: 358px;
    top: -80px;
    height: 700px;
    position: relative;
    margin: auto;
    display:none;
    padding: 215px 60px 82px 60px;
    z-index: 1005;
}
.popup_menu .evo_txtbtn:first-child{
top: 260px;
}
.popup_menu .evo_txtbtn:nth-child(2){
 top: 340px;
}
.popup_menu .evo_txtbtn:nth-child(3){
    top: 400px;
}
.popup_menu .evo_txtbtn:nth-child(4){
top: 460px;
}
.popup_menu .evo_txtbtn:last-child{
bottom: 118px;
}


/*colors*/
.my-bg-danger {
    background-color: rgba(240, 80, 80, 0.7) !important;
}
.my-bg-white {
    background-color: rgba(255, 255, 255, 0.7) !important;
}


/*home*/
#home #version{
    display: block;
    position: fixed;
    right: 0;
    bottom: 0;
    color: white;
    margin: 1px;
}
#home #sky_back{
    background: url(../EvoCraft/Resources/textures/menu/sky.png);
    background-repeat: repeat-x;
    background-position-y: -90px;
    animation-name:flow_back;
    animation-timing-function: linear;
    animation-iteration-count:infinite;
    animation-duration: 60s;
}
#home #mist_back{
    background: url(../EvoCraft/Resources/textures/menu/mist.png);
    background-origin: content-box;
    margin-top: 350px;
    animation-name: flow_back;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: 7s;
    animation-direction: reverse;
    width: 100vw;
    height: 512px;
    position: fixed;
    display: block;
    z-index: 0;
}
@keyframes flow_back {
    from {background-position-x: 0px;}
    to {background-position-x: 512px;}
}
#home #logo_evo{
    position: fixed;
    height: 17vh;
    width: 18vw;
    top: 7vh;
    left: -18vw;
}
#home #logo_craft{
    position: fixed;
    height: 17vh;
    width: 37vw;
    top: 7vh;
    right: -37vw;
}
#home #play_btn{
    background: url(../EvoCraft/Resources/textures/menu/sign_start.png);
    left: 20vw;
    top: 47.3vh;
    width: 21vw;
    height: 14vh;
}
#home #play_btn:hover{
    background: url(../EvoCraft/Resources/textures/menu/sign_start_hover.png);
}


#home #option_btn{
    background: url(../EvoCraft/Resources/textures/menu/sign_options.png);
    left: 69.5vw;
    top: 28.7vh;
    width: 18vw;
    height: 12vh;
}
#home #option_btn:hover{
    background: url(../EvoCraft/Resources/textures/menu/sign_options_hover.png);
}


#home #exit_btn{
    background: url(../EvoCraft/Resources/textures/menu/sign_exit.png);
    left: 16vw;
    top: 62.7vh;
    width: 12.7vw;
    height: 8vh;
}
#home #exit_btn:hover{
    background: url(../EvoCraft/Resources/textures/menu/sign_exit_hover.png);
}

#home #change_btn{
    color: whitesmoke;
    position: fixed;
    font-size: 3.5vh;
    left: 59.8vw;
    top: 72vh;
    width: 28vw;
    text-align: center;
    transform: rotate(6deg);
    text-shadow: 0px 0px 5px black, 0px 0px 5px black, 0px 0px 5px black;
}
#home #change_btn:hover{
    text-shadow: 0px 0px 5px black, 0px 0px 5px black, 0px 0px 5px black,
    0px 0px 30px yellow, 0px 0px 30px yellow;
}

#home #name_btn{
    color: whitesmoke;
    position: fixed;
    font-size: 3.5vh;
    left: 67vw;
    top: 64.9vh;
    width: 15vw;
    text-align: center;
    transform: rotate(6deg);
    text-shadow: 0px 0px 5px black, 0px 0px 5px black, 0px 0px 5px black;
    background: transparent;
    border: none;
}

#home .topleft{
    top: -50%;
    right: 100%;
}
#home .topright{
    top: 95%;
    left: 95%;
}


.my_sizepad{
    position: fixed;
    top: 10vh;
    left: 5vw;
    width: 70vw;
    height: 75vh;
}
.my_sizebtn{
    position: fixed;
    height: 10vh;
    width: 18vw;
    font-size: 2vw !important;
}

/*games*/

#games #btn_create_game{
    top: 10vh;
    left: 79vw;
}
#games #btn_create_map{
    top: 25vh;
    left: 79vw;
}
#games #candle_light{
    width: 20vw;
    height: 33.2vh;
    position: absolute;
    /* border: 1px solid red; */
    border-radius: 50%;
    left: 79.1vw;
    top: 40vh;
    box-shadow: inset 0px 0px 137px 0px rgba(222, 184, 135, 0.7), 0px 0px 50px 4px rgba(255, 255, 224, 0.5);
    animation-name: candle_light;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 1s;
}

#games #candle_light #candle_fire{
    width: 45.2px;
    height: 128px;
    /* border: solid red 1px; */
     opacity: 1 !important;
    background-image: url(../EvoCraft/Resources/textures/map/fire.png);
    animation-name:candle_fire;
    animation-timing-function: step-end;
    animation-iteration-count: infinite;
    animation-direction: alternate;    
    animation-duration: 1.2s;
}



/*create map*/
#games #createmap #point_prop{
    position: fixed;
    top: 10vh;
    left: 77vw;
    width: 21vw;
    height: 65vh;
}

#games #createmap #btn_create{
    top: 82vh;
    left: 79vw;
}

#games #createmap .btn_tool{
    padding: 3px;
    width: 4vh;
    height: 4vh;
    border-radius: 50%;
}
.myselected{
    box-shadow: 0px 0px 7px 7px white !important;
}



#games #createmap #board_div{
    position: fixed;
    left: 6.5vw;
    top: 18vh;
    border-radius: 0.5vh;
    box-shadow: 0px 0px 3px 5px white;
    overflow: hidden;
    width: 67vw;
    height: 65vh;
}

#games #createmap #board_canvas{
    position: absolute;
    z-index: 4;
}
/*gamelist*/
.status_div{
    border-radius: 30px;
    background-color: ghostwhite;
}
.status_label{
margin: auto;
    width: 100%;
    text-align: center;
    zoom: 1.6;
    padding-bottom: 0.5vh;
    color: deeppink;
}


 
#point_prop .color_btn{
    padding: 0px;
    width: 4vh;
    height: 4vh;
    border-radius: 50%;
}
#point_prop .level_btn{
    width: 2.9vw;
}
/*showmap*/
.board_img{
    margin: auto 0px;
    position: absolute;
    width: 100%;
    height: 100%;
}
.icon_img{
    margin: auto 0px;
    width: 100%;
    height: 100%;
}
.showmap_card{
    position: absolute;
    box-shadow: 0px 0px 3px 5px white;
    border-radius: 0.5vh;
    overflow: hidden;

    width: 41vw;
    height: 30vh;
    right: 2.6vw;
    top: 8vh;
}

/*create map*/
.card_header_input{
    background: transparent;
    border-radius: 30px;
    padding: 0px 1vw;
    border-style: dashed;
    border-color: brown;
    color: blueviolet;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 2.3vh;
}
.mapname{
    margin-left: 3vw;
    width: 14vw;
}
.gamename{
    margin-left: 3vw;
    width: 12vw;
    text-align: center;
}
.gamelog{
    margin-left: 2vw;
    width: 20vw;
}
.showplayers_card{
    position: absolute !important;
    width: 41.5vw;
    left: 26vw;
    top: 39vh;
}
.showmaplist_card{
position: absolute !important;
    width: 22vw;
    left: 2vw;
    top: 7.2vh;
}
.showplayers_scroll{
    position: fixed;
    top: 55.5vh;
    left: 31.1vw;
    width: 41.5vw !important;
    height: 28.5vh !important;
     overflow-y: auto !important;
}
.showmessage_card{
position: absolute !important;
    width: 22vw;
    height: 25vh;
    left: 2vw;
    top: 49vh;
}
.coloritem{
    width: 100% !important;
    height: 3.5vh;
    border-radius: 5px;
    border: 1px solid mediumslateblue !important;
    margin: 2px 0px 2px 0px;
}
.colordropdown{
    width: 7vw;
    height: 4vh;
    position: absolute !important;
    top: 1vh;
    right: 1vh;
}
.playeritem{
        height: 6vh;
    text-align: center;
    padding-right: 9vw !important;
}


/*fighting*/
#fight_board{
        width: 100vw;
    height: 100vh;
    position: fixed;
}


#board_top_left{
    background: url(../EvoCraft/Resources/textures/war/gui/gui01.png);
    background-position-x: -512px;
    width: 256px;
    height: 128px;
    position: fixed;
    z-index: 2;
}
#board_top_right{
    background: url(../EvoCraft/Resources/textures/war/gui/gui01.png);
    background-position-x: -768px;
    width: 256px;
    height: 128px;
    position: fixed;
    right: 0px;
    z-index: 2;
}
#board_bottom_right{
    background: url(../EvoCraft/Resources/textures/war/gui/pause_back.png);
    background-position-x: -512px;
    width: 128px;
    height: 128px;
    position: fixed;
    right: 0px;
    bottom: 0px;
    z-index: 2;
}
#btn_pause_play{
    width: 100%;
    height: 100%;
}
#btn_pause_play:hover{
    background-position-y: 128px; 
}
.btn_play{
    background: url(../EvoCraft/Resources/textures/war/gui/play_button.png);
}
.btn_pause{
    background: url(../EvoCraft/Resources/textures/war/gui/pause_button.png);
}

#btn_menu{
    background: url(../EvoCraft/Resources/textures/gui/txtbtn_fill_green.png);
    width: 112px;
    height: 60px;
    position: absolute;
    background-size: 112px 128px;
    margin-top: -5px;
    font-family: cursive;
    font-size: 20px;
    font-weight: bold;
    padding: 17px;
}
#btn_menu:hover{
    background-position-y: 64px;
}
#map_name{
    width: 94px;
    height: 25px;
    position: fixed;
    top: 12px;
    left: 117px;
    font-size: 16px;
}
#player_timer{
    width: 94px;
    height: 25px;
    position: fixed;
    top: 12px;
    right: 117px;
    font-family: cursive;
    font-size: 17px;
}
#player_name{
    background: url(../EvoCraft/Resources/textures/gui/txtbtn_fill_green.png);
    width: 112px;
    height: 60px;
    position: absolute;
    background-size: 112px 128px;
    margin-top: -5px;
    right: 0px;
    font-family: cursive;
    font-size: 20px;
    font-weight: bold;
    padding: 17px;
}
#player_name:hover{
    background-position-y: 64px;
}

/*victory defeated*/

.shield{
    width: 36vw;
    height: 62vh;
    position: relative;
    top: 20vh;
    margin: auto;
    z-index: 1;
    display: none;
}

#sword_img_left{
    position: fixed;
    top: -25vh;
    left: 35%;
    animation-timing-function: cubic-bezier(0.55, 0.09, 0.4, 1.15);
    display: none;
    animation-duration: 1.5s;
    transform: rotate(-48deg); 
    z-index: 0;
}
@keyframes sword_img_left {
    from {left: -35%;transform: rotate(-130deg)}
    to {left: +35%;transform: rotate(-48deg)}
}
#sword_img_right{
    position: fixed;
    top: -25vh;
    right: 35%;
    animation-timing-function: cubic-bezier(0.55, 0.09, 0.4, 1.15);
    display: none;
    animation-duration: 1.5s;
    transform: rotate(48deg);
    z-index: 0;
}
@keyframes sword_img_right {
    from {right: -35%;transform: rotate(130deg)}
    to {right: +35%;transform: rotate(48deg)}
}

.shield .name{
    position: relative;
    top: 30%;
    font-size: 3vh;
}
.shield .endname{
    position: relative;
    top: 35%;
    font-size: 4vh;
    color: yellow;
    font-weight: bold;
}





.soldier{
    position: absolute;
    display:none;
    width: 48px;
    height: 48px;
    margin-left: -24px;
    margin-top: -24px;
    background-clip: content-box;
    background-origin: content-box;
    animation-timing-function: step-end;
    animation-iteration-count: infinite;
    
    /*border: 1px solid black;*/
}

.walk{
    padding-left: 9px;
    padding-top: 9px;
    animation-duration: 0.5s;
}
.walk_flag{
    padding-left: 14px;
    animation-duration: 0.5s;
}

.strong{  
    padding-left: 12px;
    padding-top: 17px;
    animation-duration: 0.5s;    
}
.strong_flag{  
    padding-left: 16px;
    animation-duration: 0.5s;
}

.fast{
    animation-duration: 0.5s;
}
.fast_flag{
    animation-duration: 0.5s;
}




/*credits*/
#Credits #credits_texts{
    position: relative;
    font-weight: bold;
    font-size: x-large;
    animation-name: animate_credits_text;
    animation-timing-function: linear;
    animation-duration: 45s;
    transform:translatey(-80%);
}
@keyframes animate_credits_text {
    from {transform:translatey(100vh)}
    to {transform:translatey(-80%)}
}

#Credits #credits_texts span{
    color: yellow;
}

/*backimage*/
.pad_sizediv{
    margin-left: -2px;
    margin-top: -1px;
    width: 100%;
    height: 100%;
}
.pad_div{
    border: 1px solid;
    position: absolute;
}
.padout_div{
    width: 1024px;
    height: 1024px;
    margin-top: -256px;
    position: absolute;
    overflow: hidden;
}
.backimg_left{
     /* display: none; */
    position: absolute;
    transform: rotate(-90deg);
    margin-left: -87.5%;
    width: 1025px;
    height: 1024px;
}
.backimg_right{
    /* display: none; */
    position: absolute;
    transform: rotate(-90deg);
    margin-left: 896px;
    width: 1024px;
    height: 1024px;  
}
.backimg_center{
    /*display: none; */
    position: absolute;
    width: 768px;
    height: 1024px;
    margin-left: 128px;
    margin-top: 128px;
}