    body {
      margin: 0;
      height: 100vh;
      overflow: scroll;
      background: #020916; /* Fondo oscuro tipo noche */
      color: white;
      /*display: flex;*/
      align-items: center;
      justify-content: center;
      font-family:arial;
    }

    /* Contenedor del layer */
    .firefly-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none; /* Para que no interfiera con clics en la página */
    }

    /* Luciérnaga */
    .firefly {
      position: absolute;
      width: 8px;
      height: 8px;
      background: radial-gradient(circle, #ffd700, transparent);
      border-radius: 50%;
      animation: move 5s linear infinite, glow 1.5s ease-in-out infinite alternate;
    }

    /* Animación de movimiento */
    @keyframes move {
      0% {
        transform: translate(0, 0);
      }
      100% {
        transform: translate(calc(100vw * var(--x)), calc(100vh * var(--y)));
      }
    }

    /* Animación de brillo */
    @keyframes glow {
      0% {
        opacity: 0.3;
      }
      100% {
        opacity: 1;
      }
    }

        header {
            background-color: #4caf50;
            color: white;
            text-align: center;
            padding: 1em;
        }

        .container {
            padding: 1em;
        }

        .selector {
            text-align: center;
            margin-bottom: 1em;
        }

        .selector input {
            padding: 0.5em;
            font-size: 1em;
        }

        .filters {
            display: flex;
            justify-content: center;
            gap: 1em;
            margin-bottom: 1.5em;
        }

        .filter {
            /*display: flex;*/
            /*flex-direction: column;*/
            align-items: center;
            text-align: center;
        }

        .filter img {
            width: 50px;
            height: 50px;
            margin-bottom: 0.5em;
        }

        .random-mode {
            text-align: center;
            margin-bottom: 2em;
        }

        .random-button {
            background-color: #ff9800;
            color: white;
            padding: 0.75em 1.5em;
            border: none;
            border-radius: 5px;
            font-size: 1.2em;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .random-button:hover {
            background-color: #e68900;
        }

        .random-result {
            font-size: 1.5em;
            margin-top: 1em;
            color: #4caf50;
            animation: fadeIn 0.5s;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .grid-mode {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1em;
        }

        .activity-card {
            background-color: white;
            padding: 1em;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            text-align: center;
        }

        .activity-card img {
            width: 100%;
            border-radius: 10px;
            margin-bottom: 0.5em;
        }

        .activity-card h3 {
            margin: 0;
            font-size: 1.1em;
            color: #333;
        }

        @media (max-width: 768px) {
            .filters {
                /*flex-direction: column;*/
                align-items: center;
            }

            .random-button {
                font-size: 1em;
            }
        }

        .crop{
            width: 100px; 
            height: 100px; 
            object-fit: cover;"
        }