/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #121212; /* Dark background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: 'Roboto', sans-serif; /* Apply font to select boxes */
}

#container {
    position: relative;
    margin-top: 40px;
    width: 90vw;
    height: calc(90vw * 9 / 16); /* Maintain 16:9 aspect ratio */
    max-width: calc(90vh * 16 / 9);
    max-height: 90vh;
    background-color: #1E1E1E; /* Slightly lighter than background */
    overflow: hidden;
}

#toneCanvas {
    width: 100%;
    height: 100%;
}

#reloadButton {
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #333;
    border: none;
    border-radius: 4px;
    color: #d1d1d1;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

#reloadButton:hover {
    background-color: #444;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}


#reloadButton:hover {
    background-color: #444; /* Subtle change on hover */
}

#controls {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #d1d1d1;
}

.player-control {
    margin: 10px;
}

.player-control label {
    margin-right: 10px;
}

select {
    padding: 5px;
    background-color: #1E1E1E;
    color: #d1d1d1;
    border: 1px solid #444;
    border-radius: 4px;
}

button {
    margin: 10px;
    padding: 12px 24px;
    background-color: #333;
    border: none;
    border-radius: 4px;
    color: #d1d1d1;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #444;
}

