@font-face {
    font-family: "gameFont";
    src: url("./ethnocentric_rg.ttf");
}

@font-face {
    font-family: "gameTextFont";
    src: url("./lorimer.otf");
}

img { 
    -ms-interpolation-mode: nearest-neighbor;  /* IE (non-standard property) */
}

.google_play_container {
    position: absolute;
    width: auto;
    height: auto;
    top: 8%;
    left: 2%;
}

.google_play_image {
    width: 18vw;
    height: auto;
    min-width: 160px;
}

.logo {
    position: absolute;
    width: 100%;
    top: 8%;
    
    text-align: center;

    font-family: "gameTextFont", sans-serif;
    font-size: 6vw;
    color: white;
    text-shadow: 5px 5px 4px #000000;
    letter-spacing: 2px;
}

.update-message {
    position: absolute;
    top: 14%;
    right: 17%;
    width: 30%;
    height: 10%;
    text-align: center;
    font-family: "gameTextFont", sans-serif;
    font-size: 2.5vw;
    letter-spacing: 1px;
    color: rgb(230, 222, 0);
    text-shadow: 3px 3px 8px #000000;
    transform: rotate(12deg);
  
}

.player_options_level {
    font-size: 16px;
}

#player_options_container {
    position: absolute;
    width: 220px;
    height: 240px;
    top: 50%;
    left: 25%;

    transform: translateX(-50%) translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 3px;

    color: white;
    font-size: 24px;
    padding: 20px;
    text-align: center;

    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

.gift {
    z-index: 20 !important;
}

#gift_right {
    position: absolute;

    width: 300px;
    height: 250px;

    top: 50%;
    right: 25%;
    
    margin-top: -125px;
    margin-right: -150px;

    /* background-color: white; */
}

#gift_long {
    position: absolute;

    width: 728px;
    height: 90px;

    bottom: 8%;
    left: 50%;
    
    margin-left: -364px;

    /* background-color: white; */
}

.non_selectable {
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

#game_container {
    position: absolute;
    width: 100%;
    height: 100%;

    cursor: url("/assets/sprites/ui/crosshair.png") 19 19, crosshair;

    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */

    background-color: black;

    font-family: 'gameFont', sans-serif;

    image-rendering: optimizeSpeed;           
    image-rendering: -moz-crisp-edges;         
    image-rendering: -webkit-optimize-contrast; 
    image-rendering: -o-crisp-edges;           
    image-rendering: pixelated;                 
    -ms-interpolation-mode: nearest-neighbor;  
}

.hidden {
    display: none;
}

#death_screen {
    position: absolute;
    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.6);
    cursor: default;
}

#death_screen_button_container {
    position: absolute;
    width: auto;
    height: auto;

    color: white;

    top: 60%;
    left: 50%;
}

#death_screen_stats_container {
    position: absolute;
    width: auto;
    height: auto;

    padding: 20px;
    border-radius: 3px;

    top: 18%;
    left: 50%;
    transform: translateX(-50%);

    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    font-family: 'gameTextFont', sans-serif;
}

.death_screen_stats {
    position: relative;
    width: 22vw;
    height: auto;
    
}

.death_screen_stats_text {
    text-align: left;
    font-size: 1.25vw;
}

.death_screen_stats_title {
    text-align: center;
    font-size: 1.5vw;
    color: rgb(172, 236, 255);
}

.death_screen_stats_player_number {
    position: absolute;
    top: -25%;
    right: -15%;
    font-size: 5vw;
    text-align: center;
    color: rgb(221, 221, 221);


    transform: rotate(20deg);
    -webkit-transform: rotate(20deg);
    -moz-transform: rotate(20deg);
    -ms-transform: rotate(20deg);
    -o-transform: rotate(20deg);
}

#death_screen_winner_message {
    position: absolute;
    top: 7%;
    right: 50%;
    transform: translateX(50%);
    font-size: 3vw;
    text-align: center;
    color: rgb(251, 255, 28);

}

#weapon_ui_container {
    pointer-events: none;   
    position: absolute;
    width: 10vw;
    height: 22%;
    right: 3%;
    bottom: 35%;

}

