:root {
    font-family: monospace;
    font-size: 16px;
}

body {
    margin: 0;
}

#app {
    display: flex;
    width: 100vw;
    height: 100vh;
}

.h {
    display: flex;
    gap: 12px;
}

#bits {
    display: flex;
    flex-direction: column;
    width: min-content;
}

/* #bits input {
} */

#bits-range {
    width: 40px;
    text-align: center;
    box-sizing: border-box;
}

#bits > .row {
    display: flex;
    flex-direction: row;
    padding: 0px;
}

#bits > .row:nth-child(even) {
    background-color: whitesmoke;
}

#bits > .row > .cell {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    user-select: none;
}

#bits > .row > .num {
    width: 40px;
}

#bits > .row > .color {
    width: 12px;
    background-color: white;
}

.cell.on {
    background-color: lightgray;
}

.converters {
    display: flex;
    flex-direction: column;
}

.converters div {
    display: flex;
    flex-direction: row;
}

.converters label {
    display: block;
    width: 100px;
}
