/* Estilos Globales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    /* Evitar desbordamiento */
}

/* Contenedor principal - Layout Fijo para 1920x1000 */
.container {
    width: 1920px;
    height: 1000px;
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
}

.icon-dynamic {
    position: absolute;
    z-index: 1001;
    transition: opacity 0.5s ease-in-out; /* Transición de opacidad */
    transform-origin: top left;
    pointer-events: none;
    opacity: 0; /* Invisible por defecto */
}

/* Contenedor para contenido cargado dinámicamente */
.content-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: none;
    /* Se mostrará dinámicamente */
}

/* Clases para manejar la visibilidad de las vistas */
.view {
    display: none;
    /* Ocultar todas las vistas por defecto */
}

.view.active {
    display: block;
    /* Mostrar solo la vista activa */
}

/* Contenedor de la imagen principal */
.image-container {
    position: absolute;
    top: 81px;
    left: 140px;
    width: auto;
    height: 175px;
    z-index: 10;
}

.exact-image {
    max-height: 100%;
} 

/* Botón de retroceso */
/* Estilos para la vista 2 */
.button-style.view2-active .button-description {
    display: none;
}

.view2-active.button-title {
    font-size: 1.35em;
    line-height: 1.2;
}


/* Estilos base para todos los botones */
/* Estilos específicos para cada botón */
.red-button {
    background-color: #dd3636;
}

.celeste-button {
    background-color: #0176de;
}

.purple-button {
    background-color: #AE45BA;
}

.green-button {
    background-color: #25883b;
}

.blue-button {
    background-color: #173f8a;
}

.yellow-button {
    background-color: #fec60d;
}

.teal-button {
    background-color: #03DDCD;
}

.brown-button {
    background-color: #754b34;
}

.button-style {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
}


.back-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Estilos comunes para botones */
.red-button,
.celeste-button,
.purple-button,
.green-button,
.blue-button,
.yellow-button,
.teal-button,
.brown-button {
    opacity: 1;
    position: absolute;
    color: white;
    border: none;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    line-height: 1.2;
    transition: transform 0.3s ease;
}

.red-button:hover,
.celeste-button:hover,
.purple-button:hover,
.green-button:hover,
.blue-button:hover,
.yellow-button:hover,
.teal-button:hover,
.brown-button:hover {
    transform: scale(1.02);
}

/* Colores de texto específicos */
.yellow-button .button-content,
.teal-button .button-content {
    color: black;
}


/* Contenedor de texto gris */
.gray-content {
    position: absolute;
    top: 780px;
    left: 1235px;
    width: 545px;
    height: 135px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 90;
}

/* Contenedor de imágenes de texto con efecto fade */
.text-images-container {
    position: absolute;
    top: 795px;
    left: 1455px;
    width: 325px;
    height: auto;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

/* Clase para ocultar elementos */
.hidden {
    display: none;
}

.text-image {
    max-width: 60%;
    /* Reduce el tamaño máximo de las imágenes */
    height: auto;
    /* Mantén la proporción de aspecto */
    margin-bottom: 5px;
    /* Añade un pequeño margen inferior entre las imágenes */
    pointer-events: auto;
    /* Habilita interacción si es necesario */
}

/* Estilo específico para la imagen con src="img-textos/Bienvenidos.png" */
.text-image[src="img-textos/Bienvenidos.png"] {
    max-width: 50%;
    /* Ajustar el tamaño máximo solo para esta imagen */
}

.text-image[src="img-textos/Tótem Informativo.png"] {
    max-width: 80%;
    /* Ajustar el tamaño máximo solo para esta imagen */
}

/* Estilos para el left-panel2 */
.left-panel2 {
    position: absolute;
    top: 285px;
    left: 95px;
    width: 1140px;
    height: 635px;
    background-color: #ffffff;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.5s ease-in-out;
}

/* Estilos para la imagen dinámica */
.dynamic-image {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
    /* La imagen está detrás del contenido del botón */
}

.button-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
    text-align: left;
    color: white;
    padding: 20px;
}

