﻿#sceneList .scenes .scene {
    flex: 1 1 calc(100% - 10px); /* Ajuste para dispositivos móviles */
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
    font-size: 16px;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center; /* Centra el texto verticalmente */
    justify-content: center; /* Centra el texto horizontalmente */
    background-color: rgba(0, 0, 0, 1); /* Fondo negro semitransparente */
    color: white; /* Texto en blanco para mejor contraste */
    pointer-events: fill;
}

/* Media query para escritorio */
@media (min-width: 768px) {
    #sceneList .scenes .scene {
        flex: 0 0 calc(20% - 10px); /* Ajuste para mantener tres columnas incluyendo el gap */
    }
}

#sceneListBackground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Fondo negro semitransparente */
    z-index: 2000;
    display: none;
}

#sceneListBackground.enabled {
    display: block;
}

.scenesBackground{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(254, 254, 254, 0.75); /* Fondo negro semitransparente */
    z-index: 1000;
}

#sceneList .scenes .scene .text {
    background-color: rgba(255, 255, 255, 0.9); /* Fondo blanco con transparencia */
    color: black; /* Texto en negro para contraste */
    padding: 10px; /* Espacio interno */
}

.fixed-image-container {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.fixed-image {
    max-width: 300px; /* Ajusta el tamaño de la imagen según sea necesario */
    height: auto;
}

/* CSS para los botones */
.button-container {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Espacio entre los botones */
    padding: 10px; /* Espacio alrededor del contenedor de los botones */
    border-radius: 5px; /* Bordes redondeados opcionales */
}

.button-container .menu-button {
    width: 80px; /* Ancho de los botones */
    height: 80px; /* Altura de los botones */
    background-size: cover;
    background-position: center;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    opacity: 1; /* Transparencia inicial */
    transition: transform 0.3s;
}

.button-container button {
    width: 30px; /* Ancho de los botones */
    height: 30px; /* Altura de los botones */
    background-size: cover;
    background-position: center;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    opacity: 0.75; /* Transparencia inicial */
    transition: transform 0.3s;
}

.button-container .menu-button:hover {
    background-image: url('img/Dots.png');
    transform: scale(1.1);
    opacity: 1; /* Opacidad total al hacer hover */
}

.button-container button:hover {
    transform: scale(1.1);
    opacity: 1; /* Opacidad total al hacer hover */
}

.sub-buttons {
    display: flex;
    gap: 10px;
}

/* Botón principal */
.menu-button {
    background-image: url('img/Menu.png');
}

.rotate-button {
    background-image: url('img/Rotate.png');
}

.rotate-button .hide {
    display: none;
}

.plane-button {
    background-image: url('img/Plane.png');
}

.plane-button .hide {
    display: none;
}

.info-button {
    background-image: url('img/Info.png');
}

.gyro-button {
    background-image: url('img/gyro.png');
    display: none;
}

.mobile .gyro-button {
    display: block;
}

.hide-button {
    background-image: url('img/Hide.png');
}

.scene-entrance1 {
    background-image: url('places/Entrance 1.jpg');
}

.scene-entrance2 {
    background-image: url('places/Entrance 2.jpg');
}

.scene-reception1 {
    background-image: url('places/Reception 1.jpg');
}

.scene-reception2 {
    background-image: url('places/Reception 2.jpg');
}

.scene-reception3 {
    background-image: url('places/Reception 3.jpg');
}

.scene-aisle {
    background-image: url('places/Aisle.jpg');
}

.scene-terrace1 {
    background-image: url('places/Terrace 1.jpg');
}

.scene-terrace2 {
    background-image: url('places/Terrace 2.jpg');
}

.scene-living-room-1 {
    background-image: url('places/Living Room 1.jpg');
}

.scene-living-room-2 {
    background-image: url('places/Living Room 2.jpg');
}

.scene-coworking-room1 {
    background-image: url('places/Coworking Room 1.jpg');
}

.scene-coworking-room2 {
    background-image: url('places/Coworking Room 2.jpg');
}

.scene-coworking-room3 {
    background-image: url('places/Coworking Room 3.jpg');
}

.scene-coworking-room4 {
    background-image: url('places/Coworking Room 4.jpg');
}

.scene-gym1 {
    background-image: url('places/Gym 1.jpg');
}

.scene-gym2 {
    background-image: url('places/Gym 2.jpg');
}

.scene-gym3 {
    background-image: url('places/Gym 3.jpg');
}

.scene-laundry1 {
    background-image: url('places/Laundry 1.jpg');
}

.scene-laundry2 {
    background-image: url('places/Laundry 2.jpg');
}

.scene-cinema1 {
    background-image: url('places/Cinema 1.jpg');
}

.scene-cinema2 {
    background-image: url('places/Cinema 2.jpg');
}

.scene-recreation-room1 {
    background-image: url('places/Recreation Room 1.jpg');
}

.scene-recreation-room2 {
    background-image: url('places/Recreation Room 2.jpg');
}

.scene-recreation-room3 {
    background-image: url('places/Recreation Room 3.jpg');
}

.scene-recreation-room4 {
    background-image: url('places/Recreation Room 4.jpg');
}

.scene-recreation-room5 {
    background-image: url('places/Recreation Room 5.jpg');
}

.scene-single-studio-bedroom {
    background-image: url('places/Single Studio - Bedroom.jpg');
}

.scene-single-studio-bathroom {
    background-image: url('places/Single Studio - Bathroom.jpg');
}



.map-plane {
    position: absolute;
    z-index: 5000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.mobile .map-plane {
    width: 90%;
}

.map-plane.visible {
    display: block;
}