root { 
    display: block;
}

body{
    background-color: #000;
    background-repeat: repeat-x;
    background-position: top;   
    overflow:hidden;
}

*, *: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_game,
#canvas_game_button,
#canvas_3d,
#canvas_upper_3d{
    position: fixed;  
}

#canvas_3d,
#canvas_upper_3d{
    pointer-events: none;
}

canvas {
	-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; /* mobile webkit */
}

.upper_3d{
    z-index: 2;
}

/***************FONTS*******************/
.check-fonts{
                position: fixed;
                opacity:0;
}

.check-font-1{
        font-family: 'Montserrat';
}
                
                
@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-Black.woff2') format('woff2'),
        url('Montserrat-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

#blockPause {
    position:absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

#buttonPause {
    opacity: 100%;
    width: 8.3vw;
    height: 18vh;
    background: url('../sprites/but_play.png') no-repeat;
    background-size: contain;
}

#blockFoul {
    position:absolute;
    width: 100%;
    height: 100%;

    display: none;
    justify-content:end;
    align-items:center;
    z-index: 2;
}

.textFoul {
    font-family: Impact, Montserrat;
    position: absolute;
    transform: translateX(100vw);
    opacity: 100%;
    width: 100%;
    color: aliceblue;
    font-size: 3em;
    animation-name: slideBlock;
    animation-duration: 2.5s;
    animation-timing-function: ease-in-out;
}

@keyframes slideBlock {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    25%{
        opacity: 60;
    }

    50% {
        transform: translateX(45%);
        opacity: 100;
    }

    75% {
        opacity: 60;
    }

    100% {
        transform: translateX(0%);
        opacity: 0;
    }
}
