body {
    margin: 0;
    font-family: Arial, sans-serif;
    width: 100vw;
    height: 100vh;
}

header {
    display: flex;
    width: calc(100% - 40px);
    justify-content: space-between;
    align-items: center;
    background: #111;
    color: #333;
    padding: 10px 20px;
    overflow: visible;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

header h1 {
    margin: 0;
    display: block;
}

#menu-icon {
    cursor: pointer;
}

#menu-icon:hover {
    color: #666;
    transition-duration: 200ms;
}

/* #menu {
    background: #444;
    padding: 10px;
    position: absolute;
    top: 60px;
    left: 0;
    width: 200px;
    transition: transform 0.3s ease;
    z-index: 2;
} */

#menu.hidden {
    transform: translateX(-100%);
}

#menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#menu ul li {
    margin: 10px 0;
}

#menu ul li button {
    background: none;
    color: #888;
    border: none;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    letter-spacing: 0.1em;
    font-size: 1.1em;
}

#menu ul li button:hover {
    color: #bbb;
    transition-duration: 200ms;
}

main {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: #111;
}

#visualizer {
    position: absolute;
    width: 100%;
    height: 100%;
}

#visualizer canvas {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
}

.panel, #menu {
    position: absolute;
    background: #444;
    color: #fff;
    padding: 10px 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 2;
    width: calc(100% - 100px);
    text-align: center;
}
#menu {
    margin-top: 60px;
}

.panel h2 {
    margin: 50px 0 20px 0;
    color: #666;
    font-size: 1.8em;
}
.panel .input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}
.panel label {
    width: 50px;
    text-align: right;
    color: #888;
}
.panel .input-group select {
    background: #333;
    color: #fff;
    border: none;
    padding: 5px;
    border-radius: 5px;
    width: 300px;
    height: 40px;
    margin: 0;
    cursor: pointer;
}
.panel input {
    background: #333;
    color: #fff;
    border: none;
    padding: 5px;
    border-radius: 5px;
    width: 300px;
    margin: 0 0 20px 0;
}

.panel button {
    background: #222;
    color: #fff;
    border: none;
    padding: 15px 5px;
    border-radius: 5px;
    width: 360px;
    margin: 0;
    letter-spacing: 0.2em;
}

button.margin-btn {
    margin: 20px 0 50px 0;
}

.panel button:hover {
    background: #000;
    transition-duration: 200ms;
}

.panel.hidden {
    display: none;
}

#input-data-1 {
    position: fixed;
    bottom: 70px;
    left: 10px;
    width: 250px;
    height: 10px;
    z-index: 2;
}

#input-data-2 {
    position: fixed;
    bottom: 70px;
    left: 300px;
    width: 250px;
    height: 10px;
    z-index: 2;
}