canvas {
  cursor: grab;
}

canvas.-dragging {
  cursor: grabbing;
}

canvas.-moving {
  cursor: move;
}

canvas.-zoomIn {
  cursor: zoom-in;
}

html,
body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

canvas {
  position: fixed;
  width: 100%;
  height: 100%;
}

.loading-bar {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0.3);
  transform-origin: top left;
  transition: transform 0.5s;
  z-index: 2;
}

.loading-bar.ended {
  transform: scaleX(0);
  transform-origin: 100% 0;
  transition: transform 1.5s ease-in-out;
}
#percentage {
  position: absolute;
  font-family: "Courier New", Courier, monospace;
  top: 55%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: #ffffff;
  left: 50%;
  font-size: 32px;
  z-index: 2;
}

#loading-screen {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 1;
  transition: 3s opacity;
}

#loading-screen.fade-out {
  opacity: 0;
}

#floor2,
#floor1,
#floorg,
#floormin1,
#floorcoffe
 {
  right: 10px;
  width: 70px;
  height: 35px;
  position: absolute;
  user-select: none;
  cursor: pointer;
  z-index: 1;
  border-radius: 7px;
  color: white;
  background-color: #242424;
}
#floorcoffe {
  top: 20px;
}
#floor2 {
  top: 70px;
}
#floor1 {
  top: 120px;
}
#floorg {
  top: 170px;
}
#floormin1 {
  top: 220px;
}
@media screen and (max-width: 1080px) {
  #floor2,
  #floor1,
  #floorg,
  #floormin1,
  #floorcoffe {
    width: 40px;
    height: 40px;
    right: 10px;
  }
  #floorcoffe {
    top: 20px;
  }
  #floor2 {
    top: 80px;
  }
  #floor1 {
    top: 140px;
  }
  #floorg {
    top: 200px;
  }
  #floormin1 {
    top: 260px;
  }
}
