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

    --color-0: #36303d;
    --color-1: #1b1622;
    --color-2: #d1c9d9;
    --color-3: #a658ff;
    --color-4: #110d17;

    font-family: system-ui, sans-serif;
}

.map {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr min(450px, 30vw);
}

canvas {
    background: var(--color-4);
    display: block;
    height: 100%;
    width: 100%;
}

.sidebar {
    background: var(--color-1);
    color: var(--color-2);
    padding: 20px;
    max-height: 100vh;
    max-width: 30vw;
    overflow-y: auto;
}

.sidedata {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 5px;
    background: var(--color-0);
    border-radius: 10px;
    padding: 5px;
}

.sideinfo {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 5px;
    margin-top: 50px;
}

.sidefirst {
    margin-top: 0;
}

select {
    color: inherit;
    background: inherit;
    border: inherit;
    border-radius: 5px;
    border-width: 2px;
}

select, code {
    display: block;
}

img.sidedata {
    width: 400px;
    max-width: calc(30vw - 50px); 
}

.sidemargin {
    margin-top: 40px;
}

a {
  color: var(--color-3);
}
