html, body {
	width: 100%;
	height:100%;
	margin: 0px;
	padding: 0px;
	//background-color: #22A4F3;
	touch-action: manipulation;
	
	//touch-action: none;
	//-webkit-touch-callout: none;
	//-webkit-user-select: none;
	//-khtml-user-select: none;
	//-moz-user-select: none;
	//-ms-user-select: none;
	//user-select: none;
	//outline: none;
}

#scrollresize {
	//left: 0%;
	height: 5px;
	width: 97%;
	//background: white;
	//top: 30px;
	//display: none;
	margin: 0 auto;
	
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 10px;
	
	cursor: s-resize;
	cursor: row-resize;
}

#unread {
	width: 25%;
	width: max-content;
	background: white;
	//top: 30px;
	//display: none;
	margin: 0 auto;
	
	background-color: rgba(0, 0, 0, 0.25);
	color: yellow;
	border-radius: 10px;
	
	//cursor: s-resize;
	cursor: pointer;
	
	//padding: 3px;
	//padding-top: 1px;
	//padding-bottom: 1px;
	//padding-left: 7px;
	//padding-right: 7px;
	padding: 1px 7px 1px 7px;
}

#unread:hover {
	//box-shadow: 0px 0px 0px 2px rgba(1, 1, 1, 0.2);
	background-color: rgba(0, 0, 0, 0.5);
}

#header {
	position: relative;
	//display: block;
	margin: auto;
	text-align: center;
	width: 600px;
	display: none;
}
			
#gamecontainer {
	width: 1024px;
	height: 768px;
	background-color: white;
	//border: 1px solid black;
	position: relative;
	margin: 0 auto;
	//display: flex;
	display: none;
	overflow: hidden;
}

canvas {
	position: absolute;
	z-index: 1;
	//display: none;
}

#gamestartscreen {
	left: 100%;
	bottom: 100%;
	transform: translate(-100%, 100%);
	position: absolute;
	//margin: 0 auto;
	z-index: 4;
	//background: green;
	cursor: sw-resize;
	cursor: zoom-in;
	cursor: pointer;
	//font-size: 118px;
	//font-size: 2vw;
	//font-size: calc(60px - 4vw);
	//font-size: calc(40px - 2vw);
	//font-size: calc(50px - 6vmin);
	//font-size: calc(200px - 20vmin);
	//font-size: calc(200px - 20vmax);
	//font-size: calc(39px - 1.1vw);
	font-size: 19px;
}
    
#gamestartscreen2 {
	right: 0%;
	bottom: 0%;
	transform: translate(-0%);
	position: absolute;
	margin: 0 auto;
	z-index: 2;
	background: lightblue;
	display: none;
}
	
#gamestartscreen3 {
	right: 0%;
	top: 50%;
	transform: translate(0, -50%);
	position: absolute;
	margin: 0 auto;
	z-index: 2;
	background: lightgray;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	display: none;
}

#gamestartscreen4 {
	left: 0%;
	top: 50%;
	transform: translate(-110%, -50%);
	position: absolute;
	margin: 0 auto;
	z-index: 2;
	//background: lightgray;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	display: none;
}

#gamestartscreen5 {
	right: 0%;
	top: 0%;
	width: 300px;
	width: 240px;
	height: 44%;
	height: max-content;
	border: 2px solid black;
	background: lightgray;
	//background-color: rgba(.5, .5, .5, 0.3);
	border-radius: 10px;
	//transform: translate(50%, -50%) scale(0%);
	transform: translate(0%, 0%) scale(100%);
	opacity: 0%;
	position: absolute;
	margin: 0 auto;
	z-index: 3;
	//display: none;
	overflow-x: hidden;
	//overflow-y: hidden;
	white-space: nowrap;
	transition: all .6s linear;
	visibility: hidden;
}

#scrollbox {
	overflow: scroll;
	height: 75px;
	width: 100%;

	font-family: tahoma;
	font-size: 18px;
	color: white;
	overflow-x: hidden;
	background-color: rgba(0, 0, 0, 0.2);
	//display: none;

	//margin: 10px auto;
	box-shadow: none;
	border-radius: 10px;
	
	//transition: all .5s linear;
}

#scrollbox:hover {
	box-shadow: 0px 0px 0px 2px rgba(1, 1, 1, 0.2);
	background-color: rgba(0, 0, 0, 0.3);
}

#scrollbox::-webkit-scrollbar {
	//display: none;
	width: 20px;
}

