<div class="fade-in bg-transparent relative isolate overflow-hidden pt-12 pb-0">
    <div class="mx-auto max-w-7xl px-6 lg:px-8 lg:pb-10 pb-0">
        <div class="mx-auto max-w-2xl lg:max-w-4xl">
            <div class="text-center">
                <h2 id="blinking" class="fade-in text-balance font-normal tracking-tight text-black lg:text-[6rem] text-[2.5rem]">What Can You Do with an <span class="font-medium">AIBox</span></h2>
            </div>
        </div>
    </div>
</div>

<div class="space-y-8 lg:py-12 py-6 mx-auto max-w-7xl relative before:absolute before:inset-0 before:ml-5 before:-translate-x-px md:before:mx-auto md:before:translate-x-0 before:h-full before:w-0.5 before:bg-gradient-to-b before:from-transparent before:via-slate-300 before:to-transparent">

    <!-- Item #1 -->
    <div class="fade-in relative flex items-center justify-between md:justify-normal md:odd:flex-row-reverse group is-active py-4">
        <div class="flex items-center justify-center w-10 h-10 rounded-full border border-white bg-gray-600 text-white group-[.is-active]:bg-emerald-500 group-[.is-active]:text-emerald-50 shadow shrink-0 md:order-1 md:group-odd:-translate-x-1/2 md:group-even:translate-x-1/2">
            <svg class="fill-current" xmlns="http://www.w3.org/2000/svg" width="12" height="10">
                <path fill-rule="nonzero" d="M10.422 1.257 4.655 7.025 2.553 4.923A.916.916 0 0 0 1.257 6.22l2.75 2.75a.916.916 0 0 0 1.296 0l6.415-6.416a.916.916 0 0 0-1.296-1.296Z" />
            </svg>
        </div>
        <div class="fade-in w-[calc(100%-4rem)] md:w-[calc(50%-2.5rem)] bg-white/5 p-4 rounded-2xl shadow">
            <div class="font-semibold text-lg text-black mb-2">Run AI Models with Full Control   </div>
            <div class="text-gray-900 font-light">
                
                <br>Execute AI models directly on your dedicated GPU

                <br>Decide which models are allowed to run on your AI BOX

                <br>Reserve 100% of your GPU resources anytime for your own experimentation
            </div>
        </div>
    </div>

    <!-- Item #2 -->
    <div class="fade-in relative flex items-center justify-between md:justify-normal md:odd:flex-row-reverse group is-active  py-4">
        <div class="flex items-center justify-center w-10 h-10 rounded-full border border-white bg-gray-600 group-[.is-active]:bg-emerald-500 text-white group-[.is-active]:text-emerald-50 shadow shrink-0 md:order-1 md:group-odd:-translate-x-1/2 md:group-even:translate-x-1/2">
            <svg class="fill-current" xmlns="http://www.w3.org/2000/svg" width="12" height="10">
                <path fill-rule="nonzero" d="M10.422 1.257 4.655 7.025 2.553 4.923A.916.916 0 0 0 1.257 6.22l2.75 2.75a.916.916 0 0 0 1.296 0l6.415-6.416a.916.916 0 0 0-1.296-1.296Z" />
            </svg>
        </div>
        <div class="fade-in w-[calc(100%-4rem)] md:w-[calc(50%-2.5rem)] bg-white/5 p-4 rounded-2xl shadow">
            <div class="font-semibold text-lg text-black mb-2">Rent Out Virtual Machines (CloudSlices)
            </div>
            <div class="text-gray-900 font-light">
                Slice your hardware into a maximum of 8 Virtual Machines
                <br>Control GPU allocation: 0, 1, or 2 GPUs per VM (no oversubscription)
                <br>Users can connect or disconnect GPUs as needed, with owner permissions
                <br>Each VM is securely connected to Mycelium (P2P overlay network), ensuring efficient communication       
                <br>Pre-built container images available for quick setup and deployment
                <br>Web gateways allow external connections to VM containers
                <br>
                <br>Planned Q2 2025.
            </div>
        </div>
    </div>

    <!-- Item #3 -->
    <div class="fade-in relative flex items-center justify-between md:justify-normal md:odd:flex-row-reverse group is-active  py-4">
        <div class="flex items-center justify-center w-10 h-10 rounded-full border border-white bg-gray-600 group-[.is-active]:bg-emerald-500 text-white group-[.is-active]:text-emerald-50 shadow shrink-0 md:order-1 md:group-odd:-translate-x-1/2 md:group-even:translate-x-1/2">
            <svg class="fill-current" xmlns="http://www.w3.org/2000/svg" width="12" height="10">
                <path fill-rule="nonzero" d="M10.422 1.257 4.655 7.025 2.553 4.923A.916.916 0 0 0 1.257 6.22l2.75 2.75a.916.916 0 0 0 1.296 0l6.415-6.416a.916.916 0 0 0-1.296-1.296Z" />
            </svg>
        </div>
        <div class="fade-in w-[calc(100%-4rem)] md:w-[calc(50%-2.5rem)] bg-white/5 p-4 rounded-2xl shadow">
            <div class="font-semibold text-lg text-black mb-2">Mycelium Actors</div>
            <div class="text-gray-900 font-light">
                Become a host for Mycelium Actors and contribute to the Mycelium network.
                <br>Mycelium Actors process jobs and generate rewards for their hosts.
                <br>These jobs can range from AI requests (such as LLM processing) to higher-level functions like text-to-speech, website building, transcribing youtube video's, training a large language model, communicate ...
                <br>
                <br>By leveraging Mycelium Actors, we pave the way for Augmented Collective Intelligence.
                <br>
                <br>Planned for Q2 2025.
            </div>
        </div>
    </div>
</div>


<style>
    /* Initial state: elements are invisible */
.fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
}

/* State when element is in view */
.fade-in.visible {
  opacity: 1;
}

</style>

<script>
    // Get all the elements that need to be faded in
    document.addEventListener('DOMContentLoaded', function() {
        const h2 = document.getElementById("blinking");

        setInterval(() => {
            h2.style.opacity = (h2.style.opacity == "1") ? "0.5" : "1";
        }, 1500); // Blinks every 2 seconds
  // Target all elements with the 'fade-in' class
  const fadeInElements = document.querySelectorAll('.fade-in');

  const observer = new IntersectionObserver((entries, observer) => {
    entries.forEach(entry => {
      if (entry.isIntersecting) {
        // Add 'visible' class to the element when it's in view
        entry.target.classList.add('visible');
        observer.unobserve(entry.target); // Stop observing after it fades in
      }
    });
  }, {
    threshold: 0.1 // Trigger when 10% of the element is in view
  });

  fadeInElements.forEach(element => {
    observer.observe(element);
  });
});

</script>

