html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
}

#app {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
  overflow: hidden;
}

header {
  background-color: #333;
  color: white;
  padding: 10px;
  text-align: center;
}

h1 {
  margin: 0;
}

main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  overflow: auto;
}

#graph-view, #matrix-view {
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

footer {
  background-color: #ddd;
  padding: 10px;
}

#piano-keyboard {
  height: 150px;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  main {
    grid-template-columns: 1fr;
  }
}

#synth-settings-container {
  background-color: #f0f0f0;
  padding: 10px;
  border-radius: 5px;
  margin-top: 20px;
}

#synth-settings-toggle {
  cursor: pointer;
  user-select: none;
}

#synth-settings {
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  max-height: 1000px; /* Adjust this value based on your content */
}

#synth-settings.collapsed {
  max-height: 0;
}

#synth-settings div {
  margin-bottom: 10px;
}

#synth-settings label {
  display: inline-block;
  width: 100px;
}

#synth-settings input[type="range"] {
  width: 200px;
}
