/* 
#antBoard, #elemBoard, #lifeBoard, #blankBoard {
    border: 1px solid black;
}
*/

html, body {
    margin: 0;
    padding: 0;
}

/* Fullscreen canvas pages: no scrollbars. */
body.home {
    overflow: hidden;
}

ul {
    list-style-type: none;
    padding: 0;
    padding-top: 10px
    margin: 0;
    margin-left: 20px;
}

li {
    padding-top: 5px;
    padding-left: 8px;
    border-left: 3px solid transparent;
    transition: border-color 0.2s, background-color 0.2s;
}

li.active {
    border-left: 3px solid #333;
    background-color: rgba(0, 0, 0, 0.07);
}


#eid { 
    font-size: 3em;
}




#menu {
    margin-top: 10px;
    width: 15%;
    position: absolute;
    top: 2%;
    right: 2%;
    background-color: white;
    background:rgba(255,255,255,0.95);
    font-family: courier;
    font-size: .7em;
    padding: 16px;
    border: 4px solid #999;
    
    }


#controls {
    display: flex;
    gap: 4px;
    margin-top: 12px;
}

#controls button {
    flex: 1;
    padding: 8px 4px;
    font-family: courier;
    font-size: 1.1em;
    cursor: pointer;
    background-color: #f0f0f0;
    border: 1px solid #aaa;
    border-bottom: 2px solid #888;
    border-radius: 4px;
    user-select: none;
    transition: background-color 0.15s, border-color 0.15s, transform 0.1s;
}

#controls button:hover {
    background-color: #e0e0e0;
    border-color: #888;
}

#controls button:active {
    background-color: #d0d0d0;
    border-bottom-width: 1px;
    transform: translateY(1px);
}

#controls button.playing {
    background-color: #333;
    color: #fff;
    border-color: #222;
}

#controls button.playing:hover {
    background-color: #444;
}

.box {
    /* display: inline-block; */
}

#editor {
    margin-top: 14px;
    transition: opacity 0.2s;
}

#editor p {
    margin: 0 0 4px;
}

#editor .bs-row {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 2px;
}

#editor .bs-row .tag {
    width: 14px;
    font-weight: bold;
}

#editor label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

#editor input {
    margin: 0;
    cursor: pointer;
}

#editor.disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* About page: prose layout, overrides the fullscreen no-scroll defaults. */

body.about {
    font-family: courier;
    line-height: 1.5;
    background: #fafafa;
}

body.about main {
    max-width: 640px;
    margin: 0 auto;
    padding: 24px 16px 64px;
}

body.about h1, body.about h2 {
    border-bottom: 2px solid #999;
    padding-bottom: 4px;
}

body.about canvas {
    display: block;
    margin: 12px 0;
    border: 1px solid #999;
    image-rendering: pixelated;
}

body.about ul {
    list-style-type: disc;
    margin-left: 0;
    padding-left: 24px;
}



