.row {
    display: flex;
    gap: 1ch;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.col {
    display: flex;
    flex-direction: column;
    gap: 2ch;
}

@media (max-width: 767px) {
  .row {
      flex-direction: column;
  }
  .col {
      flex-direction: row;
  }
}



#screen {
    width: calc(41ch + 2*var(--border-thickness));
    height: 49ch;
    border: var(--border-thickness) solid var(--text-color);
    padding: 0.5ch;
    margin: 0;
}

#editor {
    width: calc(41ch + 2*var(--border-thickness));
    height: 49ch;
    padding: 0.5ch;
    resize: none;
    overflow: scroll;
}

#kbd-input {
    opacity: 0.01;
    background: transparent;
    color: transparent;
    caret-color: transparent;
    cursor: pointer;
}

#pxscreen {
    image-rendering: pixelated; /* Chrome, Edge, Firefox, Safari */
    image-rendering: crisp-edges; /* Fallback for older browsers */
    padding: calc(var(--border-thickness) + 0.5ch);
}

.over {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
}

.tui-input-box {
    position: relative;
}