html, body { padding: 0; margin: 0; width: 100%; background-color: white; } main { width: min(80vh, 90vw); display: flex; align-items: center; justify-content: space-around; flex-direction: column; margin: 0 auto; } main > * { width: 100%; margin: 16px; } canvas { max-height: min(80vh, 90vw); max-width: 100%; width: auto; flex-basis: auto; border: 1px solid black; background-color: white; } textarea#term { width: 100%; font-size: 1.3em; border: 1px solid black; box-sizing: border-box; } button#render { cursor: pointer; width: 100%; height: 3em; font-size: 2em; border: 1px solid black; border-radius: 0; background-color: white; } select { border: 1px solid black; background-color: white; margin: 8px; } span#error { color: red; } fieldset { display: flex; flex-flow: column; } fieldset div { display: flex; align-items: center; flex-wrap: wrap; } pre { white-space: pre-wrap; } details summary { cursor: pointer; } footer { text-align: center; } footer a { text-decoration: none; color: black; } footer > ul { list-style-type: none; padding: 0; } footer > ul > li { display: inline; margin: 0 8px; } .inputWrap { display: block; margin: 0 auto; width: fit-content; }