/* Estructura global */
body {
  font-family: sans-serif;
  margin: 0;
  overflow: hidden;
  padding: 0;
  height: 100%;
  background-color: #000;
  cursor: grab;
}
/* Loader */
.loader {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: #fff;
  display: none;
  justify-content: center;
  align-items: center;
}
.loader img {
  max-width: 50%; /* Escala la imagen dentro del contenedor */
  max-height: 50%; /* Escala la imagen dentro del contenedor */
 
}
.loader.active {
  display: flex;
}
/* Animación del loader */
.loader-circle {
  margin: 20px;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-top: 5px solid #910e79;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Encabezado y pie de página */
header, footer {
  background: #fff;
  width: 100%;
  height: 10em;
}
/* Enlaces */
a {
  cursor: pointer;
}
/* Textos */
h3 {
  font-weight: 900;
}
p {
  font-weight: 100;
}
/* Estilos para el panel de información */
.info-panel {
  box-shadow: 0.3em 0.3em 2em rgba(0, 0, 0, 0.3);
  padding: 2%;
  width: 20%;
  color: gray;
  position: fixed;
  border-radius: 10px;
  top: 20px;
  left: 20px;
  background-color: rgba(255, 255, 255, 0.98);
  border: none;
  max-height: 85vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
.info-panel::-webkit-scrollbar {
  width: 6px;
}
.info-panel::-webkit-scrollbar-thumb {
  background-color: transparent;
}
/* Imágenes en el panel de información */
.info-panel img {
  width: 100%;
  border-radius: 5px;
  margin: 1em 0em 0em 0em;
}
/* Título de marcador */
.marker-title {
  position: absolute;
  bottom: 15em;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  font-size: 16px;
  z-index: 1;
}
/* Botón para cerrar */
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}
/* Media Queries para diferentes tamaños de pantalla */
@media (min-width: 1120px) {
  .info-panel {
    width: 18%;
  }
}
@media (min-width: 1047px) and (max-width: 1180px) {
  .info-panel {
    width: 20%;
  }
}

@media (max-width: 1047px) {
  .info-panel {
    width: 200px;
  }
}
/* Botón de volver arriba */
button {
  float: right;
  cursor: pointer;
  color: gray;
  border: none;
  background: none;
}
.back-to-top-button {
  box-shadow: 0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 20px;
  right: 20px;
  width: 5em;
  height: 5em;
  color: gray;
  background-color: rgba(255, 255, 255, 0.98);
  border-radius: 1em;
  border: none;
}
/* Pie de página */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2em;
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
  text-align: center;
  padding: 20px;
}