html, body {
	position: relative;
	width: 100%;
	height: 100%;
	background-color: black;

	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.render-canvas {
	width: 100%;
	height: 100%;
	display: inline;
	overflow: hidden;
	z-index: 2;
	background: transparent;
}

.state {
	z-index: 3;
	position: absolute;
	display: inline;
    width: 100%;
	height: 100%;
	pointer-events: none;
}

.state-panel {
	z-index: 3;
	position: absolute;
	top: 84%;
	bottom: 8%;
	left: 20%;
	right: 20%;
	display: flex;
}

.state-center {
	z-index: 5;
	position: absolute;
	top: 84%;
	bottom: 8%;
	left: 20%;
	right: 20%;
	display: flex;
	scale: 2;
}

.shard {
	position: absolute;
}

.hidden {
	display: none;
}

.state-left {
	z-index: 3;
	position: absolute;
	top: 80%;
	bottom: 4%;
	left: 2%;
	right: 83%;
	display: flex;
}

.state-right {
	z-index: 3;
	position: absolute;
	top: 80%;
	bottom: 4%;
	left: 83%;
	right: 2%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.transparent {
	pointer-events: none;
}

body {
	color: #333;
	margin: 0;
	padding: 0;
	display: flex;
	overflow: hidden;
    align-items: center;
    justify-content: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

a {
	color: rgb(0,100,200);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: rgb(0,80,160);
}

label {
	display: block;
}

input, button, select, textarea {
	font-family: inherit;
	font-size: inherit;
	pointer-events: all;
	background: transparent;
	color: white;
	flex: 1 1 auto;
	display: flex;
	width: 100%;
	height: 100%;
  	aspect-ratio: 1/1;
	justify-self: center;
	alignment: center;
	align-self: center;
	align-content: center;
	justify-content: center;
	vertical-align: center;
	border: none;
	cursor: pointer;
}

img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
}

button:disabled {
	color: gray;
}

.overlay {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
	align-content: center;
	justify-content: center;
    z-index: 4;
    animation: fadeinout .6s linear forwards;
}

.spinner {
	display: block;
    position: fixed;
    top: 40%;
    left: 40%;
    right: 40%;
    bottom: 40%;
	width: 20%;
    height: 20%;
	object-fit: contain;
    animation: spin .72s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeinout {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.video.svelte-35vy72{z-index:-1;position:fixed;width:100%;height:100%;top:0%}
.image-state.svelte-13d8r7p{pointer-events:all}
.lore-content.svelte-1ny7wya{display:flex;justify-content:center;align-items:center;flex-direction:column}#chain.svelte-1ny7wya{transition:opacity 0.8s ease-in-out}
.viewer-main.svelte-1k9p04b{position:absolute;z-index:2;width:100%;height:100%;display:block;pointer-events:all;background:transparent}@media only screen and (max-width: 500px){.viewer-main.svelte-1k9p04b{height:100vw}}
