html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    padding: 0;
    font-size: 1.5vh;
}

#canvas {
    width: 100%;
    height: 100%;

    background-color: whitesmoke;

    z-index: -999;
}

#toolbar {
    position: fixed;
    top: 0;
    left: 0;

    border-bottom: 2px solid black;

    height: 5vh;

    width: 100%;

    display: flex;
    flex-direction: row;

    background-color: silver;
}

#toolbar details {
    border: 2px solid black;
    
    padding: .2vw;
    
    flex: 1;

    cursor: pointer;
}
#toolbar details[open] {
    font-weight: bold;
    background-color: gray;
}
.tool-content {
    position: absolute;
    top: 5vh;

    background-color: silver;

    border: 2px solid black;

    padding: 1vw;

    text-align: right;
}

.brush {
    position: absolute;
    transform-origin: 50%;
}