@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@350&display=swap');

body,
html {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100%;
  width: 100%;
  color: #333;
  touch-action: none;
  background-color: rgba(205, 205, 205);
  font-family: 'Segoe UI', Roboto;
}


/**/
/* Estilos para el nuevo modal sin zoom */
#logoModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#logoModal .imagen-contenedor {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#logoModal .imagen-sin-zoom {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  transform-origin: center center;
}

#logoModal .cerrar-modal {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 1001;
}

#logoModal .cerrar-modal:hover,
#logoModal .cerrar-modal:focus {
  color: #bbb;
  text-decoration: none;
}

/**/
/**/

.footer-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 70px;
  padding: 10px 20px;
  flex-direction: row;
  justify-content: space-between;
  z-index: 10;
  color: white;
  box-sizing: border-box;
  display: flex;
}

.logos-left {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: flex-start;
}

.logos-right {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: flex-end;
  flex-direction: row;
}

.top-icons {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: flex-end;
  gap: 10px;
}

.bandera {
  width: 30px;
  height: auto;
}

.logos-left img {
  height: 25px;
  padding-left: 0.2%;
  margin-right: 5px;
}

.marq-logo {
  height: 50px;
  object-fit: contain;
}

/**/


/* Estilos para el overlay superior/inferior */
.top {
  position: fixed;
  /* Lo fijamos en la parte superior */
  width: 100%;
  height: 3%;
  /* Altura de la barra superior para móvil */
  background-color: rgba(255, 255, 255, 0.5);
  /* Color de fondo de la barra superior */
  display: flex;
  /* Usamos flexbox */
  align-items: center;
  /* Centrar verticalmente los elementos */
  justify-content: space-between;
  /* Reparte el espacio */
  z-index: 9995;
  /* Asegura que esté por encima del resto del contenido */
}

.top>a {
  margin-left: 85%;
  white-space: nowrap;
}

.language-selector {
  position: relative;
  /* Para posicionar el desplegable respecto a este contenedor */
  display: inline-block;
  /* Ocupa solo el espacio necesario */
  margin-left: auto;
  /* ESTO ES CLAVE: Empuja el selector de idioma a la derecha */
  z-index: 11;
  /* Asegura que esté por encima de otros elementos */
  height: 100%;
  padding-right: 2%;
  padding-left: 1%;
  width: 1.9%;
}

.current-lang-button {
  background-color: rgba(255, 255, 255, 0);
  /* Fondo del botón actual */
  color: black;
  border-radius: 8px;
  border: none;
  /* Bordes redondeados */
  cursor: pointer;
  font-size: 1em;
  height: 100%;
  /* Ancho mínimo para que se vea bien "ES" o "EN" */
  text-align: center;
  width: 110%;

  display: flex;
  /* Usamos flexbox para alinear el texto y la flecha */
  align-items: center;
  /* Centramos verticalmente */
}

/* Estilo para el texto dentro del botón */
.lang-text {
  margin-right: 8px;
  /* Espacio entre el texto y la flecha */
}

/* Estilo para el icono de la flecha */
.dropdown-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid black;
  /* La flecha apunta hacia abajo por defecto */
  transition: transform 0.3s ease;
}

/* Estilo para la flecha cuando el menú está abierto */
.dropdown-arrow.open {
  transform: rotate(180deg);
}

.lang-dropdown {
  display: none;
  /* Oculto por defecto */
  position: absolute;
  background-color: rgba(255, 255, 255, 0.5);
  /* Fondo del menú desplegable */
  z-index: 1;
  border-radius: 8px;
  right: 33%;
  /* Alinea el desplegable a la derecha del botón */
  top: 100%;
  /* Coloca el desplegable justo debajo del botón */
  margin-top: 5px;
  /* Pequeño espacio entre botón y desplegable */
  overflow: hidden;
  /* Asegura que los bordes redondeados se vean bien */

}

.lang-dropdown a {
  color: black;
  padding: 10px 12px;
  text-decoration: none;
  display: block;
  text-align: center;
  font-size: 0.9em;
  transition: background-color 0.2s ease;
}

