*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    cursor: crosshair;
    overflow: hidden;
    touch-action: none;
    height: 100vh;
    width: 100%;
}
.hidden{
    display: none;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
    color: #000;
}
h2{
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 400;
}
.custom > h2{
    margin-bottom: 5px;
}
canvas{
    position: fixed;
    width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: -2;
}
.tools{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    z-index: 10;
}
.tools > div{
    padding: 10px;
    margin: 10px 10px 0 0;
    background-color: #eee;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}
.hide .tools,
.stools{
    display: none;
}
.stools{
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 12px;
    cursor: pointer;
    background-color: #eee;
    padding: 10px;
}
.hide .stools{
    display: block;
}
.colors{
  display: flex;
}
.colors > li{
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: block;
  margin: 0 3px;
  cursor: pointer;
  border: 2px solid #000;
}
.colors > .white{
  background-color: #fff;
}
.colors > .blue{
  background-color: #2ec0ff;
  border-color: #fff615;
}
.colors > .green{
  background-color: #00ff00;
  border-color: #0000ff;
}
.colors > .red{
  background-color: #ff3e6d;
  border-color: #398b00;
}
.colors > .yellow{
  background-color: #ffbb15;
  border-color: #f562f5;
}
.custom > ul{
    display: flex;
}
.custom > ul > li{
    margin-left: 10px;
    display: flex;
    align-items: center;
}
.custom > ul > li:first-child{
    margin-left: 0;
}
.custom label{
    display: inline-block;
    font-size: 12px;
}
.ssize input{
    cursor: pointer;
}
input[type="color"]{
    border: none;
    padding: 0;
    width: 25px;
    height: 25px;
    margin-left: 5px;
}
.tools > .actions{
  padding: 5px 0;
}
.actions li{
    font-size: 12px;
}
.actions li:last-child{
    margin-bottom: 0;
}
.actions span,
.actions a{
    cursor: pointer;
    display: block;
    padding: 3px 10px;
}