body {
  font-family: Arial, sans-serif;
  background-color: #1e1e2e; /* Base color */
  color: #e0e0e0;
  text-align: center;
  margin: 0;
  position: relative;
  overflow-x: hidden;
}

/* Faded background texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/texture.png"); /* Your texture file */
  background-size: cover; /* or contain, repeat depending on your texture */
  background-position: center;
  opacity: 0.25; /* Fade strength (0.05–0.2 is good) */
  pointer-events: none; /* Make sure it's not clickable */
  z-index: -1; /* Keep it behind everything */
}

.panel {
  display: inline-block;
  padding: 10px;
  border: 4px solid #ff7300;
  background: #2a2a3a;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  margin-top: 12px;
}

input, button {
  padding: 6px;
  margin: 4px;
  border: none;
}

button {
  margin-bottom: 10px;
  background-color: #3C3D37;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #333331;
  box-shadow: 0 0 10px #b3b3b3;
  transform: scale(1.05);
}

#canvasContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 820px;
  height: 580px;
  background: #111;
  border: 4px solid #DBDBDB;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  margin: auto;
}

canvas {
  background: #111;
  display: block;
}

#bottomButtons {
  position: fixed;
  /* bottom: 20px; */
  margin-top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}