#canvas_area {
    flex: 1;
    height: 100%;
    background-color: #eaa646;
    border-left: 6px solid #803212;
    display: flex;
    flex-direction: column;
    padding: 0;
    align-items: center;
    gap: 0;
    font-family: Arial, Helvetica, sans-serif;
}

#controls {
    flex: none;
    height: 20%;
    width: 100%;
    border-bottom: 6px solid #803212;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3em;
}

#cell_size_container {
    text-align: center;
}

#cell_size {
    height: 1.75em;
    width: 4.5em;
    border: 5px solid #803212;
    border-radius: 10px;
    background-color: #c46931;
    font-size: 2rem;
    text-align: center;
}

input[type="number"] {
  -webkit-appearance: textfield;
     -moz-appearance: textfield;
          appearance: textfield;
}

#ruleset {
    height: min-content;
    width: min-content;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #000;
    border: 15px groove #803212;
}

#ruleset h1 {
    width: 100%;
    height: 1.25em;
}

#ruleset_grid {
    display: grid;
    grid-template-columns: repeat(9, 1.5em);
    font-weight: 900;
    font-size: 1.6rem;
    gap: 0.25em;
}

.cell {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1.5em;
    border: 0px solid #803212;
    cursor: pointer;
}

.zero {
    background-color: #00a;
    color: #fff;
}

.one {
    background-color: #0f0;
}

.two {
    background-color: #f00;
}

#canvas_container {
    flex: 1;
    width: 100%;
    background-color: #c46931;
    display: flex;
    justify-content: center;
    align-items: center;
}

#canvas {
    border: 6px solid #803212;
}

#not_for_phone {
    display: none;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

@media only screen and (max-width: 1000px) {
    #canvas_area {
        display: none;
    }

    #not_for_phone {
        display: block;
    }
}
