 /* Contenedor que ocupa toda la pantalla y centra el contenido */
 .menu-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Variable para el radio de la órbita (ajústalo a tu gusto) */
  --orbit-radius: 250px;
  background-color: #FFF;
}

/* Círculo central (logo) */
.center-circle {
  position: absolute;
  width: 80px;
  height: 80px;
  background-color: #4CAF50;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* Menú circular: lista sin estilos de lista */
.circle-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 100%;
  height: 100%;
}

.circle-menu li {
  position: absolute;
  top: 42%;
  left: 42%;
}

/* Cada ítem orbita: se le asigna la animación que lo hace rotar alrededor del centro */
.orbit {
  animation: orbit 50s linear infinite;
}

/* El enlace se traslada hacia afuera y se contrarota para mantener su orientación horizontal */
.orbit a {
  display: block;

  background-color: transparent;
  border-radius: 50%;
  text-align: center;
  line-height: 0px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  animation: counterOrbit 50s linear infinite;
}

/* Pausar la animación en todos los elementos cuando la clase 'paused' está en el contenedor */
.circle-menu.paused .orbit,
.circle-menu.paused .orbit a {
  animation-play-state: paused;
}

.orbit {
  position: relative;
}

/* Etiqueta estilo cómic */
.orbit-label {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: #fff;
  border: 3px solid #000;
  border-radius: 12px;
  padding: 5px 12px;
  font-family: 'Decorya DEMO', cursive;
  font-size: 1rem;
  color: #FF5470;
  box-shadow: 3px 3px 0 #000;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

/* Mostrar al hacer hover */
.orbit a:hover .orbit-label {
  opacity: 1;
  transform: translateX(-50%) rotate(0deg);
}

/* Animación para la órbita: se suma 360° al ángulo inicial */
@keyframes orbit {
  from {
    transform: rotate(calc(var(--angle) + 0deg));
  }

  to {
    transform: rotate(calc(var(--angle) + 360deg));
  }
}

/* Animación para contrarrotar el enlace y mantenerlo horizontal */
@keyframes counterOrbit {
  from {
    transform: translate(var(--orbit-radius)) rotate(calc(-1 * var(--angle) + 0deg));
  }

  to {
    transform: translate(var(--orbit-radius)) rotate(calc(-1 * var(--angle) - 360deg));
  }

}


.center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9997;
}

.gif-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9998;
}


/* Máscara circular que se va cerrando */
.circle-close-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: none;
  clip-path: circle(150% at 50% 50%);
  background: linear-gradient(45deg, var(--color1), var(--color2), var(--color3));
  background-size: 400% 400%;
  animation: gradientShift 5s ease infinite;
}

@keyframes circleCollapse {
  0% {
    clip-path: circle(150% at var(--x) var(--y));
  }

  100% {
    clip-path: circle(0% at var(--x) var(--y));
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}