body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #ffffff;
  font-family: 'Poppins', sans-serif;
}

#treeCanvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.content {
  height: 500vh; /* Increased height for better scrolling range */
  padding-top: 20vh;
  text-align: center;
  color: #221F20;
  position: relative;
  z-index: 1; /* Ensure content is above canvas */
}

#controlPanel {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-width: 350px;
  max-height: 90vh;
  overflow-y: auto;
}

.control-group {
  margin-bottom: 12px;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
}

.control-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.control-label {
  flex: 1;
  font-weight: bold;
}

.control-value {
  flex: 0 0 80px;
  text-align: right;
  margin-right: 10px;
}

input[type="range"] {
  width: 100%;
}

input[type="number"] {
  width: 60px;
}

input[type="color"] {
  width: 40px;
  height: 24px;
}

button {
  padding: 6px 10px;
  background: #F04E23;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 5px;
}

button:hover {
  background: #d13d1a;
}

.color-preview {
  width: 20px;
  height: 20px;
  display: inline-block;
  border: 1px solid #ccc;
  vertical-align: middle;
}

.hex-value {
  font-family: monospace;
  font-size: 12px;
  margin-left: 8px;
  padding: 2px 5px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  letter-spacing: 1px;
}

.metrics {
  font-size: 12px;
  font-family: monospace;
  margin-top: 15px;
  background-color: rgba(0, 0, 0, 0.05);
  padding: 12px;
  border-radius: 4px;
  line-height: 1.6;
}

.metrics h4 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #221F20;
}

.toggle-panel {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  padding: 6px;
  z-index: 1001;
  display: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.toggle-panel:hover {
  transform: scale(1.1);
}

.hide-panel {
  display: block;
  margin-left: auto;
  margin-bottom: 10px;
  background: #221F20;
}

h3 {
  margin-top: 0;
  color: #221F20;
}

.presets {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.page-logo {
  position: fixed;
  top: 20px;
  right: 70px;
  z-index: 999;
  width: 120px;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.page-logo:hover {
  opacity: 1;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 15px;
}

.panel-logo {
  width: 90px;
  height: auto;
  margin-right: 10px;
}

.panel-title {
  margin: 0;
  color: #221F20;
  flex-grow: 1;
}

.export-button {
  background-color: #F04E23;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  margin-right: 10px;
}

.export-button:hover {
  background-color: #d13d1a;
}

.export-status {
  font-size: 14px;
  color: #666;
  margin-left: 10px;
}

#exportQuality {
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: white;
  margin-left: 10px;
}

#renderMode {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
  font-size: 14px;
}

/* #webgpu-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: none; 
}

#q5-canvas {
  display: block;
  z-index: 1;
} */ 