body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.root {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.dom-canvas {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  border: 1px solid black;
}

.control-panel {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 30%;
  height: 100vh;
  border: 1px solid black;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transition: left 0.3s ease;
}

.control-panel-hidden {
  position: absolute;
  top: 0px;
  left: -29%;
  width: 30%;
  height: 100vh;
  border: 1px solid black;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transition: left 0.3s ease;
}

.title-bar {
  width: 100%;
  height: 30px;
  line-height: 30px;
  text-align: right;
  cursor: pointer;
  color: white;
  background-color: black;
}

.title-bar .icon {
  margin-right: 5px;
}

.control-item {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  color: white;
}

.control-label {
  width: 20%;
  display: flex;
  padding: 5px;
}

.control-value {
  display: flex;
  width: 80%;
  flex-direction: row;
  flex-wrap: wrap;
}

.control-value-item {
  align-content: center;
  align-items: center;
  text-align: center;
  width: 110px;
  overflow: hidden;
  margin: 3px;
  padding: 1.7px;
  border: 1px solid white;
  cursor: pointer;
  font-size: 14px;
}

.control-text {
  margin: 5px;
  color: white;
  background-color: black;
  line-height: 30px;
  width: 80%;
  border: 1px solid white;
}

.control-button {
  margin: 5px;
  color: white;
  background-color: black;
  line-height: 30px;
  width: 10%;
  border: 1px solid white;
  cursor: pointer;
}

.control-value-item:hover {
  background: rgba(135, 232, 135, 0.3);
  color: #61dafb;
}

