/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Animación de pulso */
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* Cursor personalizado */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, background-color 0.3s ease, border 0.3s ease;
  z-index: 9999;
  background-color: rgba(255, 193, 7, 0.71); /* fondo muy sutil */
  animation: pulse 2s infinite;
}

/* Efecto al pasar sobre links */
.cursor.hover {
  transform: translate(-50%, -50%) scale(2);
  background-color: rgba(17, 16, 14, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  animation: none; /* Detiene el pulso al hacer hover */
}


/* Pre loader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.logo-preloader {
  width: 80px;
  height: 80px;
  animation: spinLogo 1.5s ease-in-out infinite, fadeIn 1s ease;
}

@keyframes spinLogo {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}
/* Fin del preloader */