* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; font-family: 'Courier New', monospace; background: #000; }
#renderDiv { position: relative; width: 100vw; height: 100vh; overflow: hidden; background: #000; }
#webcam-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); z-index: 0; filter: grayscale(100%); }
canvas { position: absolute !important; top: 0 !important; left: 0 !important; z-index: 1 !important; }
#start-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); display: flex; justify-content: center; align-items: center; z-index: 10; backdrop-filter: blur(5px); }
#start-button { padding: 20px 40px; font-size: 24px; font-family: 'Courier New', monospace; background: #0000FF; color: white; border: none; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 2px; font-weight: bold; }
#start-button:hover { transform: translateY(-1px); box-shadow: 0 12px 35px rgba(74, 144, 226, 0.4); background: #8787ff; }
#start-button:active { transform: translateY(0); box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3); }
#start-overlay.hidden { display: none; }

.text-box {
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.7);
    color: black;
    font-family: "Arial", "Helvetica Neue", Helvetica, sans-serif;
    border: 2px solid black;
    box-shadow: 3px 3px 0px black;
    font-size: clamp(13px, 2vw, 15px);
    text-align: center;
    z-index: 200;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    max-width: 90%;
    box-sizing: border-box;
}

#logo-container {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

a {
    color: #0000ff !important;
}

a:hover {
    text-decoration: underline;
}

#instructions-container {
    position: absolute;
    top: 10px;
    left: 10px;
    text-align: left;
}

#synth-selector {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 200;
}

#synth-select {
    padding: 8px 12px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid black;
    color: black;
    cursor: pointer;
}

#synth-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 1);
}