body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    height: 100vh;
    overflow: hidden; /* Prevents the body from scrolling */
}

#controlsContainer {
    width: 450px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto; /* Enables vertical scrolling */
    max-height: 90%; /* Ensures the control panel doesn't overflow */
    max-width: 40%; /* Ensures the control panel doesn't overflow */
}
.control-label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

label {
    font-size: 14px;
    margin-right: 10px;
    width: 100px; /* Set a fixed width for labels */
    text-align: left; /* Align the label text to the right */
}

input[type="text"],
input[type="number"],
input[type="color"],
textarea {
    width: 100%;
    padding: 5px;
    font-size: 14px;
}

textarea {
    resize: none;
}


#waveContainer {
    flex-grow: 1;
    width: 70%;
    max-height: 95%;
    /* width: 70%; */
    /* height: 95%; */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    overflow: hidden; /* Prevents graphics from overflowing */
}

#waveSVG {
    max-width: 100%;
    max-height: 100%;
    display: block;
    /* width: 100%; */
    /* height: 100%; */
    /* max-width: 1000px; Limits the maximum width of the wave */
    /* max-height: 1000px; Limits the maximum height */
}
  

.download {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #20A39E;
    color: white;
    border: none;
    cursor: pointer;
    width: 100%;
}

.download:hover {
    background-color: #EF5B5B;
}

#reset {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #FFBA49;
    color: white;
    border: none;
    cursor: pointer;
    width: 100%;
}

#reset:hover {
    background-color: #EF5B5B;
}

h1 {
    text-align: center;
}

.control-label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.auto_height { /* CSS */
    width: 100%;
  }