html, body {
	position: relative;
	width: 100%;
	height: 100%;

	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Old versions of Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.render-canvas {
	width: 100%;
	height: 100%;
	display: inline;
	z-index: 0;
}

.hidden {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

.state {
	z-index: 2;
	position: absolute;
	display: flex;
    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-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;
}

.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;
}

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

button:disabled {
	color: gray;
}

.image-state.svelte-1r24o5h{pointer-events:all}
.viewer-main.svelte-bvdy1h{position:absolute;z-index:1;width:100%;height:100%;display:block;pointer-events:all}@media only screen and (max-width: 500px){.viewer-main.svelte-bvdy1h{height:100vw}}
