
.loading-overlay img {
  position: absolute;
  display: flex;
  justify-content: center;
  object-fit: cover; /* ajusta la imagen al tamaño del contenedor */
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  
  }
.loading-overlay {
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5); /* Agregamos un fondo semitransparente */
  z-index: 9999; /* Ajustamos el z-index para que se superponga sobre el contenido de la página */
}

.loading {
  animation: spin 2s linear infinite;
  transform: rotate(0deg);
  transform-origin: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  /* width: 300px; 
  height: 300px; */
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}