.button-title {
    font-weight: bold;
    font-size: 2.15em;
    margin-bottom: 2px;
    line-height: 1.2;
}

.button-description {
    font-size: 1.1em;
    margin-bottom: 2px;
    line-height: 1.2;
    font-weight: normal;
}
.button-style .button-icon {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 100px;
    height: 100px;
}

/* Clase para ocultar la descripción */
.hide-description .button-description {
    display: none;
}

/* Clase para reducir el tamaño del título */
.shrink-title .button-title {
    font-size: 1.2em;
}

/* Clase para reducir el tamaño del logo */
.shrink-icon.button-icon {
    width: 50px;
    height: 50px;
}

/* Estilos para el botón Volver (imagen) */
#volver-button {
    position: absolute;
    z-index: 1;
    top: 765px;
    left: 1620px;
    transition: opacity 1s ease;
    cursor: pointer;
}

.volver-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 51;
}

.mute-button {
    position: absolute;
    top: 115px;
    left: 1140px;
    cursor: pointer;
    z-index: 10; 
}

.mute-button img {
    width: 60px; 
    height: 60px;
}

/* Estilos para el contenedor de iframes */
.iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    z-index: 100;
    /* Asegura que esté por encima del botón "Volver" */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fondo semitransparente */
    z-index: 1101;
}

/* Estilos para el iframe dinámico */
#dynamic-iframe-container {
    position: relative;
    width: 1500px;
    height: 850px;
    background-color: white;
    border-radius: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 101;
    /* Asegura que esté por encima del botón "Volver" */
}



.close-buttonEsp {
    top: 770px;
    right: 0px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 102;
    padding: 0;
    -webkit-user-drag: none;
}

.close-buttonEsp img {
    width: 160px;
    height: 160px;
    pointer-events: none;
    /* Evita que la imagen capture eventos de clic */
    -webkit-user-drag: none;
    /* Compatibilidad con navegadores basados en WebKit */
}

.close-iframe-button img {
    width: 50px;
    height: 50px;
    pointer-events: none;
    /* Evita que la imagen capture eventos de clic */
    -webkit-user-drag: none;
    /* Compatibilidad con navegadores basados en WebKit */
}



/* Iframe Modal */
.iframe-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: white;
    transform: translate(-50%, -50%);
    border-radius: 6px;
    z-index: 2000;
    border: 6px solid rgba(0, 0, 0, 0.583);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    width: 1800px;
    height: 900px;
}

.iframe-modal iframe {
    width: 100%;
    height: 100%;
}

.iframe-content {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Estilos para el botón de cerrar */

.close-iframe-button {
    position: absolute;
    top: -28px;
    right: -30px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 103;
    padding: 0;
    -webkit-user-drag: none;
}

.flecha_back {    
    width: 80px;  
    height: 26px; 
    position: absolute;
    top: -40px;    
    right: -40px;  
    cursor: pointer;
    transition: transform 0.2s ease; 
    z-index: 1000;     
  }
  
  .flecha_back:hover {
    transform: scale(1.1); 
  }

  #internal-content-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 100;
  }

.gray-content .content-wrapper {
    position: relative;
}

.gray-content .content-wrapper>img {
    position: absolute;
    z-index: 0;
}


.grey-content {
    position: absolute;
    z-index: 1;
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: space-between;
}

.grey-content .qr {
    display: grid;
    place-content: center;
    width: 135px;
}

.grey-content .qr img {
    width: 115px;
    padding: 0px;
    background: #fff;
    border: 1.5px solid #595959;
}

.grey-content .textos {
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    text-align: end;
}

.grey-content .ayudanos img {
    max-width: 250px;
    height: auto;
}

.grey-content .textos .text1 {
    font-size: 17px;
    font-weight: 400;
    font-style: oblique;
    margin-top: 10px;
}

.grey-content .textos .text2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 1px;
}

.grey-content .textos .text3 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 6px;
}