/* Light mode */
@media (prefers-color-scheme: light) {
    :root {
        --body-bg: #FFFFFF;
        --body-color: #000000;
    }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        --body-bg: #000000;
        --body-color: #FFFFFF;
    }
}

/* dkr hack to override */
:root {
    --body-bg: #333;
    --body-color: #FFFFFF;
}

/* body {
    padding: 2em;
    background-color: black;
    color: white;
} */

body {
    background: var(--body-bg);
    color: var(--body-color);
    font-size: small;
}

h1,
h2,
h3,
h4 {
    background: var(--body-bg);
    color: var(--body-color);
    /* text-align: center; */
}

table,
th,
td {
    border: 1px solid var(--body-color);
}

.b-one {
    width: 100px;
}

.b-two {
    width: 100px;
}

.desc {
    display: inline;
    /* width: 120px; */
    /* background-color: chartreuse; */
}

/* #meters div {
    display: inline-block;
    height: 20px;
} */

/* meters {
    width: 606px;
    height: 100px;
    background-color: blue;

    font-family: monospace;
    font-size: small;
    white-space: pre;
    margin: 1em 0;
} */

#log2 {
    /* display: block;
    overflow-y: auto;
    line-height: 1.5em;

    margin-top: 4px;
    
    height: 100px; */
    /* background-color: #222; */
    /* display: none; */
    font-family: monospace;
    font-size: small;
    white-space: pre;
    margin: 1em 0;
    /* color: lightblue; */
}

#log3 {

    font-family: monospace;
    font-size: small;
    white-space: pre;
    margin: 1em 0;
    /* color: red; */
}

#log4 {

    font-family: monospace;
    font-size: small;
    white-space: pre;
    margin: 1em 0;
    /* color: red; */
}

#log1 {

    font-family: monospace;
    font-size: small;
    white-space: pre;
    margin: 1em 0;
    /* color: red; */
}

details {
    background-color: #111;
}

summary {
    background-color: #222;
}

summary:hover {
    text-decoration: none;
}

/* input[type='checkbox']:active,
input[type='radio']:active,
input[type='submit']:active,
input[type='reset']:active,
input[type='button']:active,
input[type='range']:active,
button:active {
  transform: none;
} */


#container {
    /* background: green; */
    padding: 10px;
}

canvas {
    display: block;
    margin-top: 10px;
    /* margin-left: 10px; */
    /* position: relative; */
    /* left: 10px; */
    /* top: 50px; */
    /* border: 1px dotted black; */
    cursor: crosshair;
    background: #ecf0f1;
    /* width: 200px; */
}

input {
    display: inline;
    width: 100px;
}