* {
    box-sizing: border-box;
}

:root {
    --dim: 768px;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    background-color: #111;
    overflow: hidden;
}

#wrapper {
    /* width: var(--dim);
    height: var(--dim); */
    width: 100%;
    height: 90%;
    border: 2px solid #666;
    background-color: #e3f9ff;
    margin: 16px auto;
}

#svg-view {
    background: url('../grid.png');
    width: 100%;
    height: 100%;
}

svg {
    width: 100% !important;
    height: 100% !important;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

#buttons, #input {
    display: flex;
}

button {
    padding: 4px 16px;
    margin: 4px;
    opacity: 0.5;
    border: 4px solid #888;
    border-radius: 8px;
    font-weight: 600;
    font-family: consolas;
    font-size: 12px;
}