body {
    margin: 0;
    overflow: hidden;
    span.crosshair {
        display: block;
        position: absolute;
        top: 50vh;
        left: 50vw;
        transform: translate(-50%, -50%);
        width: 10px;
        height: 10px;
        background: black;
        border-radius: 50%;
    }
}
canvas#canvas {
    width: 100vw;
    height: 100vh;
    display: block;
    position: absolute;
}
div.stats {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 200px;
    min-height: 80px;
    background: rgba(0, 0, 0, 0.9);
    outline: 1px solid white;
    color: white;
    div.data {
        display: grid;
        grid-template-columns: auto auto auto auto;
        > span {
            padding: 5px;
            outline: 1px solid white;
        }
    }
}
div.popup {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5em;
    border: 5px solid white;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    cursor: pointer;
    padding: 25px;
    pointer-events: none;
    opacity: 0.5;
    transition: all 0.3s linear;
    box-shadow: 0 0 2px 4px rgba(0, 0, 0, 0.5);
}
div.settings {
    background: rgba(0, 0, 0, 0.9);
    min-width: 200px;
    min-height: 200px;
    outline: 1px solid white;
    color: white;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    transition: all 0.3s linear;
    pointer-events: none;
    input[type="text"] {
        background: transparent;
        outline: 1px solid white;
        border: none;
        margin: 5px;
        color: white;
    }
    div.controls {
        margin: 5px;
        padding: 5px;
        > div > div {
            display: flex;
            > * {
                margin: 3px;
            }
        }
    }
    div.savelocally {
        display: flex;
    }
}
