/* styles.css */

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
}

#viewer {
    width: 100%;
    height: 100%;
    transition: opacity 1s ease-in-out; /* Add fade transition effect */
    opacity: 1;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
}

#new_infospot2 {
    background: #fff;
    color: #000;
    border-radius: 3px;
    padding: 20px;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

/* Hidden state (shared by all infospots) */
.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Control Container */
.control-container {
    position: absolute;
    bottom: 20px; /* Adjust this value to position the controller higher or lower */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px; /* Space between buttons */
}

/* Control Buttons */
.control-btn {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    padding: 15px; /* Adjust button size */
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s;
}

#ctrl-button{
    display: flex;
    gap: 10px; 
    transition: display 0.5s ease-in;
}


.control-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    display:block;
    transition: all 0.5s;
}

.icon {
    font-size: 20px; /* Adjust icon size */
}

/* Optional: Style for the toggle button specifically */
#toggleController {
    background-color: rgba(0, 150, 0, 0.8); /* Different color for visibility */
}
