body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8;
    touch-action: manipulation;
}

.floating-menu {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #7e74747c;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.fab:hover {
    background-color: #0056b3;
}

.fab.open {
    transform: rotate(45deg);
}

.menu-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 250px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
}

.menu-window.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.menu-content {
    max-height: calc(100vh - 400px);
    /* Adjust this value as needed */
    overflow-y: auto;
    padding-right: 10px;
    /* Add some padding for the scrollbar */
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.menu-item:hover {
    background-color: #f0f0f0;
}

.menu-item svg {
    margin-right: 12px;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.menu-title {
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.toggle-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #555;
    transition: color 0.3s ease;
}

.toggle-btn:hover {
    color: #000;
}

.toggle-group,
.radio-group,
.slider-group {
    margin-bottom: 20px;
}

.toggle-group label,
.radio-group label {
    display: block;
    margin-bottom: 8px;
    color: #444;
    transition: color 0.3s ease;
}

.toggle-group label:hover,
.radio-group label:hover {
    color: #000;
}

.slider-group label {
    display: block;
    margin-bottom: 8px;
    color: #444;
}

input[type="checkbox"],
input[type="radio"] {
    margin-right: 8px;
}

input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    height: 8px;
    border-radius: 4px;
    background: #e0e0e0;
    outline: none;
    margin-top: 8px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4a90e2;
    cursor: pointer;
    transition: background 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: #3a7bc8;
}

.slider-value {
    display: inline-block;
    width: 40px;
    text-align: right;
    font-weight: 600;
    color: #4a90e2;
}

.group-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.menu-content-external {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}

h1 {
    text-align: center;
    font-family: Arial, sans-serif;
    color: #333;
    margin-top: 20px;
    margin-bottom: 20px;
}


.a-enter-vr {
  left: -100px;
}

.a-enter-ar {
    left: -170px;
  }

#menuLinks {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#scenes {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#scenes > * {
    margin: 3px;
}

.btn {
    background-color: #25435c;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn:hover {
    background-color: #3e6a8e;
}

