html {
  width:100%;
  height:100%;
}

body {
  width:100%;
  height:100%;
  overflow: hidden;
  background: linear-gradient(to bottom, #abd, #79a);
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  text-align: center;
  margin:0 auto;
}

a {
  color: #000;
}

.dialog
{
  width:20vw;
  height: 80vh;
  display: inline-block;
  border-radius: 10px;
  border-color: #005;
  border-width: 1px;
  border-style: solid;
  box-shadow: 5px 5px 4px 2px #55f;
  position:absolute;
  left: -2px;
  overflow-y: auto;
}

.dialog div
{
  display:inline-grid;
  text-align: left;
  min-height: 18vh;
  min-width: 16vw;
  margin: 1vh;
  box-shadow: 0px 0px 2px 2px #55f;
  border-radius: 5px;
  padding: 0px 10px;
}

.dialog button, .dialog input, .dialog select
{
  background: linear-gradient(to bottom, #abd, #79a);
  margin: 3px 10px;
  border-radius: 4px;
  width: 100px;
  max-width: 15vw;
}

.dialog button:hover, .dialog input:hover, .dialog select:hover
{
  background: linear-gradient(to bottom, #dda, #aa6);
  box-shadow: 0px 0px 2px 2px #55f;
}

.dialog button:focus, .dialog input:focus, .dialog select:focus
{
  background: linear-gradient(to bottom, #fff, #bbb);
  box-shadow: 0px 0px 2px 2px #ff5;
}

.dialog h2
{
  margin: 10px 0px;
}

.dialog button
{
  font-size: 130%;
  width: 80%;
  cursor: pointer;
}

.dialog div b
{
  display:inline-block;
  min-width: 80px;
}

.dialog canvas
{
  max-width:64px;
  max-height:64px;
  width:auto;
}
.dialog canvas:hover
{
  max-width: none;
  max-height: none;
}

.dialog2
{
  width:70vw;
  height: 80vh;
  display: inline-block;
  background-color: rgba(255,255,255,0.5);
  border-radius: 10px;
  border-color: #111;
  border-width: 1px;
  border-style: solid;
  box-shadow: 5px 5px 4px 2px #555;
  position:absolute;
  right: 5vw;
  overflow: hidden;
}

.dialog2 textarea
{
  width:99%;
  height:99%;
  margin: 2px;
  border-style:none;
  background-color: transparent;
}

.dialog2 textarea:focus
{
  outline: none;
}

.dialog2 .help
{
  width: 98%;
  height: 80vh;
  background-color: #abd;
  position:absolute;
  overflow-y: auto;
  left: 0px;
  top: 0px;
  text-align: left;
  padding-left: 20px;
}

.copyright
{
  display: inline-block;
  position: absolute;
  bottom: 5px;
  right: 5px;
}

.github
{
  display: inline-block;
  position: absolute;
  top: 2px;
  right: 5px;
  font-size: 80%;
}

.icon
{
  display: block;
  position: sticky;
  float: right;
  width: 32px;
  height: 32px;
  background: linear-gradient(to bottom, #abd, #79a);
  border-radius: 8px;
  line-height: 32px;
  text-align: center;
  overflow: hidden;
  cursor: pointer;
}

.icon:hover
{
  box-shadow: 0px 0px 4px 2px #ff5;
}