* {
  box-sizing: border-box;
  margin: 0;
}
html,
body {
  height: 100%;
}
input,
button,
textarea {
  font-size: 1em;
  padding: 0.5em 1em;
  outline: none;
  border: solid 2px #ddd;
  background: transparent;
}
input:focus,
button:focus,
textarea:focus {
  border-color: #39cccc;
}
* {
  -webkit-user-select: none;
  -moz-user-select: none;
}
html {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 16px;
}
body {
  background-size: cover;
  overflow: hidden;
  cursor: url("cursor.png") 8 8, auto;
}
#logo {
  position: absolute;
  left: 1em;
  top: 1em;
  color: #fff;
  line-height: 1;
  display: none;
}
.node {
  z-index: 10;
}
.node-label .label-text {
  display: table;
  height: 100%;
  width: 100%;
}
.node-label .label-text .label-text-content {
  display: table-cell;
  width: 100%;
  height: 100%;
  text-align: center;
  vertical-align: bottom;
}
.cursor {
  fill: none;
  stroke: #a52a2a;
  pointer-events: none;
}
body.style-galaxy {
  background: #1e3d6c url("galaxy.png") center no-repeat;
}
body.style-galaxy .node {
  fill: #fff;
  stroke: #1e3d6c;
  stroke-width: 5px;
}
body.style-galaxy .node-label .label-text .label-text-content {
  color: #fff;
}
body.style-galaxy .node-label.label-size-small {
  font-size: 20px;
}
body.style-galaxy .node-label.label-size-small.label-long {
  font-size: 18px;
}
body.style-galaxy .node-label.label-size-medium {
  font-size: 24px;
}
body.style-galaxy .node-label.label-size-medium.label-long {
  font-size: 22px;
}
body.style-galaxy .node-label.label-size-large {
  font-size: 28px;
}
body.style-galaxy .node-label.label-size-large.label-long {
  font-size: 26px;
}
body.style-galaxy .node-label.last-node {
  font-weight: bold;
}
body.style-galaxy .link {
  stroke: rgba(255,255,255,0.3);
}
body.style-tree {
  background: #f4f1e6 url("tree.png") center no-repeat;
}
body.style-tree .node {
  fill: rgba(186,52,46,0.6);
  stroke: #ba342e;
  stroke-width: 4px;
}
body.style-tree .node-label .label-text .label-text-content {
  color: #ba342e;
}
body.style-tree .node-label.label-size-small {
  font-size: 16px;
}
body.style-tree .node-label.label-size-small.label-long {
  font-size: 14px;
}
body.style-tree .node-label.label-size-medium {
  font-size: 20px;
}
body.style-tree .node-label.label-size-medium.label-long {
  font-size: 18px;
}
body.style-tree .node-label.label-size-large {
  font-size: 26px;
}
body.style-tree .node-label.label-size-large.label-long {
  font-size: 24px;
}
body.style-tree .node-label.last-node {
  font-weight: bold;
}
body.style-tree .link {
  stroke: rgba(186,52,46,0.3);
  stroke-width: 3px;
}
