
#settingsButton {
	height: 40px;
	width: 40px;
	position: fixed;
	top: 10px;
	left: 10px;
	border: none;
	display: inline-block;
	transition: transform 4s ease-in-out;
	opacity: 0.75;
	background-image: url('data:image/svg+xml,%3Csvg xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" fill%3D"%23e3e3e3" viewBox%3D"0 0 16 16" width%3D"30" height%3D"30"%3E%3Cpath d%3D"M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z"%3E%3C%2Fpath%3E%3C%2Fsvg%3E');
	background-repeat: no-repeat;
	background-position: center;
}

#settingsButton:hover {
	transform: rotate(360deg);
}

#settingsMenu {
	border: 5px solid #45426b;
	display: block;
	padding: 1px;
	transition: top 1.1s;
	background: #5d598f;
	position: absolute;
	top: -600px;
	align-items: center;
	text-align: center;
	justify-content: center;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 5;
	width: 370px;
	height: 260px;
	margin: 0 auto;
	border-radius: 10px
}

table {
  margin-left: 70px;
  width: 60%;
}

input[type=search]::-webkit-search-cancel-button {
	-webkit-appearance: searchfield-cancel-button;
}

::placeholder {
	color: #8e8e8e;
}

html,
body {
	overflow: hidden;
	height: 100%;
	position: fixed;
	color: black;
	-webkit-overflow-scrolling: touch;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

body {
	font-family: 'Montserrat';
	font-size: 14px;
}

hr {
	border: 0.5px solid rgba(0, 0, 0, 0.15);
	margin: 18px 0 18px;
}

#mainBody {
	background-size: 40px 40px;
	background-color: #0b6623;
	background-image: linear-gradient(to right, #0f5d20 1px, transparent 1px), linear-gradient(to bottom, #0f5d20 1px, transparent 1px);
  animation: gradient 15s ease infinite;
}

canvas {
	image-rendering: optimizeSpeed;
	image-rendering: pixelated;
}

html,
body,
canvas {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

h1 {
	padding: 0;
	margin: 0;
	text-align: center;
	color: white;
	text-shadow: 2px 2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, -2px -2px 0 #000, 2px 0 0 #000, 0 2px 0 #000, -2px 0 0 #000, 0 -2px 0 #000;
	font-size: 60px;
	font-weight: bolder;
}

*:focus {
	outline: 10px solid transparent;
}

space {
	font-size: 40px;
	color: transparent;
	font-weight: bold;
	text-align: center;
}

h2 {
	font-size: 25px;
	color: white;
	text-shadow: 1px 1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, -1px -1px 0 #000, 1px 0 0 #000, 0 1px 0 #000, -1px 0 0 #000, 0 -1px 0 #000;
	font-weight: bold;
	text-align: center;
}

h6 {
	font-size: 3px;
	color: transparent;
	font-weight: bold;
	text-align: center;
}

div.optionsHeader {
	display: block;
	margin: 10px 0 4px;
	font-size: 13px;
	color: #000000;
	font-weight: bold;
	text-align: center;
}

h3 {
	font-size: 14px;
	color: black;
	text-align: center;
}

#startMenuSlidingTrigger:hover>h3 {
	color: #363636;
}

.serverSelector {
	height: 35px;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	line-height: 13px;
	padding-left: 10px;
	color: white;
	text-shadow: 1px 1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, -1px -1px 0 #000, 1px 0 0 #000, 0 1px 0 #000, -1px 0 0 #000, 0 -1px 0 #000;
}

.serverSelector tr {
	color: white;
	cursor: pointer;
  transition: 0.5s
}

.serverSelector tr.selected {
  transform: scale(1.2);
  color: #324ca8;
	cursor: default;
}

.shadowScroll {
	overflow-y: scroll;
	background-repeat: no-repeat;
	background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
	background-attachment: local, local, scroll, scroll;
}

a:link,
a:visited {
	color: #484848;
}

a:hover {
	color: #B5B5B9;
}

input {
	text-align: center;
	width: 100%;
	padding: 30px;
	border: solid 0px #dcdcdc;
	box-sizing: border-box;
	background: #121212;
	color: white;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	margin-top: 2px;
	margin-bottom: 5px;
	outline: none;
	font-family: 'Montserrat';
}

input.checkbox {
	width: 13px;
	height: 13px;
	padding: 0;
	margin: 0;
	vertical-align: bottom;
	position: relative;
	top: -2px;
	overflow: hidden;
}

#chatInput {
	padding: 15px;
	font-size: larger;
	font-size: 30px;
}

#playerNameInput {
	padding: 10px;
	font-size: larger;
	font-size: 25px;
}

#optCustom {
	padding: 10px;
	font-size: larger;
	font-size: 25px;
}

label {
	color: white;
	text-shadow: 1px 1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, -1px -1px 0 #000, 1px 0 0 #000, 0 1px 0 #000, -1px 0 0 #000, 0 -1px 0 #000;
	font-size: 15px;
	font-weight: bolder;
}

#playerKeyInput {
	padding: 3px;
	color: gray;
}

input.error {
	border: solid 1px #f00;
	background: #fee;
	color: #a00;
}

#mainWrapper {
	padding: 100px 20px;
}

#startMenu {
	position: relative;
	margin: 0 auto;
	max-width: 410px;
	max-height: 220px;
	padding: 10px;
	border-radius: 20px;
	box-sizing: border-box;
	overflow: hidden;
}

body.mobile #mainWrapper {
	padding: 10px;
}