#items_ui_container {
    pointer-events: none;   
    position: absolute;
    width: 25vw;
    bottom: 3%;
    right: 3%;
}

.login_form {
    position: absolute;
    text-align: center;

    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);

    background-color: rgba(0, 0, 0, 0.6);

    padding: 20px;
    border-radius: 3px;
    width: 254px;

    font-family: 'Open Sans', "Roboto", sans-serif;   
}

#footer_right {
    position: absolute;
    bottom: 2%;
    right: 1%;
}

#footer_left {
    position: absolute;
    bottom: 2%;
    left: 1%;
}

.hyperlink {
    color: white;
    text-decoration: none;
    margin: 10px;
    font-size: 14px;
}

.copyright {
    color: #FFF;
    margin: 10px;
    font-size: 14px;
}

.bold {
    font-weight: bold;
}

.yellow {
    color: #FFC800
}

.blue {
    color: rgb(62, 210, 255);
}

body {
    font-family: 'Open Sans', "Roboto", sans-serif;   
  
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;

    image-rendering: optimizeSpeed;           
    image-rendering: -moz-crisp-edges;         
    image-rendering: -webkit-optimize-contrast; 
    image-rendering: -o-crisp-edges;           
    image-rendering: pixelated;                 
    -ms-interpolation-mode: nearest-neighbor;  

    background-color: #474747;
}
  
html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    
}

.input_bottom_margin {
    margin-bottom: 20px;
}

.input_bottom_margin_big {
    margin-bottom: 60px;
}

input {
    text-align: center;
    background-color: #ECF0F1;
    border: 2px solid transparent;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 200;
    padding: 13px 0;
    width: 250px;
    transition: border .5s;

}

input:focus {
    box-shadow: none;
}

.btn {
    background: #3498DB;
    color: #ffffff;
    font-size: 16px;
    line-height: 25px;
    padding: 10px 0;
    text-decoration: none;
    text-shadow: none;
    border-radius: 3px;
    box-shadow: none;
    transition: 0.25s;
    display: block;
    width: 100%;
    
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
    
}

.btn:hover {
    background-color: #2980B9;
}

.btn:active {
    background-color: rgb(104, 166, 207);
}

.green {
    background: rgb(219, 71, 52);
}

.green:hover {
    background-color: rgb(185, 51, 41);
}

.green:active {
    background-color: rgb(207, 111, 104);
}

#main_page {
    position: absolute;
    width: 100%;
    height: 100%;

}

#main_page_background_image {
    background: url('/assets/sprites/ui/background2.jpeg') no-repeat center center fixed;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}


/* Reset Select */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    outline: 0;
    box-shadow: none;
    border: 0 !important;
    background: #2c3c50;
    background-image: none;
}

/* Custom Select */
.select {
    position: relative;
    display: block;
    width: auto;
    height: 3em;
    line-height: 3;
    background: #2c3e50;
    overflow: hidden;
    border-radius: .25em;
}

select {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 0 0 .5em;
    color: #fff;
    cursor: pointer;
}

select::-ms-expand {
    display: none;
}

  /* Arrow */
.select::after {
    content: '\25BC';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 0 1em;
    background: #34495e;
    pointer-events: none;
}
  /* Transition */
.select:hover::after {
    color: #f39c12;
}

.select::after {
    -webkit-transition: .25s all ease;
    -o-transition: .25s all ease;
    transition: .25s all ease;
}


@media only screen and (max-width: 1200px) {    
    #gift_right {
        right: 0%;
        margin-right: 0px;
    }

    #player_options_container {
        left: 0%;
        transform: translateX(0%) translateY(-50%);
    }
}

@media only screen and (max-width: 850px) {
    #gift_right {
        display: none;
    }

    .login_form {
        left: 70%;
        top: 60%;
    }

    #player_options_container {
        top: 60%;
    }

    .logo {
        top: 2%;
    }

    .google_play_container {
        top: 2%;
    }

    .update-message {
        top: 8%;
    }
}


@media only screen and (max-width: 700px) {
    #gift_long {
        display: none;
    }
}

@media only screen and (max-height: 500px) {
    #gift_long {
        display: none;
    }
}