@charset "utf-8";

/* Common */
:root {
    font-size: calc(100vmin / 7.5);
}
@media screen and (min-width: 1024px) {
    :root {
        font-size: 100px;
    }
}
html,
body {
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
    -webkit-text-size-adjust: 100%;
    overscroll-behavior: none;
}
.hide {
    display: none !important;
}
.hide2 {
    visibility: hidden;
    pointer-events: none;
}
.imgBase {
    display: block;
    position: absolute;
    touch-action: none;
    pointer-events: none;
}
article,
canvas,
aside,
main {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}
aside,
main {
    pointer-events: none;
}
canvas:focus {
    outline: none;
}
[data-touch] {
    pointer-events: auto !important;
}
img {
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}
/* Loading */
.lds-ripple {
    width: .8rem;
    height: .8rem;
    display: inline-block;
    position: absolute;
    left: calc(50% - .4rem);
    top: calc(50% - .4rem);
}
.lds-ripple div {
    position: absolute;
    border: .04rem solid #bbc1c9;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}
@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }
    4.9% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }
    5% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}
/* Debug Helper */
#scene-explorer-host {
    z-index: 1;
}