@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');

body {
    color: #888;
    background-color: rgb(180, 180, 180);

    margin: 0px;
    touch-action: none;
    font-family: 'Roboto', sans-serif;
    user-select: none;
    -moz-user-select: none;

    padding: 0;
    margin: 0;

    -ms-user-select: none;
    user-select: none;
}
span input[type=checkbox] {
    border: 1px solid transparent;
    outline: 0;
    vertical-align: middle
}
.menubar {
    background-color: #262626;
    position: absolute;
    z-index: 99;
    width: 100%;
    height: 32px;
    right: 0;
    top: 0
}
.menubar .appname,.menubar .item {
    display: inline-block;
    font-size: 13px
}
.menubar .appname {
    font-weight: 700;
    padding: 8px;
    line-height: 16px;
    cursor: default;
}
.menubar .item {
    color: #868686 !important;
    background-color: transparent
}
.item.right {
    float: right;
    cursor: auto;
    padding-right: 8px
}
.item.right span span,.item.right span span span {
    line-height: 32px
}
.menubar .item .title {
    display: inline-block;
    padding: 8px;
    font-size: 13px;
    line-height: 16px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    outline: none;
    color: #868686 !important;
}
.menubar .item .options:hover,
.menubar .item .title:focus+.options {
    display: block
}
.menubar .item .options {
    background-color: #202020;
    position: fixed;
    display: none;
    cursor: pointer;
    font-size: 13px;
    height: 28px
}

hr {
    margin: 0;
    border: 0;
    height: 1px;
    background: #888
}
.menubar .item .options div {
    background-color: #262626;
    min-width: 100px;
    line-height: 28px;
    padding-left: 8px;
    padding-right: 8px
}
.menubar .item .options div:hover {
    background-color: #2d2d2d
}

.toolbar {
    position: absolute;
    left: 0;
    top: 32px;
    bottom: 0;

    width: 50px;
    
    background-color: #323232;
    padding-top: 15px;
    padding-bottom: 15px;
}

.toolbar button {
    width: 30px;
    height: 30px;
    margin-left: 10px;
    margin-right: 10px;

    margin-top: 2px;
    margin-bottom: 2px;

    background-color: transparent;
    border: none;
    outline: none;

    color: #868686;
}

.toolbar hr {
    width: 30px;
    margin-left: 10px;
    margin-right: 10px;
    background-color: #262626;
    height: 2px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.toolbar .color {
    
    width: 20px;
    height: 20px;
    background-color: white;
    border: solid 0px #888;
    border-radius: 5px;
    margin-top: 10px;
    margin-left: 15px;
    margin-right: 15px;
}

.toolbar button svg:hover,
.toolbar button:hover {
    color: #ddd;
}

.toolbar button.active {
    background-color: #222;
    border-radius: 5px;
    fill: #ccc;
}


.statusbar {
    position: absolute;
    left: 50px;
    bottom: 0;
    right: 350px;
    background-color: #2b2b2b;
    height: 26px;
    line-height: 26px;
    padding-left: 10px;
    font-size: 13px;
    overflow: hidden;
}

.statusbar text {
    line-height: 26px;
}

input[type="range"] {
    -webkit-appearance: none;
    height: 10px;
    width: 100px;
    background-color: #464646;
    outline: none;
    
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 10px;
    background: #323232;
    cursor: pointer;
}


::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background-color: #868686;
}
::-webkit-scrollbar-thumb {
    background: #666; 

  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555; 
  }

.sidepanel {
    position: absolute;
    top: 32px;
    bottom: 0;
    right: 0px;
    background-color: #323232;
    width: 350px;

    font-size: 13px;
}

.viewport {
    position: absolute;
    left: 50px;
    bottom: 26px;
    right: 350px;
    top: 32px;
    background-color: #222;
    overflow: scroll;
}

.viewport canvas {
    background-color: white;
    border: dashed 2px red;

    margin: 40px;

    width: 620px;
    height: 920px;
}