/* ========================================================================= */
/* --- MOBILE DEVICE GUARD OVERLAY --- */
/* ========================================================================= */

.mobile-guard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: #212020;
    z-index: 99999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    text-align: center;
    pointer-events: auto;
}

.mobile-guard-content {
    max-width: 330px;
    margin: 0 auto;
}

.mobile-guard-text {
    font-family: 'Nohemi', sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    text-transform: lowercase;
}

/* 
   When mobile is detected:
   Disappear everything on the page and show only the centered text.
*/
html.is-mobile-device .mobile-guard-overlay {
    display: flex !important;
}

html.is-mobile-device body > *:not(.mobile-guard-overlay),
html.is-mobile-device .top-navbar,
html.is-mobile-device .content-wrapper,
html.is-mobile-device .scroll-progress-container,
html.is-mobile-device .site-loader,
html.is-mobile-device .global-noise,
html.is-mobile-device canvas {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-guard-overlay {
        display: flex !important;
    }

    body > *:not(.mobile-guard-overlay),
    .top-navbar,
    .content-wrapper,
    .scroll-progress-container,
    .site-loader,
    .global-noise,
    canvas {
        display: none !important;
    }
}
