---
import Layout from "@layouts/Layout.astro";
import Header from "@components/Header.astro";
import Socials from "../components/Socials.astro";

---

<Layout>
  <Header />

  <main id="main" class="is-justify-content-center is-background-main">

    <div style="max-width: 100vw;">
      <img src="assets/spinning.webp" alt="Spinning MassiveBox icon" class="spinning is-hidden-under-800">
      <img src="assets/spinning-mobile.webp" alt="Spinning MassiveBox icon" class="spinning is-hidden-over-800">
      <div class="mr-10 ml-10">
        <Socials />
      </div>
    </div>

  </main>

</Layout>

<style>
    .spinning {
        max-width: 800px;
        flex-shrink: 1;
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
    #main {
        height: 90vh;
        display: flex;
        align-items: center;
    }
    #main * {
        color: white;
    }

    .is-hidden-over-800 { display: none; }
    .is-hidden-under-800 { display: block; }
    @media (max-width: 800px) {
        .is-hidden-over-800 { display: block; }
        .is-hidden-under-800 { display: none; }
    }

    @media (max-width: 1023px) {
        #main {
            height: 92vh;
        }
    }
</style>
