html {
    height: 100%;
}

/* ── Mobile: pin logo centred in the full viewport ── */
body.body-home #fade-div {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;        /* above background, below nav (z-index: 999) */
    pointer-events: none;
}

/* ── Desktop: hide mobile logo overlay ──
   Must match specificity of the rule above so the media query wins. */
@media (min-width: 992px) {
    body.body-home #fade-div {
        display: none;
    }
}

body.body-home #centro {
    max-width: 68vw;
    height: auto;
    animation: fadein 2s;
    -moz-animation: fadein 2s;
    -webkit-animation: fadein 2s;
    -o-animation: fadein 2s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
