/* Custom styles to clean up pygbag UI for embedding */

/* Hide the console/terminal */
#pyconsole,
#terminal {
    display: none !important;
}

/* Hide the debug controls in bottom right */
#crt,
.bottomright {
    display: none !important;
}

/* Hide the transfer/upload button */
#transfer {
    display: none !important;
}

/* Hide the system debug buttons */
#system {
    display: none !important;
}

/* Fix background colors */
body {
    background-color: #0a0e1a !important;
}

/* Remove any border/padding/outline from the canvas */
canvas.emscripten {
    background-color: transparent !important;
    outline: none !important;
    border: none !important;
}

canvas.emscripten:focus {
    outline: none !important;
    border: none !important;
}

/* Remove focus outlines from all elements */
*:focus {
    outline: none !important;
}

/* Hide any iframes within the game (debug panels) */
#box,
#iframe {
    display: none !important;
}

/* Remove any potential borders from body and html */
html, body {
    border: none !important;
    outline: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
