html {
  color-scheme: light dark;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans", sans-serif;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 1rem;
}

.container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  height: 90vh;
  gap: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

textarea,
input[type] {
  font-size: inherit;
  font-family: inherit;
  box-sizing: border-box;
  max-width: 100%;
  border: thin solid light-dark(#ccc, #666666);
  border-radius: 0.15rem;
}

textarea {
  padding: 0.5rem;
}

.row {
  gap: 1rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.mdpage textarea {
  box-sizing: border-box;
  /* Allow vertical resize */
  height: 20rem;
  width: 30rem;
  max-width: 90vw;
}

/* for the html textarea*/
#html-output {
  font-family: "Consolas", monospace;
}

button {
  padding: 0.3rem 1rem;
}
