html, body {
    margin: 0;
    padding: 0;
    background: #000;
    overflow: hidden;
    height: 100%;
}

canvas {
    display: block;
}

#infooverlay {
  position: absolute;
  top: 76px;
  left: 10px;
}

button {
  padding: 8px 12px;
}

#sidebar {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 100;
    color: #66cc66;
    font-family: sans-serif;
    font-size: small;
}

/* #sidebar {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 100;
} */

@media (max-width: 800px) {
    #sidebar {
        top: 10px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    #sidebar h1 {
        margin: 0;
        font-size: 18px;
    }

    #buttonRow {
        display: flex;
        gap: 8px;
    }

    #infoPanel {
        position: fixed;
        left: 10px;
        right: 10px;
        top: 60px;
        max-width: none;
        width: auto;
        box-sizing: border-box;
        z-index: 1000;
        background: rgba(0, 0, 0, 0.9);
        text-align: left;
    }
}

.circleButton {
    width: 32px;
    height: 32px;
    border: 1px solid #66cc66;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #66cc66;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 18px;
}

#buttonRow {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

#infoPanel {
    margin-top: 10px;
    max-width: 250px;
    padding: 10px;
    background: rgba(0,0,0,0.7);
    border: 1px solid #888;
    font-size: 11px;
    line-height: 1.4;
}

a:link {
    color: #66ff66;
}

a:visited {
    color: #66cccc;
}

a:hover {
    background-color: #66ff66;
    color: black;
}   

.hidden {
    display: none;
}
