html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background-color: #fff;
    color-scheme: only light;
    user-select: none;
    -webkit-user-select: none;
}

html,
body,
body * {
    touch-action: pan-y;
}

body {
    position: relative;
    isolation: isolate;
}

body::before {
    position: fixed;
    z-index: 0;
    inset: 0;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;
    content: "";
    pointer-events: none;
}

@media (min-width: 768px) {
    body::before {
        background-image: url("../images/backgrounds/desktop.svg");
    }
}

@media (max-width: 767px) {
    html,
    body {
        height: auto;
        overflow: visible;
    }

    html {
        overflow-x: hidden;
        background-color: #fff;
        color-scheme: only light;
    }

    body::before {
        background-image: url("../images/backgrounds/mobile.svg");
        filter: none;
    }
}

@media (prefers-color-scheme: dark) {
    html {
        background-color: #fff;
        color-scheme: only light;
    }

    body::before {
        filter: none;
    }
}
