body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
main {
  max-width: 500px;
  margin: 0 auto;
}
header {
  text-align: center;
}
h2 {
  font-weight: 500;
}
#FileDrop {
  position: relative;
  width: 100%;
  height: 100px;
  border: 2px dashed black;
  color: black;
  margin: 20px auto;
}

#FileDrop.Hover {
  background-color: #00b894;
  color: white;
}

#FileDrop input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  left: 0px;
  top: 0px;
}

#FileDrop #Text {
  position: absolute;
  width: 100%;
  height: 20px;
  line-height: 20px;
  left: 0px;
  top: 50%;
  transform: translate(0, -50%);
  text-align: center;
}

#error {
  color: #d63031;
}
#error:empty {
  display: none;
}
select:empty {
  display: none;
}

textarea {
  font-family: monospace;
  height: 300px;
  width: 100%;
  resize: vertical;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  margin-top: 10px;
}

textarea:placeholder-shown {
  display: none;
}
.btn-container {
  display: flex;
  justify-content: flex-end;
}

button {
  background-color: #74b9ff; /* Green */
  border: none;
  color: white;
  padding: 0.2rem 0.8rem;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  cursor: pointer;
}
button:disabled {
  /* display: none; */
  opacity: 0.5;
  cursor: default;
}
button.play {
  font-size: 1.4rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;

  padding: 0.2rem 0.4rem;
}
button svg {
  height: 30px;
  width: 30px;
  fill: #fff;
}

button.download {
  background-color: #00b894;
}

tone-play-toggle {
  margin-top: 10px;
}
