
/* I did this so that the canvas can fit the window */
html, body {
	overflow: hidden;
	user-select: none;
  padding: 0;
  margin: 0;
  font-family: Arial, sans-serif;
}

canvas {
	width: 100%; 
	height: 100%;
	padding: 0;
}

/* Control panel */
.controls {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 25px;
  border-radius: 15px;
  z-index: 1000;
  min-width: 280px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}

.controls h3 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 18px;
  font-weight: 600;
}

.material-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.material-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.marble-btn {
  background: linear-gradient(45deg, #f8f8ff, #e6e6fa);
  color: #333;
}

.granite-btn {
  background: linear-gradient(45deg, #2c2c2c, #4a4a4a);
  color: white;
}

.ceramic-btn {
  background: linear-gradient(45deg, #f5f5dc, #ddd);
  color: #333;
}

.material-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.material-btn:active {
  transform: translateY(0);
}

.instructions {
  margin-top: 20px;
  font-size: 12px;
  opacity: 0.8;
  line-height: 1.4;
}

.info-panel {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 20px;
  border-radius: 15px;
  z-index: 1000;
  max-width: 250px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}

.info-panel h4 {
  margin: 0 0 10px 0;
  color: #333;
  font-weight: 600;
}

.info-panel p {
  margin: 5px 0;
  font-size: 12px;
  opacity: 0.9;
}
