body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
}

canvas {
    display: block;
}

#toggle-button {
    background-color: #343a40;
    color: white;
    transition: all 0.3s;
    z-index:10;
    position: absolute;
    top: 0.2rem;
    left: 0.2rem;
}

#editor {
    display: flex;
    width: 14rem;
    background-color: #502110;
    flex-direction: column;
    padding: 2.5rem 0.2rem;
}

#editor > div, #editor > select {
    margin: 0.2rem;
}

#version {
    position: absolute;
    font-size: 0.6rem;
    top: 0;
    right: 0;
    padding: 0.3rem;
    color: wheat;
}

#mappings {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
}

#tiles {
    background-color: #151010;
    flex: 1 1 auto;
    padding: 1rem 3rem;
}

#texts {
    background-color: #202020;
    flex: 1 1 auto;
    overflow: auto;
    position: relative;
}

#texts pre {
    color: white;
    font-family: monospace;
    font-size: 0.8rem;
    padding: 1rem;
}

span.param {
    color: white;
    font-size: 0.8rem;
    width: 4rem;
    display: inline-block;
}

input.int {
    width: 8rem;
}

#v_info {
    font-family: courier;
    background-color: #202020;
    color: white;
}

#copy {
    position: absolute;
    right: 0;
    top: 0
}