.lang-dropdown a:hover {
  background-color: #575757;
  color: white;
  /* Color al pasar el ratón */
}

.lang-dropdown.show {
  display: block;
  /* Clase para mostrar el desplegable con JavaScript */
}





/* Contenedor de pagina */
.pagina {
  position: fixed;
  top: 50%;
  left: 2%;
  transform: translateY(-50%);
  width: auto;
  height: 150px;
  background-color: rgba(100, 100, 100, 0.7);
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding: 19px 0;
  z-index: 999;
}


.ui-controls {
  gap: 15px;
  padding: 0 10px;
}

.flecha {
  width: 100%;
  height: 100%;
  border: none;
  color: white;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flecha img {
  width: 20%;
  height: 20%;

}

.casa img {
  width: 100%;
  height: 100%;

}

.flecha:disabled {
  background-color: #cccccc;
  /* Color cuando el botón está deshabilitado */
  cursor: not-allowed;
}

/* Contenedor de plantas */
.planta-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  overflow: hidden;
  /* para que no se salga el zoom */
}

.planta-container {
  position: relative;
  width: 1920px;
  /* tamaño real del plano base */
  height: 1080px;
}


@keyframes heartbeat360 {
  0% {
    transform: scale(var(--inverseScale, 1)) rotateX(180deg);
  }

  5% {
    transform: scale(calc(0.85 * var(--inverseScale, 1))) rotateX(180deg);
  }

  10% {
    transform: scale(var(--inverseScale, 1)) rotateX(180deg);
  }

  15% {
    transform: scale(calc(0.85 * var(--inverseScale, 1))) rotateX(180deg);
  }

  20% {
    transform: scale(var(--inverseScale, 1)) rotateX(180deg);
  }

  40% {
    transform: scale(var(--inverseScale, 1)) rotateX(180deg);
  }

  45% {
    transform: scale(calc(0.85 * var(--inverseScale, 1))) rotateX(180deg);
  }

  50% {
    transform: scale(var(--inverseScale, 1)) rotateX(180deg);
  }

  55% {
    transform: scale(calc(0.85 * var(--inverseScale, 1))) rotateX(180deg);
  }

  62.5% {
    transform: scale(var(--inverseScale, 1)) rotateX(180deg);
  }

  100% {
    transform: scale(var(--inverseScale, 1)) rotateX(180deg);
  }

}

.heartbeat360 {
  animation: heartbeat360 8s ease-in-out infinite;
  --inverseScale: 1;
  /* valor por defecto */
}

.heartbeat {
  --inverseScale: 1;
  /* valor por defecto */
  animation: heartbeat 8s ease-in-out infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(var(--inverseScale, 1));
  }

  5% {
    transform: scale(calc(1.2 * var(--inverseScale, 1)));
  }

  10% {
    transform: scale(var(--inverseScale, 1));
  }

  15% {
    transform: scale(calc(1.2 * var(--inverseScale, 1)));
  }

  20% {
    transform: scale(var(--inverseScale, 1));
  }

  40% {
    transform: scale(var(--inverseScale, 1));
  }

  45% {
    transform: scale(calc(1.2 * var(--inverseScale, 1)));
  }

  50% {
    transform: scale(var(--inverseScale, 1));
  }

  55% {
    transform: scale(calc(1.2 * var(--inverseScale, 1)));
  }

  62.5% {
    transform: scale(var(--inverseScale, 1));
  }

  100% {
    transform: scale(var(--inverseScale, 1));
  }
}



.planta-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* Que ocupe todo el ancho del contenedor */
  height: 100%;
  /* Que ocupe todo el alto del contenedor */
  object-fit: contain;
  /* Asegura que la imagen mantenga proporción */
  z-index: 1;
}

.planta-container img:nth-child(1) {
  top: -1%;
  left: -3%;
  z-index: 1;
}

.planta-container img:nth-child(2) {
  top: 4%;
  left: -3%;
  z-index: 2;
  width: 90%;
  height: 90%;
}

.planta-container img:nth-child(3) {
  top: 53%;
  left: 30%;
  z-index: 2;
  width: 7%;
  height: 10%;
}

