*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    cursor:none;
}

html,
body{
    width:100%;
    height:100%;
    overflow:hidden;
    background:#000;
}

/* Background image */
.bg{
    position:fixed;
    inset:0;
    background-image:url('https://gcer.co.uk/img/bg_newleaves.jpg');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

/* Compound Eye */
#eye{
    position:fixed;

    width:340px;
    height:340px;

    display:grid;
    grid-template-columns:repeat(20,1fr);
    gap:1px;

    border-radius:50%;
    overflow:hidden;

/*     pointer-events:none;
    z-index:9999; */

    background:#111;

    border:2px solid rgba(255,255,255,.25);

    box-shadow:
        0 0 40px rgba(255,255,255,.2),
        inset 0 0 40px rgba(255,255,255,.08);
}

/* Edge darkening */
#eye::before{
    content:"";
    position:absolute;
    inset:0;

    border-radius:50%;

    background:
        radial-gradient(
            circle at center,
            transparent 45%,
            rgba(0,0,0,.12) 75%,
            rgba(0,0,0,.45) 100%
        );

    pointer-events:none;
    z-index:50;
}

/* Gloss highlight */
#eye::after{
    content:"";
    position:absolute;
    inset:0;

    border-radius:50%;

    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(255,255,255,.35),
            transparent 30%
        );

    pointer-events:none;
    z-index:51;
}

/* Hexagonal ommatidia */
.facet{
    position:relative;

    aspect-ratio:1;

    overflow:hidden;

    clip-path:polygon(
        25% 0%,
        75% 0%,
        100% 50%,
        75% 100%,
        25% 100%,
        0% 50%
    );

    border:1px solid rgba(255,255,255,.03);

    background-image:url('https://gcer.co.uk/img/bg_newleaves.jpg');
    background-repeat:no-repeat;
    background-size:cover;

    transition:transform .08s linear;
}

/* Facet highlight */
.facet::after{
    content:"";
    position:absolute;
    inset:0;

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(255,255,255,.25),
            transparent 60%
        );
}