::-webkit-scrollbar {
    display: none;
}

@font-face {
	font-family: 'base';
	src: url('media/base.woff2') format('woff2');
}

* {
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    margin: 0;
    padding: 0;
    font-family: base;
    box-sizing: border-box;
    letter-spacing: 1px;
}

dialog[open],
button,
input,
label,
summary,
details,
#field,
*[clickable]
{
    pointer-events: auto;
}

*::before, *::after {
    pointer-events: none;
}

* {
    outline: none;
}


html, body {
	position: fixed;
	width: 100vw;
	height: 100vh;    
    /* font-size: 100%; */
	overflow: hidden;
    touch-action: none;
    overscroll-behavior: none;
}

body {
    transform: translateZ(0);
    margin: 0;
    padding: 0;
    background: center top / cover url(media/bg.jpg);
}

[disabled] {
    pointer-events: none !important;
    filter: saturate(0.5);
    border: none;
    text-shadow: 0 2px 2px white !important;
    font-weight: normal !important;
    color: grey !important;
}

input:hover {
    cursor: pointer;
}

button:hover {
    filter: sepia(1);
}


/*  DIALOG  */

dialog {
	margin: 0 auto;
}

dialog:not([open]) {
	display: block;
	pointer-events: none;
}

label[for="sound"] {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 6rem;
    width: 3.5rem;
    height: 3.5rem;
}

#sound:checked ~ * #sound-off {
    opacity: 0;
}

#sound:not(:checked) ~ * #sound-on {
    opacity: 0;
}

#sound:not(:checked) ~ * #sound-off {
    opacity: 1;
}

body[axx] dialog {
    visibility: hidden;
}

body:not([axx]) #adv_spinner {
    display: none;
}

#adv_spinner {
    z-index: 100;
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: brightness(0.025);
    pointer-events: auto;
}

#adv_spinner > * {
    z-index: 111;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 6rem;
    height: 6rem;
    margin: auto;
    overflow: hidden;
}

#adv_spinner > *::before {
    content: "";
    position: absolute;
    width: 80%;
    height: 80%;
    z-index: 1;
    background: url(favicon.png);
    background-size: 100% 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: conic-gradient( rgba(255, 0, 0, 1), rgba(255, 127, 0, 1), rgba(255, 255, 0, 1), rgba(0, 255, 0, 1), rgba(0, 255, 255, 1), rgba(0, 0, 255, 1), rgba(127, 0, 255, 1), rgba(255, 0, 0, 1) );
    animation: spin 1.5s linear infinite;*/
}

#adv_spinner > *::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: conic-gradient( rgba(255, 0, 0, 1), rgba(255, 127, 0, 1), rgba(255, 255, 0, 1), rgba(0, 255, 0, 1), rgba(0, 255, 255, 1), rgba(0, 0, 255, 1), rgba(127, 0, 255, 1), rgba(255, 0, 0, 1) );
    animation: adv_spin 1.5s linear infinite;*/
}



@keyframes adv_spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media screen and (pointer: coarse) {

html, body {
	overscroll-behavior: none;
}


}