.planta-container img:nth-child(4) {
  top: 4%;
  left: -3%;
  z-index: 3;
  width: 90%;
  height: 90%;
}

.planta-container img:nth-child(5) {
  top: 4%;
  left: -3%;
  z-index: 4;
  width: 90%;
  height: 90%;
}

.planta-container a:nth-child(6)>img {
  top: 58%;
  left: 36%;
  height: 11%;
  width: 5%;
  transform: rotatex(180deg);
  z-index: 999;
}


.planta-container a:nth-child(7)>img {
  top: 47%;
  left: 51%;
  height: 5%;
  width: 3%;
  z-index: 999;
}

.planta-container a:nth-child(8)>img {
  top: 33%;
  left: 39.8%;
  height: 5%;
  width: 3%;
  z-index: 999;
}

.planta-container a:nth-child(9)>img {
  top: 40%;
  left: 54.8%;
  height: 5%;
  width: 3%;
  z-index: 999;
}

.planta-container a:nth-child(10)>img {
  top: 36%;
  left: 57.8%;
  height: 5%;
  width: 3%;
  z-index: 999;
}

.planta-container a:nth-child(11)>img {
  top: 27%;
  left: 49%;
  height: 11%;
  width: 7%;
  z-index: 999;

}

.planta-container a:nth-child(12)>img {
  top: 30.5%;
  left: 60.8%;
  height: 5%;
  width: 3%;
  z-index: 999;
}

.planta-container a:nth-child(13)>img {
  top: 39%;
  left: 43.8%;
  height: 5%;
  width: 3%;
  z-index: 999;
}

.planta-container a:nth-child(14)>img {
  top: 20%;
  left: 59%;
  height: 5%;
  width: 3%;
  z-index: 999;
}

.planta-container a:nth-child(15)>img {
  top: 24%;
  left: 42%;
  height: 11%;
  width: 7%;
  z-index: 999;
}

.planta-container a:nth-child(16)>img {
  top: 20%;
  left: 45.5%;
  height: 11%;
  width: 7%;
  z-index: 999;
}

.planta-container a:nth-child(17)>img {
  top: 15.8%;
  left: 48.7%;
  height: 11%;
  width: 7%;
  z-index: 999;
}

.planta-container a:nth-child(18)>img {
  top: 61.8%;
  left: 27%;
  height: 11%;
  width: 7%;
  z-index: 999;
}

.planta-container a:nth-child(19)>img {
  top: 51.8%;
  left: 21%;
  height: 6%;
  width: 7%;
  z-index: 999;
}

.planta-container a:nth-child(20)>img {
  top: 67.9%;
  left: 35%;
  height: 6%;
  width: 7%;
  z-index: 999;
}

.planta-container a:nth-child(21)>img {
  top: 53%;
  left: 45.4%;
  height: 11%;
  width: 7%;
  z-index: 999;
}

.planta-container a:nth-child(22)>img {
  top: 50%;
  left: 42.5%;
  height: 6%;
  width: 4%;
  z-index: 999;
}

.planta-container a:nth-child(23)>img {
  top: 45%;
  left: 40.5%;
  height: 6%;
  width: 4%;
  z-index: 888;
}

.planta-container a:nth-child(24)>img {
  top: 43%;
  left: 36%;
  height: 6%;
  width: 4%;
  z-index: 888;
}

.planta-container a:nth-child(25)>img {
  top: 35%;
  left: 33.4%;
  height: 6%;
  width: 4%;
  z-index: 999;
}

.planta-container img:nth-child(26) {
  top: 61%;
  left: 31%;
  height: 6%;
  width: 5%;
  z-index: 999;
}

.planta-container img:nth-child(27) {
  top: 46.8%;
  left: 37.3%;
  height: 6%;
  width: 5%;
  z-index: 999;
}

.planta-container img:nth-child(28) {
  top: 28.8%;
  left: 36.5%;
  height: 6%;
  width: 5%;
  z-index: 999;
}

.planta-container img:nth-child(29) {
  top: 40.8%;
  left: 42%;
  height: 6%;
  width: 5%;
  z-index: 999;
}