body.mobile #startMenu {
	max-width: 780px;
}

body.mobile #linkHolder {
	display: none;
}

#startMenuHeader {
	text-align: left;
	width: 100%;
	height: 100%;
}

.startMenuHolder {
	width: 350px;
	height: 350px;
	padding: 10px;
	overflow: hidden;
	display: inline-block;
	vertical-align: text-top;
}

.startMenuHolder.shrinkable {
	width: calc(100% - 780px);
}

body.mobile .startMenuHolder {
	height: 300px;
}

body.mobile .startMenuHolder.shrinkable {
	width: calc(100% - 400px);
}

.sliderHolder {
	width: 350px;
	height: 295px;
	overflow: hidden;
}

body.mobile #optColors {
	width: 346px;
	margin-bottom: 4px;
}

body.mobile #optMobile,
body.mobile #optBorders {
	width: 170px;
	margin-bottom: 4px;
	display: inline-block;
}

.slider {
	position: relative;
	top: 0px;
	opacity: 1;
	width: 100%;
	-webkit-transition: top 500ms, opacity 500ms;
	-moz-transition: top 500ms, opacity 500ms;
	-o-transition: top 500ms, opacity 500ms;
	transition: top 500ms, opacity 500ms;
}

.slided .slider {
	top: -275px;
}

body.mobile .slided .slider {
	top: -225px;
}

#startMenuSlidingContent {
	height: 275px;
}

body.mobile #startMenuSlidingContent {
	height: 225px;
}

#startMenuSlidingTrigger {
	cursor: pointer;
	height: 15px;
}

.icon {
	display: block;
	width: 96px;
	height: 96px;
	border-radius: 50%;
}

body.mobile .icon {
	width: 48px;
	height: 48px;
}

#startButton {
	position: absolute;
	margin-top: -160px;
	width: 42%;
	height: 50px;
	box-sizing: border-box;
	text-shadow: 1px 1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, -1px -1px 0 #000, 1px 0 0 #000, 0 1px 0 #000, -1px 0 0 #000, 0 -1px 0 #000;
	color: white;
	text-align: center;
	background: linear-gradient(180deg, #ed992d 60%, #bd7f2d 50%);
	border: none;
	cursor: pointer;
	border-radius: 8px;
	font: 20px 'Montserrat';
}

#startButton:hover {
	background: linear-gradient(180deg, #d1882a 60%, #a36e27 50%);
}

#startButton:active {
	background: #c27f29;
}

#saveButton {
	margin: 20px;
	border: 0px solid black;
	text-shadow: 1px 1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, -1px -1px 0 #000, 1px 0 0 #000, 0 1px 0 #000, -1px 0 0 #000, 0 -1px 0 #000;
	background: linear-gradient(0deg, #bd7f2d 50%, #ed992d 50%);
	color: white;
	padding: 14px 28px;
	font-size: 17px;
	border-radius: 8px;
	cursor: crosshair;
	font: 17px Montserrat;
}

#saveButton:hover {
	background: linear-gradient(0deg, #a36e27 50%, #d1882a 50%);
}

#saveButton:active {
	background: #c27f29;
}

#discordButton {
	position: absolute;
	margin-left: 180px;
	margin-top: -160px;
	width: 41%;
	height: 50px;
	box-sizing: border-box;
	text-shadow: 1px 1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, -1px -1px 0 #000, 1px 0 0 #000, 0 1px 0 #000, -1px 0 0 #000, 0 -1px 0 #000;
	color: white;
	text-align: center;
	background: linear-gradient(180deg, #7289da 60%, #6478bd 60%);
	border: none;
	cursor: pointer;
	border-radius: 8px;
	font: 20px 'Montserrat';
}

#discordButton:hover {
	background: linear-gradient(180deg, #6579c2 60%, #5566a3 60%);
}

#discordButton:active {
	background: #6274b3;
}

#startMenuWrapper {
	-webkit-transition: top 1s;
	-moz-transition: top 1s;
	-o-transition: top 1s;
	transition: top 1s;
	position: relative;
	overflow: hidden;
	top: 0px;
}

.nopadding {
	padding: 0;
	margin: 0;
}

#startMenu .input-error {
	color: red;
	opacity: 0;
	font-size: 12px;
}

#startMenuWrapper {
	z-index: 2;
}

#gameAreaWrapper {
	position: absolute !important;
	top: 0;
	left: 0;
	opacity: 0;
}

.count {
	display: inline-block;
	width: 20px;
	font-size: 12px;
}

.container {
	position: relative;
	padding-left: 20px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.container input {
	position: absolute;
	visibility: hidden;
	cursor: pointer;
}

.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 14px;
	width: 14px;
	border-radius: 100px;
	background-color: #eee;
	border: 1px solid #ccc;
}

.container:hover input~.checkmark {
	background-color: #ccc;
}

.container input:disabled~.checkmark {
	background-color: #ddd;
}

.container input:checked~.checkmark {
	background-color: #0b6623;
	border: 1px solid #0b6623;
}

.container:hover input:checked~.checkmark {
	background-color: #0b6623;
	border: 1px solid #0b6623;
}

.container input:disabled:checked~.checkmark {
	background-color: #0b6623;
	border: 1px solid #0b6623;
}

.container .checkmark:after {
	content: "";
	position: absolute;
	display: none;
	left: 4px;
	top: 1px;
	width: 4px;
	height: 8px;
	border: solid white;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.container input:checked~.checkmark:after {
	display: block;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
