@import 'webgl-error.css';
@import 'rollup-error.css';

html, body {
    background-color: black;
    color: white;
    margin: 0;
}

.webgl-canvas {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: black;
}

.turn-cursor {
    cursor: url( ../images/cursor-turn.png ), pointer;
}

.debug {
    position: absolute;
    bottom: 0px; left: 0px;
    padding: 4px;
    font-family: monospace;
    font-size: 14px;
    white-space: pre-line;
    /* text-shadow: 1px 2px 1px black; */
    background-color: rgba(0,0,0, 0.5);
    pointer-events: none;
    user-select: none;
}

.btn-webcam {
    position: absolute;
    top: 0; right: 0;
    font-size: 24px;
    margin: 8px;
    opacity: 0.2;
    transition: opacity 0.2s ease;
    user-select: none;
    cursor: pointer;
}

.btn-webcam:hover {
    opacity: 1;
    text-shadow: 0 0 2px white;
}

.btn-webcam.active {
    opacity: 1;
}