.planta-container img:nth-child(30) {
  top: 48.8%;
  left: 52%;
  height: 6%;
  width: 5%;
  z-index: 999;
}

.planta-container img:nth-child(31) {
  top: 33.8%;
  left: 46%;
  height: 6%;
  width: 5%;
  z-index: 999;
}

.planta-container img:nth-child(32) {
  top: 42.8%;
  left: 56%;
  height: 6%;
  width: 5%;
  z-index: 999;
}

.planta-container img:nth-child(33) {
  top: 30.8%;
  left: 48%;
  height: 6%;
  width: 5%;
  z-index: 999;
}

.planta-container img:nth-child(34) {
  top: 37.8%;
  left: 60%;
  height: 6%;
  width: 5%;
  z-index: 999;
}

.planta-container img:nth-child(35) {
  top: 24.8%;
  left: 53%;
  height: 6%;
  width: 5%;
  z-index: 999;
}

.planta-container img:nth-child(36) {
  top: 32.8%;
  left: 63%;
  height: 6%;
  width: 5%;
  z-index: 999;
}

.planta-container img:nth-child(37) {
  top: 21.8%;
  left: 57%;
  height: 6%;
  width: 5%;
  z-index: 999;
}

.planta-container img:nth-child(38) {
  display: none;
}

.planta-container p {
  display: none;
}

/* Cuadros de información */
.info-box_6,
.info-box_7,
.info-box_8,
.info-box_9,
.info-box_10,
.info-box_11,
.info-box_12,
.info-box_13,
.info-box_14,
.info-box_15,
.info-box_16,
.info-box_17,
.info-box_18,
.info-box_19,
.info-box_20,
.info-box_21,
.info-box_22,
.info-box_23,
.info-box_24,
.info-box_25 {
  background-color: white;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  text-align: center;
  box-shadow: 0 5px 15px rgba(80, 80, 80, 0.5);
  z-index: 1001;
  position: absolute;
  padding: 4px 6px;
  white-space: nowrap;
}

.info-box_6 h3,
.info-box_7 h3,
.info-box_8 h3,
.info-box_9 h3,
.info-box_10 h3,
.info-box_11 h3,
.info-box_12 h3,
.info-box_13 h3,
.info-box_14 h3,
.info-box_15 h3,
.info-box_16 h3,
.info-box_17 h3,
.info-box_18 h3,
.info-box_19 h3,
.info-box_20 h3,
.info-box_21 h3,
.info-box_22 h3,
.info-box_23 h3,
.info-box_24 h3,
.info-box_25 h3 {
  color: black;
  font-family: 'Segoe UI', Roboto;
  font-weight: 350;
  font-size: 16px;
  margin: 0;
}

/* Posición del info-box */
.info-box_6 {
  top: 58%;
  left: 36%;
}

.info-box_7 {
  top: 44%;
  left: 48%;
}

.info-box_8 {
  top: 30%;
  left: 33.8%;
}

.info-box_9 {
  top: 37%;
  left: 52%;
}

.info-box_10 {
  top: 33%;
  left: 53.8%;
}

.info-box_11 {
  top: 26%;
  left: 50%;
}

.info-box_12 {
  top: 27.5%;
  left: 58.8%;
}

.info-box_13 {
  top: 36%;
  left: 42.8%;
}

.info-box_14 {
  top: 17%;
  left: 58.5%;
}

.info-box_15 {
  top: 24%;
  left: 42%;
}

.info-box_16 {
  top: 20%;
  left: 45.5%;
}

.info-box_17 {
  top: 15.8%;
  left: 48.7%;
}

.info-box_18 {
  top: 61.8%;
  left: 27%;
}

.info-box_19 {
  top: 48.8%;
  left: 21%;
}

.info-box_20 {
  top: 66.9%;
  left: 33%;
}

.info-box_21 {
  top: 53%;
  left: 45.4%;
}

.info-box_22 {
  top: 48%;
  left: 43.5%;
}

.info-box_23 {
  top: 43%;
  left: 41.5%;
}

.info-box_24 {
  top: 41%;
  left: 35%;
}

.info-box_25 {
  top: 33%;
  left: 33.4%;
}

