html, body{
    position: fixed; /* Prevent bouncing */
    width: 100%;
    height: 100%;
    background-color: #000;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevent body scrolling */
}

#scroll_container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Move behind canvas so it doesn't block clicks */
    overflow: auto;
    -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on iOS */
    pointer-events: none; /* Ensure it doesn't block mouse events */
}

#canvas_container {
    width: 100%; /* Ensure canvas container has a size */
    height: 100%;
    background-color: #000;
    pointer-events: auto; /* Ensure canvas can receive mouse events */
    z-index: 100; /* Make sure canvas is above other elements */
}

#canvas{ 
    position: absolute;
    /* JS will control all sizing and positioning to prevent CSS conflicts */
    pointer-events: auto; /* Ensure canvas can receive mouse events */
}

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 */
}

/***************FONTS*******************/
.check-fonts{
                position: fixed;
                opacity:0;
}

.check-font-1{
        font-family: 'impactregular';
}
.check-font-2{
        font-family: 'ds-digitalbold';
}
.check-font-3{
        font-family: 'motorwerkregular';
}
                
@font-face {
    font-family: 'impactregular';
    src: url('impact-webfont.eot');
    src: url('impact-webfont.eot?#iefix') format('embedded-opentype'),
         url('impact-webfont.woff2') format('woff2'),
         url('impact-webfont.woff') format('woff'),
         url('impact-webfont.ttf') format('truetype'),
         url('impact-webfont.svg#impactregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'ds-digitalbold';
    src: url('ds-digib-webfont.woff2') format('woff2'),
         url('ds-digib-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'motorwerkregular';
    src: url('motorwerkoblique-webfont.woff2') format('woff2'),
         url('motorwerkoblique-webfont.woff') format('woff'),
         url('motorwerkoblique-webfont.svg#motorwerkregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
