/* StoneViewer.css */
* {
    font-family: 'Fira Sans', sans-serif;
}

#Stone3D {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 500px; /* Höhe nach Bedarf anpassen */
    margin-bottom: 40px;
}

/* Canvas-Cursor  */
#Stone3D canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    cursor: grab;
    cursor: -webkit-grab;
}

#Stone3D.is-grabbing canvas {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

/* Position Zoom-Buttons */
#zoom-buttons {
    position: absolute;
    bottom: 3%;
    right: 2%;
    display: flex;
    gap: 10px;
    z-index: 100;
    display: none;
}

#zoom-buttons.active {
        display: flex;
    }

/* Design Zoom-Buttons */
#zoomIn, #zoomOut {
    width: 60px; 
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--green);
    color: black !important;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    transition: background-color .3s;
    cursor: pointer;
    font-size: 1.8rem; 
    padding: 0; 
    line-height: 0;
}



#zoomIn:hover, #zoomOut:hover {
     background-color: var(--green-hover);
}

/* Loading-Screen */
#loading-screen {
    position: absolute;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.8s opacity;
    display: none;
}

#loading-text {
    color: black;
    font-size: 32px;
    letter-spacing: 2px;
}

/* Start-Screen */
#start-screen {
    position: absolute;
    z-index: 10000;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Start-Button */
#start-button {
    padding: 10px 15px;
    display: inline-block;
    background-color: var(--green);
    color: black !important;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    transition: background-color .3s;
    cursor: pointer;
    font-size: 16px;
}

#start-button:hover {
    background-color: var(--green-hover);
}

/* Start-Screen Warning */
#warning {
    color: black;
    font-size: 20px;
    text-align: center;
    max-width: 500px;
    line-height: 1.6;
    font-weight: 500;
    display: block;
    width: calc(100% - 40px); 
    margin: 0 auto; 
}

/*  Position Autorotate-Button */
#AutoRotate {
    position: absolute;
    bottom: 3%;
    left: 2%; 
    z-index: 100;
    display: none;
}

#AutoRotate.active {
    display: flex;
}

/*  Style Autorotate-Button */
#autoRotateButton {
    width: 120px; 
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--green);
    color: black !important;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    transition: background-color .3s;
    cursor: pointer;
    font-size: 0.8rem; 
    padding: 0; 
    line-height: 0;
}

#autoRotateButton.inactive {
    background-color: #ccc; /* Farbe wenn aus */
    color: #666;
}
#AutoRotate.active {
    display: flex; 
}
