html {
  background-color: white;
  color: #222;
  font-size: 0.8em;
  line-height: 1.4;
  font-family: sans-serif;
}

#canvas {
  background-color: white;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0px;
  left: 0px;
  z-index: -2;
}

.topic_node{
  width: 120px;
  height: 70px;
  border: black 2px solid;
  /* border-radius: 10%; */
  padding: 2px;
  text-overflow: clip;
  text-align: center;
  overflow: hidden;
  display: flex;
  justify-content: center;
  background-color: #CCFFDD;
  word-wrap: anywhere;
  transition: 0.3s;
}

.topic_node:hover{
  min-width: 120px;
  min-height: 70px;
  z-index: 5;
  height: auto;
  box-shadow:  3px 3px 10px grey;
  transform: translate(-3px, -3px);
}

.active {
  background-color: #99FF99;
}

.passive {
  z-index: -1 !important;
  color: #909090;
  border-color: #7f7f7f;
  background-color: #e5ffee;
}

.passive:hover {
  height: 70px;
  box-shadow:  none;
  transform: none;
}

.controls {
  position: fixed;
  top: 5px;
  right: 5px;
  z-index: 6;
}

.controls button {
  width: 50px;
  margin: 3px;
}