#scrollbox::-webkit-scrollbar-track {
	background-color: transparent;
	background-color: rgba(32, 32, 32, 0.25);

	//box-shadow: inset 0 0 5px grey; 
	border-radius: 10px;
}

#scrollbox::-webkit-scrollbar-thumb {
	background-color: #d6dee1;
	border-radius: 20px;
	border: 6px solid transparent;
	background-clip: content-box;
}

#scrollbox::-webkit-scrollbar-thumb:hover {
	background-color: #a8bbbf;
}

#scrollresize:hover {
	//box-shadow: 0px 0px 0px 2px rgba(1, 1, 1, 0.2);
	background-color: rgba(0, 0, 0, 1);
}

.scrolltext {
	width: 500px;
	width: 50%;
	max-width: 100%;
	max-height: 100%;
	background-color: transparent;
	//background-color: rgba(0, 0, 0, 0.2);
	//border-radius: 10px;
	opacity: 1.0;

	margin: auto;
	z-index: 3;

	left: 50%;
	top: 0%;
	transform: translate(-50%);
	position: absolute;
	
	//transition: all .5s linear;
}

.ui_box {
	width: 260px;
	width: max-content;
	//width: fit-content;
	//height: max-content;
	//max-width: 100%;
	//max-height: 28px;
	background-color: rgba(32, 32, 32, 0.2);
	opacity: 1.0;
	
	margin: auto;
	z-index: 3;

	left: 50%;
	top: 100%;
	transform: translate(-50%, -100%);
	position: absolute;
	
	border: 1px solid gray; 
	padding: 4px;
	
	box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	
	transition: all .1s linear;
	//transition: max-content .5s linear .5s;
	
	//overflow-x: hidden;
	overflow-y: hidden;
}

.bottomoverlay {
	position: relative;
	margin: auto;
	//width: 400px;
	text-align: center;
	//display: none;
	top: 0px;
	display: none;
}

.ui_box, .bottomoverlay, .centeroverlay, #header, #gamestartscreen, #gamestartscreen2, #gamestartscreen3, #gamestartscreen4, #gamestartscreen5, #unread{
	//-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	//-webkit-tap-highlight-color: transparent;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#myText {
	//width: 43%;
	width: 200px;
	border: 1px solid #000000;
	//position: absolute;
	//left: 4px;
	//top: 4px;
	//background-color: transparent;
}

#suggestion {
	width: 200px;
	border: 1px solid #000000;
	
	background-color: #fff;
	color: #639FFF;
	color: #5BAAFF;
	visibility: none;
}

#sendButton {
	border: 1px solid #000000;
}

#favcolor, #equipButton, #musicButton, #expandButton, #mySelect, #mySelect2{
	border: 1px solid #000000;
	//display: none;
	//visibility: hidden;
}

#mySelect, #mySelect2{
	//width: 30px; 
}

.icon {
	text-decoration: none;
	display: inline-block;
	transition: color 0.2s;
}

.icon:hover {
	filter: invert(.2);
	//filter: brightness(0);
}

.centeroverlay {
	position: absolute;
	margin: auto;
	
	left: 50%;
	top: 50%;
	margin-left: -200px;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);

	width: 400px;

	border: 1px solid gray; 
	padding: 4px;
	background-color: LightSkyBlue;
	//background-color: transparent;
	
	text-align: center;
}

.centeroverlay2 {
	width: 400px;

	border: 1px solid gray; 
	padding: 4px;
	background-color: LightSkyBlue;
	//background-color: transparent;
	
	text-align: center;
	
	position: relative;
	margin: 0 auto;
}

#loginbuttondiv
{
	//display: none;
}

#registerdiv, #emaildiv {
	display: none;
}

#usernameText, #passwordText, #emailText, #forgotCodeText, #changePasswordText {
	//background-color: rgba(255, 255, 255, 0.5);
	//width: 300px;
	width: 50%;
}



.ui_box2 {
	width: 200px;
	z-index: 4;

	left: 47%;
	top: 95%;
	transform: translate(-47%, -95%);
	position: absolute;
	
	transition: all .1s linear;
}

.list {
	list-style: none;
	position: absolute;
	transform: translate(0%, -100%);
	width: 100%;
	background-color: #ffffff;
	background-color: rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	overflow: hidden;
	opacity: 1.0;
}
.list-items {
	//padding: 10px 5px;
	padding: 5px 2px;
}
.list-items:hover {
	background-color: #dddddd;
}