.planta-container a:nth-child(6):hover .info-box_6,
.planta-container a:nth-child(7):hover .info-box_7,
.planta-container a:nth-child(8):hover .info-box_8,
.planta-container a:nth-child(9):hover .info-box_9,
.planta-container a:nth-child(10):hover .info-box_10,
.planta-container a:nth-child(11):hover .info-box_11,
.planta-container a:nth-child(12):hover .info-box_12,
.planta-container a:nth-child(13):hover .info-box_13,
.planta-container a:nth-child(14):hover .info-box_14,
.planta-container a:nth-child(15):hover .info-box_15,
.planta-container a:nth-child(16):hover .info-box_16,
.planta-container a:nth-child(17):hover .info-box_17,
.planta-container a:nth-child(18):hover .info-box_18,
.planta-container a:nth-child(19):hover .info-box_19,
.planta-container a:nth-child(20):hover .info-box_20,
.planta-container a:nth-child(21):hover .info-box_21,
.planta-container a:nth-child(22):hover .info-box_22,
.planta-container a:nth-child(23):hover .info-box_23,
.planta-container a:nth-child(24):hover .info-box_24,
.planta-container a:nth-child(25):hover .info-box_25 {
  opacity: 1;
  pointer-events: auto;
}

/*leyenda*/
.container-leyenda {
  position: fixed;
  width: auto;
  height: auto;
  bottom: 14%;
  right: 6%;
  background-color: rgba(100, 100, 100, 0.7);
  padding: 7px;
  border-radius: 10px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.leyenda {
  position: relative;
  z-index: 999;
  width: 90%;
}

.leyenda-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 350;
}

.leyenda-header h2 {
  color: white;
  font-family: 'Segoe UI', Roboto;
  font-size: 20px;
  font-weight: 350;
}

.leyenda-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  gap: 6%;

  /* elimino height para que se adapte al contenido */
}

.filtro-icono {
  position: absolute;
  top: 7%;
  left: 79%;
  width: 40px;
  /* tamaño normal */
  height: 40px;
  z-index: 1000;
  cursor: pointer;
  /* posición normal en escritorio */

}

.color-box {
  width: 40px;
  /* tamaño fijo para todas las imágenes */
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.color-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.color-box img:hover {
  transform: scale(1.5);
}

#checkAzulClaro {
  appearance: none;
  -webkit-appearance: none;
  width: 40px;
  height: 40px;
  min-height: 40px;
  min-width: 40px;
  border: 2px solid #555;
  border-radius: 10px;
  background-image: url('../../assets/botones/boton_azul_claro_1.png');
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  position: relative;
}

#checkAzulOscuro {
  appearance: none;
  -webkit-appearance: none;
  width: 40px;
  height: 40px;
  min-height: 40px;
  min-width: 40px;
  border: 2px solid #555;
  border-radius: 10px;
  background-image: url('../../assets/botones/boton_azul_oscuro_1.png');
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  position: relative;
}

#checkSmart {
  appearance: none;
  -webkit-appearance: none;
  width: 40px;
  height: 40px;
  min-height: 40px;
  min-width: 40px;
  border: 2px solid #555;
  border-radius: 10px;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  position: relative;
}


#checkAzulClaro:checked::after,
#checkSmart:checked::after,
#checkAzulOscuro:checked::after {
  content: "✔";
  color: black;
  font-size: 24px;
  font-weight: 350;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  user-select: none;
  pointer-events: none;
  background: transparent;
}

.leyenda-item h3 {
  margin: 0;
  /* elimina márgenes que pueden desalinear */
  color: white;
  font-family: 'Segoe UI', Roboto;
  font-size: 16px;
  font-weight: 350;
}



/* Estilos del cartel emergente */
.infobox-popup {
  background-color: white;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  text-align: center;
  box-shadow: 0 5px 15px rgba(80, 80, 80, 0.5);
  z-index: 1001;
  position: absolute;
  padding: 4px 6px;
  white-space: nowrap;

}

.infobox-popup h3 {
  overflow-wrap: break-word;
  white-space: normal;
  margin: 0%;
}

