/* Fondo de la sección hero */
.hero {
  background: url('juv.png') center center/cover no-repeat;
  height: 100vh;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Imagenes redondeadas */
#actividades img {
  max-width: 150px;
  border-radius: 50%;
  border: 5px solid #f1f1f1;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* Botón animado */
.btn-warning {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-warning:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.6);
}


.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 90%;
  color: white;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

typing-container {
      font-size: 1.5rem;
      color: #2980b9;
      font-weight: bold;
      margin-top: 20px;
      min-height: 40px;
    }

    .cursor {
      display: inline-block;
      width: 2px;
      background-color: #2980b9;
      animation: blink 0.7s infinite;
      margin-left: 5px;
    }

    @keyframes blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0; }
    }