body {
    overflow: hidden;
    background-color: rgb(255, 255, 255);
}

#toolbar {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 7%;
    z-index: 99;
    padding: 1%;
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    border: solid rgb(168, 165, 165) 1px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.56vw;
    padding: 0px;
    margin: 0px;
}

#w_canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    color: rgb(0, 0, 0);
    overflow: hidden;
    background-color: rgb(255, 255, 255);
    border: solid rgb(0, 0, 0) 0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.56vw;
    padding: 0px;
    margin: 0px;
}

#gridsizebox {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 30%;
    height: 30%;
    background-color: #DDD;
    z-index: 99;
    border-radius: 10px;
}

#slider_gridsize {
    display: block;
    position: absolute;
    top: 30%;
    left: 5%;
    width: 80%;
}

#slider_gridwidth {
    display: block;
    position: absolute;
    top: 60%;
    left: 5%;
    width: 80%;
}

#g_closebtn {
    position: absolute;
    right: 5%;
    bottom: 5%;
    font-size: 2em;
    font-family: Arial, Helvetica, sans-serif;
}

.toolbtn {
    display: inline;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    width: 4%;
    height: 85%;
    z-index: 9;
    overflow: hidden;
    border: solid rgb(204, 204, 204) 1px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3vw;
    padding: 0.2%;
    margin: 0px;
    user-select: none;
}

#color1 {
    color: black;
}

#color2 {
    color: rgb(141, 39, 39);
}

#color3 {
    color: rgb(29, 48, 131);
}

#penchange1 {
    display: none;
    z-index: 999;
    position: absolute;
    left: 4%;
    bottom: 7%;
    background-color: rgb(210, 215, 231);
    padding: 1%;
    border: 1px #000 solid;
    border-radius: 10px;
}