:root{
	--textDisplay: flex;
}

* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

body{
	margin: 0;
	overflow: clip;
}
.canvas_stack{
	position: absolute;
	display: block;
	width: 100vw;
	height: 100vh;
}

canvas{
	position: absolute;
	width: 100vw;
	height: 100vh;
}

#MAIN_CANVAS{
	background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
}

#TEXT_CANVAS{
	pointer-events: none;
}

#TEXT_CONTAINER{
	position: absolute;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
}

@font-face{
	font-family: 'Michroma';
	src: url('./Fonts/Michroma-Regular.ttf')
}

@font-face{
	font-family: 'Xolonium';
	src: 	url('./Fonts/Xolonium-Regular.otf'),
			url('./Fonts/Xolonium-Bold.otf')
}

.text_box{
	background-color: white;
	border-radius: 1em;
	max-width: attr(data-width px, 0 px);
	z-index: 1;
	position: absolute;
	top: attr(data-y px, -10000px);
	overflow: clip;
	padding-right: attr(data-padding em);
	padding-left: attr(data-padding em);
	margin-right: 0.5em;/*attr(data-margin em);*/
	margin-left: 0.5em;/*attr(data-margin em);*/
	
	-ms-transform: scale(1); /* IE 9 */
	-webkit-transform: scale(1); /* Safari */
	transform: scale(1);
	
	/* Disable text selection */
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
	
	display: var(--textDisplay);/*flex;*/
	flex-direction: column;
	width: max-content;
}

.text_box.white{
	color: white;
	background-color: transparent;
	border-style:none;
}

.text_box p{
	font-family: attr(data-font);
	font-style: attr(data-font-style);
	font-size: attr(data-font-size em);
	margin-top: 0;
	margin-bottom: 0.1em;
}

.text_box a{
	pointer-events:all;
	color: #8080ff;
}

/* The sidepanel menu */
.sidepanel {
	font-family: Michroma;
	height: 400px; /* Specify a height */
	width: 0; /* 0 width - change this with JavaScript */
	position: fixed; /* Stay in place */
	z-index: 200; /* Stay on top */
	top: 0;
	left: 0;
	background-color: #111; /* Black*/
	overflow-x: hidden; /* Disable horizontal scroll */
	padding-top: 60px; /* Place content 60px from the top */
	padding-left: 0;
	transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
}

/* Position and style the close button (top right corner) */
.sidepanel .closebtn {
	position: absolute;
	top: 0;
	right: 25px;
	font-size: 36px;
	margin-left: 50px;
}

.sidepanel .optionLine{
	display:flex;
	flex-direction:column;
}

.sidepanel .optionLine input{
	margin-left:3em;
	margin-right: 3em;
	margin-bottom: .5em;
	
	width: min-content;
	min-width: 10em;
}

.sidepanel .configLabel {
	color:white;
	margin-bottom: .2em;
	
	/* Disable text selection */
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}


/* Style the button that is used to open the sidepanel */
.openbtn {
	z-index: 100; /* Stay on top */
	font-size: 1.5em;
	cursor: pointer;
	background-color: #111;
	color: white;
	padding: 6px 8px;
	border: none;
	position: absolute;
}

.openbtn:hover {
	background-color: #444;
}