body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  font-weight: 700; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #0A4284;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; 
}

canvas {
  position: absolute;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.particle-canvas {
  pointer-events: none;
}

#overlayCanvas {
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 110;
}
#overlayCanvas.show {
  animation: bounceIn 0.3s ease forwards;
}
#overlayBackground {
  position: absolute;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 109;
  background: rgba(0, 0, 0, 0.8);
}
#piecesCanvas{
  z-index: 3;
}
/* #gameTopCanvas{
  z-index:2;
} */
#params {
  position: absolute;
  left: 50px;
  top: 150px;
  z-index: 109;
}
#dialogCanvas {
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 120;
}
#dialogCanvas.show {
  animation: bounceIn 0.3s ease forwards;
}
#dialogOverlay {
  position: absolute;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 119;
  background: rgba(0, 0, 0, 0.8);
}