*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body{
    width: 100%;
    height: 100%;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.editor_canvas{
    position: relative;
    display: flex;
    width: 100%;
    max-width: 1900px;
    height: 100%;
    max-height: 1000px;
    border: 2px solid #AAA;
    border-radius: 4px;
    box-shadow: 0px 0px 2px #AAA;
    background: white;
    overflow: hidden;
}
.editor_canvas-drawer{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.editor_canvas-options{
    position: relative;
    font: 1em Roboto;
    width: 500px;
    border-left: 2px solid #AAA;
    box-shadow: 0px 0px 4px #AAA;
    overflow: auto;
}
.editor_canvas-options button{
    background: #3498db;
    padding: 10px;
    color: white;
    border: none;
    border-radius: 4px;
    box-shadow: 0px 0px 2px #AAA;
    cursor: pointer;
    text-align: center;
}
.editor_canvas-options input{
    padding: 10px;
    width: 100%;
    border: 1px solid #AAA;
    background: white;
}

#drawer{
    display: flex;
    flex-wrap: wrap;
    background: black;
    transform: scale(0.6);
}
.grid-component{
    position: relative;
    height: 32px;
    width: 32px;
    cursor: pointer;
    background: url(../sprites/map.png);
    background-size: 284px 212px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}
.grid-component:hover{
    background-color: #aaa;
    border: 1px solid white;
}

.options_tiles{
    padding: 10px;
    border: 1px solid #AAA;
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
    background:#EEE;
}
.options_tiles > div{
    width: 32px;
    height: 32px;
    background: url(../sprites/map.png);
    background-size: 284px 212px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    cursor: pointer;
    box-sizing: content-box;
    border: 2px solid #DDD;
    background-color: #DDD;
}
.options_tiles > div:hover{
    border: 2px solid #e74c3c;
}
.options_selected{
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #AAA;
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
    background:#EEE;
}
.options_selected > div{
    width: 32px;
    height: 32px;
    background: url(../sprites/map.png);
    background-size: 284px 212px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    cursor: pointer;
    box-sizing: content-box;
    background-color: #999;
    border: 10px solid #999;
    border-radius: 4px;
}