root {
    display: block;
}

body {
    /*background-color: #000;*/
    background-repeat: repeat-x;
    background-position: top;
}

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;
    z-index: 99999;
}

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; /* mobile webkit */
}

#progressbar {
    background-color: #4b9b31;
    width: 0%;
    height: 5px;
    margin: 18px 0;
}

#progressbar > span {
    float: right;
    position: relative;
    top: -22px;
}

#progressbar > span img {
    height: 1em;
    display: inline-block;
    position: relative;
    top: -2px;
}

#missatge {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.80);
    top: 0;
    left: 0;

}

#missatge .text {
    position: relative;
    top: 50vh;
    margin: 0 auto;
    font-size: 1.8em;
    color: #fff;
    width: 90%;
    line-height: 1em;
    text-align: center;
}

@font-face {
    font-family: 'walibi0615bold';
    src: url('../../game/css/walibi-holland-webfont.eot');
    src: url('../../game/css/walibi-holland-webfont.eot?#iefix') format('embedded-opentype'),
    url('../../game/css/walibi-holland-webfont.woff2') format('woff2'),
    url('../../game/css/walibi-holland-webfont.woff') format('woff'),
    url('../../game/css/walibi-holland-webfont.ttf') format('truetype'),
    url('../../game/css/walibi-holland-webfont.svg#walibi0615bold') format('svg');
    font-weight: normal;
    font-style: normal;

}