.viewport3d {
    align-items: flex-start;
    width: 100%;
    max-width: 1000px;
    height: auto;
    padding: 20px;
    box-sizing: border-box;
    margin: 0 auto;
}

#model-viewer {
    align-items: center;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #ffffff;
    background: #1e1e1e;
    width: 100%;
    height: 600px;
    max-height: 600px;
}

.description-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    position: relative; /* Ensure the container is the reference point for positioning */
}

.description {
    position: absolute; /* This allows all descriptions to occupy the same space */
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    text-align: left;
    box-sizing: border-box;
}

.description.visible {
    opacity: 1;
    transform: translateY(0);
}

.gizmo {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 150px;
    height: 150px;
}

.main-viewport {
    width: 100%;
    height: 100%;
}
