* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
}

body {
    position: relative;
}

/* Fullscreen GIF background */
.background {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
    user-select: none;
    pointer-events: none;

    /* Darken by 50% */
  /*  filter: brightness(50%); */
}

/* Centered 800x800 image */
.foreground {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: min(130vw, 130vh);
    height: min(130vw, 130vh);

    object-fit: contain;
    z-index: 2;
}