.infobox-overlay {
  z-index: 1000;
}

.infobox-popup {
  z-index: 1001;
}


#mobileOverlay {
  display: none;
  position: fixed;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(205, 205, 205);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#mobileOverlay .overlay-image {
  width: 22vmin;
  border-radius: 10px;
}

#mobileOverlay p {
  color: #2D2926;
  ;
  font-family: 'Segoe UI', Roboto;
  font-weight: 350;
}

#gif-container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
  /* oculto por defecto */
  z-index: 999;
  animation: fadeIn 0.5s ease-in-out;
  overflow: hidden;
  pointer-events: none;
}

#gif-container img {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 15%;
  height: auto;
  margin: 0 auto;
  /* centra horizontalmente */
}

/* Animaciones suaves */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}


/* Responsive (móvil) */
@media (max-width: 768px) {
  .planta-wrapper {
    width: 100%;

  }

  .planta-container {
    position: relative;
    width: 1880px;
    height: 832px;
  }

  #mobileOverlay {
    display: flex;
  }


}

@media (max-width: 1100px){
 /* Ajustar leyenda */

  .container-leyenda {
    position: fixed;
    top: 7%;
    left: 5%;
    right: auto;
    bottom: auto;
    background-color: transparent;
    padding: 7px;
    border-radius: 10px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  }

  .leyenda-item h3 {
    font-size: 14px;
  }

  #checkAzulClaro {
    width: 30px;
    height: 30px;
  }

  #checkAzulOscuro {
    width: 30px;
    height: 30px;
  }

  #checkSmart {
    width: 30px;
    height: 30px;
  }

  .filtro-icono {
    width: 32px;
    height: 32px;
    cursor: pointer;
    position: absolute;
    top: 5%;
    left: 5%;
    z-index: 1000;
    background-color: rgba(100, 100, 100, 0.8);
    border-radius: 10px;
  }

  .popup-content {
    width: 90%;
    height: auto;
  }

  .popup-content img {
    height: auto;
    max-height: 80vh;
    width: 100%;
  }


  .pagina {
    position: fixed;
    right: 20px;
    height: auto;
    left: auto;
    padding: 0;

  }

  .ui-controls {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 0;
  }

  .ui-controls a {
    display: block;
  }

  .ui-controls img {
    display: block;
    width: 32px;
    height: auto;
  }

  .marq-logo {
    height: 25px;
    object-fit: contain;
  }

}

@media (max-height: 768px) {
  /* Ajustar leyenda */

  .container-leyenda {
    position: fixed;
    top: 7%;
    left: 5%;
    right: auto;
    bottom: auto;
    background-color: transparent;
    padding: 7px;
    border-radius: 10px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  }

  .leyenda-item h3 {
    font-size: 14px;
  }

  #checkAzulClaro {
    width: 30px;
    height: 30px;
  }

  #checkAzulOscuro {
    width: 30px;
    height: 30px;
  }

  #checkSmart {
    width: 30px;
    height: 30px;
  }

  .filtro-icono {
    width: 32px;
    height: 32px;
    cursor: pointer;
    position: absolute;
    top: 5%;
    left: 5%;
    z-index: 1000;
    background-color: rgba(100, 100, 100, 0.8);
    border-radius: 10px;
  }

  .popup-content {
    width: 90%;
    height: auto;
  }

  .popup-content img {
    height: auto;
    max-height: 80vh;
    width: 100%;
  }


  .pagina {
    position: fixed;
    right: 20px;
    height: auto;
    left: auto;
    padding: 0;

  }

  .ui-controls {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 0;
  }

  .ui-controls a {
    display: block;
  }

  .ui-controls img {
    display: block;
    width: 32px;
    height: auto;
  }

  .marq-logo {
    height: 25px;
    object-fit: contain;
  }
}

@media (max-width: 932px) and (orientation: landscape) {
  .top {
    padding: 5px 0px;
    justify-content: center;
  }

  .language-selector {
    padding-right: 5%;
  }
}

@media (max-width: 768px) {

  .top>a {
    margin-right: 7%;
    margin-left: 50%;
    white-space: nowrap;
  }
}

