html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #ffffff;
}
 
/* Custom player style */
#section1 midi-player {
  display: block;
  width: 100%;
  margin: 4px;
  margin-bottom: 0;
}
  
#section1 midi-player::part(control-panel) {
  background: #ffffff;
}
  
#section1 midi-player::part(play-button) {
  transition: all 0.2s;
}
  
#section1 midi-player::part(play-button):hover {
  border-radius: 10px;
}
  
midi-player::part(seek-bar) {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px; 
  cursor: pointer;
  background: #ccc;
}
  
midi-player::part(seek-bar)::-moz-range-thumb {
  background-color: green;
}

midi-visualizer {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: center center; /* Center the scaling transformation */
}

/* Custom visualizer style */
#section1 midi-visualizer .piano-roll-visualizer {
  border-top: none;
  margin: auto;
  margin-top: 0;
  overflow: auto;
}
  
#section1 midi-visualizer svg rect.note {
  opacity: 0.6;
  stroke-width: 2;
}
  
#section1 midi-visualizer svg rect.note[data-instrument="0"]{
  stroke: rgb(0, 0, 0);
}
  
.center-container {
  display: grid;
  place-items: center;
  height: auto;
  text-align: center;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.5);
  overflow: hidden; /* Ensure no overflow when scaling */
}

#content {
  display: flex; /* Change this from none to flex when you want it to appear */
  flex-direction: column;
  justify-content: center; /* Center content vertically within itself */
  align-items: center; /* Center content horizontally within itself */
  color: black;
  text-align: center;
  width: 100%; /* Ensure it takes the full width of the container */
}