
body.homepage {
  background-color: #0d0d0d;
  color: white;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;   
  align-items: center;       
  height: 100vh;            
  text-align: center;        
  flex-direction: column;    
}

#menu {
 
}

#canvas-container {
  width: 100vw;
  height: 100vh;
  position: relative;
}

#canvas-container { z-index:1; }
#controls { z-index:10; }


body.homepage h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 10px #4af, 0 0 20px #4af;
}

body.homepage p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #ccc;
}

body.homepage button {
  background-color: #111;
  color: white;
  border: 2px solid #4af;
  padding: 12px 25px;
  margin: 10px;
  font-size: 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

body.homepage button:hover {
  background-color: #4af;
  color: black;
  transform: scale(1.05);
}


#controls {
  width: 220px;
  position: absolute;
  left: 20px;
  top: 80px;
  padding: 15px;
  background-color: rgba(240,240,240,0.9);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: bold;
}

input[type="range"] {
  width: 100%;
  margin-bottom: 15px;
  accent-color: #ff5500; 
}

p, label, span {
  color: black;
  font-weight: bold;
}


body.cuboid-page {
  background-color: #ffffff; 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  color: black;
}

body.cuboid-page h1 {
  font-size: 2rem;
  margin-top: 20px;
  text-align: left;
  margin-left: 20px;
}

#sidebar {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 250px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-family: Arial, sans-serif;
  z-index: 100;
}

#sidebar label {
  display: block;
  margin-bottom: 15px;
}
#sidebar input[type="range"] {
  width: 100%;
}

body {
  position: relative; 
}

#trampolineTitle {
  position: absolute;
  top: 10px;
  left: 10px;
  margin: 0;
  z-index: 999; 
  color: #000;
  font-size: 24px;
}
#backBtn {
  position: fixed;
  top: 10px;
  right: 10px;
  padding: 8px 12px;
  font-size: 16px;
  background-color: #1e90ff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
}
#backBtn:hover { background-color: #0066cc; }

#canvas-container {
  width: 100%;
  height: 100vh;
  background-color: #eef6ff; 
  position: relative;
  border: 5px solid brown;   
}