@media(max-height: 500px) {
  .top>a {
    margin-right: 7%;
    margin-left: 50%;
    white-space: nowrap;
  }
}


@media(max-height: 500px) {
  #mobileOverlay {
    display: none;
  }

  #gif-container img {
    width: 30%;
  }

  #logoModal .cerrar-modal {
    top: -15px;
  }

  #logoModal .imagen-contenedor {
    max-width: 80%;
    max-height: 80%;

  }

  /* Ajustar contenedor de plantas */
  .planta-wrapper {
    width: 100%;

  }

  .planta-container {
    position: relative;
    width: 1880px;
    height: 832px;
    right: 10%;
  }

  .planta-container img {
    width: 100%;
    height: 100%;
    top: -9%;
    left: -6%;
  }

  .planta-container img:nth-child(1) {
    top: 0%;
    left: -30%;
  }

  .planta-container img:nth-child(2),
  .planta-container img:nth-child(4),
  .planta-container img:nth-child(5) {
    width: 90%;
    height: 90%;
    top: 5% !important;
    left: -29% !important;
  }

  .planta-container img:nth-child(3) {
    top: 55% !important;
    left: 7% !important;
    width: 4%;
    height: 8%;
  }

  .planta-container a:nth-child(6)>img {
    width: 12%;
    height: 11%;
    top: 58% !important;
    left: 6% !important;
  }

  .planta-container a:nth-child(7)>img {
    width: 3%;
    height: 5%;
    top: 49% !important;
    left: 23% !important;
  }

  .planta-container a:nth-child(8)>img {
    width: 2%;
    height: 5%;
    top: 35% !important;
    left: 15% !important;
  }

  .planta-container a:nth-child(9)>img {
    width: 3%;
    height: 5%;
    top: 43% !important;
    left: 26% !important;
  }

  .planta-container a:nth-child(10)>img {
    width: 3%;
    height: 5%;
    top: 38% !important;
    left: 29% !important;
  }

  .planta-container a:nth-child(11)>img {
    width: 5%;
    height: 7%;
    top: 30% !important;
    left: 21.5% !important;
  }

  .planta-container a:nth-child(12)>img {
    width: 3%;
    height: 5%;
    top: 34% !important;
    left: 31% !important;
  }

  .planta-container a:nth-child(13)>img {
    width: 3%;
    height: 5%;
    top: 40% !important;
    left: 17% !important;
  }

  .planta-container a:nth-child(14)>img {
    width: 3%;
    height: 5%;
    top: 21.5% !important;
    left: 29.2% !important;
  }

  .planta-container a:nth-child(15)>img {
    top: 29% !important;
    left: 16.5% !important;
    height: 7%;
    width: 5%;
    z-index: 999;
  }

  .planta-container a:nth-child(16)>img {
    height: 7%;
    width: 5%;
    top: 25% !important;
    left: 19% !important;
  }

  .planta-container a:nth-child(17)>img {
    height: 7%;
    width: 5%;
    top: 21.5% !important;
    left: 21% !important;
  }

  .planta-container a:nth-child(18)>img {
    height: 7%;
    width: 5%;
    top: 65% !important;
    left: 4.5% !important;
  }

  .planta-container a:nth-child(19)>img {
    width: 10%;
    height: 6%;
    top: 52% !important;
    left: -3% !important
  }

  .planta-container a:nth-child(20)>img {
    width: 3%;
    height: 6%;
    top: 69% !important;
    left: 11.5% !important;
  }

  .planta-container a:nth-child(21)>img {
    width: 6%;
    height: 8%;
    top: 55% !important;
    left: 18.5% !important;
  }

  .planta-container a:nth-child(22)>img {
    width: 6%;
    height: 6%;
    top: 51% !important;
    left: 15% !important;
  }

  .planta-container a:nth-child(23)>img {
    width: 6%;
    height: 6%;
    top: 47% !important;
    left: 13% !important;
  }

  .planta-container a:nth-child(24)>img {
    width: 6%;
    height: 6%;
    top: 44% !important;
    left: 9.5% !important;
  }

  .planta-container a:nth-child(25)>img {
    width: 3%;
    height: 6%;
    top: 39% !important;
    left: 10.8%;
  }

  .planta-container img:nth-child(26) {
    width: 5%;
    height: 7%;
    top: 61% !important;
    left: 8% !important;
  }

  .planta-container img:nth-child(27) {
    width: 5%;
    height: 7%;
    top: 47% !important;
    left: 12% !important;
  }

  .planta-container img:nth-child(28) {
    width: 5%;
    height: 7%;
    top: 32% !important;
    left: 12.5% !important;
  }

  .planta-container img:nth-child(29) {
    width: 5%;
    height: 7%;
    top: 39.5% !important;
    left: 16% !important;
  }

  .planta-container img:nth-child(30) {
    width: 5%;
    height: 7%;
    top: 48% !important;
    left: 21.9% !important;
  }

  .planta-container img:nth-child(31) {
    width: 5%;
    height: 7%;
    top: 35% !important;
    left: 18.5% !important;
  }

  .planta-container img:nth-child(32) {
    width: 5%;
    height: 7%;
    top: 42% !important;
    left: 25% !important;
  }

  .planta-container img:nth-child(33) {
    width: 5%;
    height: 7%;
    top: 30% !important;
    left: 21.7% !important;
  }

  .planta-container img:nth-child(34) {
    width: 5%;
    height: 7%;
    top: 37% !important;
    left: 28% !important;
  }

  .planta-container img:nth-child(35) {
    width: 5%;
    height: 7%;
    top: 27% !important;
    left: 24% !important;
  }

  .planta-container img:nth-child(36) {
    width: 5%;
    height: 7%;
    top: 33% !important;
    left: 30.2% !important;
  }

  .planta-container img:nth-child(37) {
    width: 5%;
    height: 7%;
    top: 21% !important;
    left: 28% !important;
  }

  .info-box_15 {
    top: 31% !important;
    left: 4% !important;
  }

  .info-box_16 {
    top: 26% !important;
    left: 7% !important;
  }

  .info-box_17 {
    top: 14.5% !important;
    left: 11% !important;
  }

  .info-box_18 {
    top: 62% !important;
    left: 4.5% !important;
  }

  .info-box_19 {
    top: 58% !important;
    left: -3% !important;
  }

  .info-box_20 {
    top: 76% !important;
    left: 7% !important;
  }

  .info-box_21 {
    top: 58% !important;
    left: 15% !important;
  }

  .info-box_22 {
    top: 53% !important;
    left: 13% !important;
  }

  .info-box_23 {
    top: 51% !important;
    left: 11% !important;
  }

  .info-box_24 {
    top: 44% !important;
    left: 4.5% !important;
  }

  .info-box_25 {
    top: 35% !important;
    left: 5.8%;
  }

  /* Ajustar leyenda */

  .container-leyenda {
    position: fixed;
    top: 7%;
    left: 5%;
    right: auto;
    bottom: auto;
    background-color: transparent;
    padding: 7px;
    border-radius: 10px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  }

  .leyenda-item h3 {
    font-size: 14px;
  }

  #checkAzulClaro {
    width: 30px;
    height: 30px;
  }

  #checkAzulOscuro {
    width: 30px;
    height: 30px;
  }

  #checkSmart {
    width: 30px;
    height: 30px;
  }

  .filtro-icono {
    width: 32px;
    height: 32px;
    cursor: pointer;
    position: absolute;
    top: 5%;
    left: 5%;
    z-index: 1000;
    background-color: rgba(100, 100, 100, 0.8);
    border-radius: 10px;
  }

  .popup-content {
    width: 90%;
    height: auto;
  }

  .popup-content img {
    height: auto;
    max-height: 80vh;
    width: 100%;
  }


  .pagina {
    position: fixed;
    right: 20px;
    height: auto;
    left: auto;
    padding: 0;

  }

  .ui-controls {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 0;
  }

  .ui-controls a {
    display: block;
  }

  .ui-controls img {
    display: block;
    width: 32px;
    height: auto;
  }

  .marq-logo {
    height: 25px;
    object-fit: contain;
  }

  .footer-bottom {
    bottom: -10px;
  }
}