body,
html {
    width: 100%;
    height: 100%;

    overflow: hidden;
    padding-bottom: 32px;
}

body {
    background-color: black;
}

#editor {
    width: 100%;
    height: 100%;
}

#preview,
#previewgrid {
    width: 100%;
    height: 100%;
    overflow: scroll;
    padding-bottom: 32px;
    padding-left: 24px;
    padding-right: 24px;
    overflow: hidden;
}

#canvas {
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
}

div.cell,
.fixed-grid,
.grid {
    width: 100%;
    height: 100%;
}

#close {
    font-size: 1em;
    border-bottom: 1px dotted black;
    cursor: pointer;
    position: fixed;
    top: 0;
    left: 0;
}

#close:hover {
    background: #ADD8E6;
}

#helpholder {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    color: white;
    overflow: scroll;
    z-index: 999999999999;
    padding: 16px;
}

#banner {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    overflow: hidden;
    color: white;
    z-index: 99999999999999;
    text-align: center;
}