body {
  margin: 0px;
  overflow: hidden;
}

.modal {
  position: absolute;
  display: none;
  margin: 0 auto;
  left: 0px;
  right: 0px;
  top: 100px;
  width: 400px;
  height: 300px;
  text-align: center;
  border: 1px solid white;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  transition: 0.25s ease opacity;
  opacity: 0;
  color: white;
}

.canvases {
  width: 100%;
}

.speed-inp {
  position: absolute;
  display: block;
  left: 10px;
  top: 10px;
}

.input-container {
  position: absolute;
  left: 10px;
  top: 10px;
  color: white;
}

.box-button {
  position: absolute;
  width: 80px;
  height: 30px;
  top: 55px;
  left: 15px;
  background: white;
  color: black;
  border: 1px solid white;
  border-radius: 10px;
}

.parts-list {
  position: absolute;
  display: block;
  left: 15px;
  top: 80px;
  width: 100px;
  padding: 10px;
  border: 1px solid white;
  border-radius : 10px;
  color: white;
  list-style-type: none;
}

.part-item {
  border-bottom: 1px solid white;
  padding: 5px 0px 5px 0px;
}

.cube-name {
  color: white;
}

.cube-color {
  width: 100px;
}

.color-wrapper {
  position: absolute;
  float: right;
  top: 70px;
  left: 80%;
}

.dialog-box {
  position: absolute;
  bottom: 30px;
  background: rgba(0, 0, 0, 1);
  color: skyblue;
  border-radius: 10px;
  border: 5px dotted rgba(250, 250, 250, 1);
  margin: 0 auto;
  padding: 10px;
  left: 0%;
  right: 0%;
  font-size: 24px;
  width: 300px;
  height: 50px;
  opacity: 0;
  transition: 0.25s;
}

.ok-btn {
  position: absolute;
  bottom: 40px;
  background: rgba(250, 250, 250, 1);
  color: black;
  border-radius: 10px;
  margin: 0 auto;
  padding: 4px;
  left: 0%;
  right: 0%;
  font-size: 12px;
  width: 10px;
  text-align: center;
  height: 10px;
  opacity: 0;
  transition: 0.25s;
  transform: translateX(140px);
}

/*
.old-block {
  position: absolute;
  width: 50px;
  height: 20px;
  top: 50px;
  left: 15px;
  float: left;
  background: none;
  border: 1px solid white;
  color: white;
}
*/
