
/* canvas {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    box-shadow: rgb(0 0 0 / 10%) 0 0 16px 16px
} */
/*  #unity-canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -ms-interpolation-mode: nearest-neighbor;
    -webkit-transform: scale3d(1, 1, 1);
    z-index: 1;
} */



html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    /*background-color: #000000;*/
    transition: background-color 140ms ease-in-out;

    overflow: hidden;
    position: relative;
    touch-action: none;
    -ms-touch-action: none;

    -webkit-touch-callout: none !important;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none !important;             /* prevent webkit from resizing text to fit */
    -webkit-user-select: none !important;                  /* prevent copy paste, to allow, change 'none' to 'text' */
}

#bg-image {
    /* The image used */
    /*background-image: url('assets/gfx/levels/desert_level_fin.png');*/
    background-color: 	#000000;

    transition: background-color 140ms ease-in-out;
    /* Add the blur effect */
    /*filter: blur(8px);*/
    /*-webkit-filter: blur(8px);*/

    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(20px) brightness(100%);
    transform: scale(1.1);

    /* Full height */
    height: 100%;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    /* Position the background behind other content */
    position: absolute;
    z-index: -1; /* Ensure the background is behind other content */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    /* Ensure the background starts at the border edge */
    background-origin: border-box;
}

#wrongRotation {
    display: none;
    z-index: 20;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 1);
    touch-action: none;
}
#wrongRotation img {
    display: block;
    width: 30%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 45%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    touch-action: none;
}

@font-face {
    font-family: 'MouseMemoirs';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fnt/MouseMemoirs-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Movavi';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fnt/movavi-grotesque.black.ttf') format('truetype');
}

@font-face {
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fnt/Mulish-Bold.ttf') format('truetype');
}
