
*:not(code *, code) {
    font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';
    font-weight: normal;
}

.header {
    margin: 20px;
    display: flex;
    justify-content: space-between;
}

.explanation {
    max-width: 600px;
    margin: auto 0;
}

.logo:hover {
    background-color: #f2f2f2;
}

.logo {
    transition: background-color 200ms;
}

/* Monospace stuff */

.plot-container canvas {
    width: calc(min(100%, 750px));
    aspect-ratio: 1;
}

.demo-container {
    display: flex;
}

input[type=range] {
    width: 200px;
}

.controls {
    width: 400px;
    display: flex;
    justify-content: start;
    flex-direction: column;
    margin-left: 10px;
}

.code-output, .major-error {
    background-color: #f2f2f2;
    font-family: "Consolas", Monaco, monospace;
    white-space: pre;
    font-size: 12px;
    overflow: scroll;
}

button {
    margin: 0 auto 0 0;
}

.major-error {
    padding: 10px;
    background-color: #ffe0e0;
}

.narrow {
    width: 100%;
    overflow-y: hidden;
}

.expression-wrapper {

}

.wrapper {
    display: flex;
    flex-direction: row;
}

h3 {
    padding: 0;
    margin: 0;
}

.test-case {
    margin: 10px;
    padding: 20px;
    display: block;
    background-color: #f2f2f2;
    font-family: "Consolas", monospace;
    white-space: pre;
}

.code-snippet {
    margin-bottom: 10px;
    overflow-wrap: normal;
}

.code-snippet-wrapper {
    max-width: 400px;
    overflow: auto;
}

button {
    display: block;
    width: 80px;
    height: 40px;
    font-size: 20px;
}

textarea {
    width: 100%;
    margin: 0 auto;
    height: 300px;
}
