*
{
    margin: 0;
    padding: 0;
}

html,
body
{
    background-color: white;
    overflow: hidden;
}

.webgl
{
    position: fixed;
    top: 0;
    left: 0;
    outline: none;
}

#textInput {
    position: absolute;
    top: 850px; /* Adjusted position to be closer */
    left: 87%;
    transform: translateX(-50%);
    font-size: 18px;
    padding: 5px;
    z-index: 10;
    width: 400px; /* Fixed width */
    height: 30px; /* Set fixed height */
    box-sizing: border-box; /* Include padding in width/height calculations */
}

#overlayCanvas {
    display: none;
    position: absolute;
    bottom: 300px; /* Adjusted closer to the bottom of the screen */
    left: 50%;
    transform: translateX(-50%);
    width: 400px; /* Slightly smaller width */
    height: 100px; /* Reduced height */
    background: white; /* White background for overlay */
    border-radius: 10px;
    pointer-events: none; /* Allow interactions with Three.js scene */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Optional: Add a shadow effect for visibility */
}

#questionCanvas {
    display: block;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
    background: white; /* White background for overlay */
    border-radius: 10px;
    pointer-events: none; /* Allow interactions with Three.js scene */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Optional: Add a shadow effect for visibility */
}

#answerCanvas {
    display: block;
    position: absolute;
    top: 100px; /* Positioned below question */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: white; /* White background for overlay */
    border-radius: 10px;
    pointer-events: none; /* Allow interactions with Three.js scene */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Optional: Add a shadow effect for visibility */
}


#startVoice {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#startVoice:hover {
    background-color: #0056b3;
}

#qaContainer {
  max-height: 800px;
  overflow-y: scroll;   /* vertical scroll */
  overflow-x: hidden;   /* hide horizontal scroll */
  background: #ffffff00;
  padding: 10px;
  border-radius: 8px;
  z-index: 10;
}

#qaContainer {
    position: fixed;
    top: 350px;
    right: 20px;
    width: 450px;
    height: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    padding: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
}



