root {
    display: block;
}

body {
    background-color: transparent;
    background-position: top;
}

*,
*:before,
*:after {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input,
input:before,
input:after {
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
}

::selection {
    background: transparent;
    color: inherit;
}

::-moz-selection {
    background: transparent;
    color: inherit;
}

#canvas {
    position: fixed;
}

canvas {
    image-rendering: optimizeSpeed;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
    -ms-touch-action: none;
}

.ani_hack {
    -webkit-perspective: 1000;
    -webkit-backface-visibility: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.none {
    display: none;
}

.main_back {
    display: block;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    position: fixed;
    background: rgba(0, 0, 0, .8);
    z-index: 9999;
}

.win_img {
    display: block;
    width: 220px;
    margin: auto;
    margin-top: 50px;
}

.win_title {
    display: block;
    margin: auto;
    margin-top: 30px;
    text-align: center;
    font-size: 8vh;
    font-family: Arial;
    font-weight: bolder;
    color: #fff;
}

.btn_home {
    display: block;
    width: 40px;
    height: 40px;
    float: right;
    margin-top: 10px;
    background: url('../sprites/btn_home.png') no-repeat;
    background-size: 35px 35px;
    border: none;
}

.score {
    text-align: center;
    color: #fff;
    font-size: 16px;
    font-family: Arial;
    font-weight: bolder;
}

.best_score {
    text-align: center;
    color: #fff;
    font-size: 12px;
    font-family: Arial;
    font-weight: bolder;
}

.btn_div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin: auto;
    margin-top: 30px;
}

.btn {
    width: 150px;
    height: 50px;
    align-self: center;
    margin: 8px
}

.btn_play_friends {
    background-color: transparent;
    background: url(../sprites/btn_play_with_friends.png) no-repeat;
    background-size: 150px 50px;
    border: none;
}

.btn_retry {
    background-color: transparent;
    background: url('../sprites/btn_retry.png') no-repeat;
    background-size: 150px 50px;
    border: none;
}

.btn_next {
    background-color: transparent;
    background: url('../sprites/btn_next.png') no-repeat;
    background-size: 150px 50px;
    border: none;
}

.btn_share {
    display: block;
    width: 100px;
    height: 50px;
    margin: auto;
    margin-top: 15px;
    background: url(../sprites/btn_share.png) no-repeat;
    background-size: 80px 25px;
    border: none;
}

/***************FONTS*******************/

@font-face {
    font-family: 'pixel_lcd7regular';
    src: url('pixel_lcd-7-webfont.eot');
    src: url('pixel_lcd-7-webfont.eot?#iefix') format('embedded-opentype'), url('pixel_lcd-7-webfont.woff2') format('woff2'), url('pixel_lcd-7-webfont.woff') format('woff'), url('pixel_lcd-7-webfont.ttf') format('truetype'), url('pixel_lcd-7-webfont.svg#pixel_lcd7regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SportsJersey-Regular';
    src: url('SportsJersey_gdi.eot');
    src: url('SportsJersey_gdi.eot?#iefix') format('embedded-opentype'), url('SportsJersey_gdi.woff') format('woff'), url('SportsJersey_gdi.ttf') format('truetype'), url('SportsJersey_gdi.svg#SportsJersey-Regular') format('svg');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: 'HussarBoldWeb-bf92';
    src: url('HussarBoldWeb-bf92.eot');
    src: url('HussarBoldWeb-bf92.eot?#iefix') format('embedded-opentype'), url('HussarBoldWeb-bf92.woff') format('woff'), url('HussarBoldWeb-bf92.ttf') format('truetype'), url('HussarBoldWeb-bf92.svg#HussarBoldWeb-bf92') format('svg');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}