/* general styling */
html {
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	overflow: hidden;
	overscroll-behavior-y: contain;
}

body {
    margin: 0;
    max-height: 100vh;
	overscroll-behavior-y: contain;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

a {
	background-color: transparent;
	-webkit-text-decoration-skip: objects;
}

a:active,
a:hover {
	outline-width: 0;
}

b,
strong {
	font-weight: inherit;
	font-weight: bolder;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

html {
	font: 125%/1.45 "Quattrocento Sans", sans-serif;
	box-sizing: border-box;
}

* {
	box-sizing: inherit;
}

*:before {
	box-sizing: inherit;
}

*:after {
	box-sizing: inherit;
}

body {
	color: hsla(0, 0%, 0%, 0.8);
	font-family: "Quattrocento Sans", sans-serif;
	font-weight: 400;
	word-wrap: break-word;
	font-kerning: normal;
	-moz-font-feature-settings: "kern", "liga", "clig", "calt";
	-ms-font-feature-settings: "kern", "liga", "clig", "calt";
	-webkit-font-feature-settings: "kern", "liga", "clig", "calt";
	font-feature-settings: "kern", "liga", "clig", "calt";
}

img {
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
	margin-bottom: 1.45rem;
}

h1 {
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
	margin-bottom: 1.45rem;
	color: hsla(0, 0%, 0%, 0.9);
	font-family: "Work Sans", sans-serif;
	font-weight: 600;
	text-rendering: optimizeLegibility;
	font-size: 2rem;
	line-height: 1.1;
}

h2 {
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
	margin-bottom: 1.45rem;
	color: hsla(0, 0%, 0%, 0.9);
	font-family: "Work Sans", sans-serif;
	font-weight: 600;
	text-rendering: optimizeLegibility;
	font-size: 1.51572rem;
	line-height: 1.1;
}

h3 {
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
	margin-bottom: 1.45rem;
	color: hsla(0, 0%, 0%, 0.9);
	font-family: "Work Sans", sans-serif;
	font-weight: 600;
	text-rendering: optimizeLegibility;
	font-size: 1.31951rem;
	line-height: 1.1;
}

h4 {
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
	margin-bottom: 1.45rem;
	color: hsla(0, 0%, 0%, 0.9);
	font-family: "Work Sans", sans-serif;
	font-weight: 600;
	text-rendering: optimizeLegibility;
	font-size: 1rem;
	line-height: 1.1;
}

h5 {
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
	margin-bottom: 1.45rem;
	color: hsla(0, 0%, 0%, 0.9);
	font-weight: 600;
	text-rendering: optimizeLegibility;
	font-size: 0.87055rem;
	line-height: 1.1;
}

h6 {
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
	margin-bottom: 1.45rem;
	color: hsla(0, 0%, 0%, 0.9);
	font-weight: 600;
	text-rendering: optimizeLegibility;
	font-size: 0.81225rem;
	line-height: 1.1;
}

p {
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
	margin-bottom: 1.45rem;
}

b {
	font-weight: 700;
}

strong {
	font-weight: 700;
}

a {
	color: #1ca086;
	text-decoration: none;
	text-shadow: 0.03em 0 #fff, -0.03em 0 #fff, 0 0.03em #fff, 0 -0.03em #fff, 0.06em 0 #fff, -0.06em 0 #fff, 0.09em 0 #fff, -0.09em 0 #fff, 0.12em 0 #fff, -0.12em 0 #fff, 0.15em 0 #fff, -0.15em 0 #fff;
	background-image: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 1px, #1ca086 1px, #1ca086 2px, rgba(0, 0, 0, 0) 2px);
}

a:hover,
a:active {
	text-shadow: none;
	background-image: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 2.175rem;
	margin-bottom: 0.725rem;
}

@media only screen and (max-width: 480px) {
	html {
		font-size: 106.25%;
		line-height: 24.65px;
	}
}

/* custom styles */

body {
	padding: 0;
	margin: 0;
	overflow: hidden;
	font-family: monospace;
	color: #fff;
	overscroll-behavior: none;
}

* {
	box-sizing: border-box;
}

#debug-dialog {
	position: absolute;
	top: 0;
	left: 0;
	margin: 5px;
	padding: 0 5px 5px 5px;
	width: -webkit-fill-available;
	display: none;
	background: rgba(0, 0, 0, 0.6);
	font-size: 14px;
	font-weight: 700;
	text-shadow: 0 1px 3px #111;
}

#debug-logs {
	padding: 0 5px;
	font-size: 12px;
}

#debug-input {
	margin-top: 3px;
	border: 2px solid #111;
	font-size: 12px;
	font-weight: 700;
	font-family: inherit;
	outline: 0;
	width: 100%;
}

pre {
	margin: 0;
	padding: 0;
}

#gameMenu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99;
	background: #16BFFD;
  /* fallback for old browsers */
	background: -webkit-linear-gradient(to right, #cb3066e0, #16bffde6);
  /* Chrome 10-25, Safari 5.1-6 */
	background: linear-gradient(to right, #cb3066e0, #16bffde6);
 /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */;
}

#gameMenuBg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("/img/bg.png");
	opacity: .6;
}

#gameMenuInner {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	padding: 4.5rem;
	border-radius: 45px;
}

div#logo {
	left: 50%;
	outline: 0;
	border: none;
}

img#l0g0 {
	width: 400px;
	height: 100px;
}

img#logo {
	max-width: 100%;
	height: auto;
	max-height: 100%;
	margin: 0;
}

#title {
	margin: 0 0 2rem 0;
}

#title h3 {
    /* text-transform: lowercase; */
	font-size: 55px;
	font-family: sans-serif;
	margin: 0;
	color: #3d95e0;
	text-shadow: 3px 2px #ecece8;
}

#version {
	display: flex;
	color: #3d95e0;
	margin: 0 0 2% 75%;
	left: 0;
}

#playerNameInput {
	margin: 0 0 .5rem;
	font-size: 20px;
	text-align: center;
	border: none;
	border-bottom: 1px solid #e0e8e8;
	background-color: #f5f5f5;
	color: #525252;
	padding: 0.5rem;
}

#playerNameInput:focus {
	outline: none;
	box-shadow: none;
	border: none;
	border-bottom: 1px solid #9c9c9c;
}

button, button:hover, button:focus, button:active {
	outline: none;
}

button:hover, button:focus {
	color: #3284ca !important;
	background-color: #e4e3e3 !important;
}

#startButton, #settingsButton, #shopButton {
	border: none;
	background-color: #30a0ff;
	border-bottom: 5px solid #3284ca;
	color: #f5f5f5;
	margin: 5px;
	padding: 10px 20px;
	font-size: 20px;
	font-family: unset;
	font-weight: 600;
	text-transform: uppercase;
	cursor: pointer;
	min-width: 8rem;
}

button#startButton {
	background: #ff3090;
	border-bottom: 5px solid #ca326a;
}

button#startButton:hover {
	background: #fff;
	!important
    color: #ca326a;
	!important;
}

.addBot {
	display: none;
	position: fixed;
	border-radius: 5px;
	outline: none!important;
	top: 3px;
}

#addBot {
	left: 3px;
}

#add10Bots {
	left: 90px;
}

#fpsCounter {
	display: none;
	position: fixed;
	left: 0;
	padding: 1px 1px 1px 1px;
	top: 35px;
	background: #ffffff54;
	color: #000;
}
#xyPosition {
	display: none;
	position: fixed;
	left: 0;
	padding: 1px 1px 1px 1px;
	top: 5px;
	background: #ffffff54;
	color: #000;
}

@media only screen  and (max-width : 1224px) {
	#fpsCounter {
		font-size: 10px;
	}
}

#mobile {
	display: none;
	z-index: -9999;
}
#mobileControls{
}
#backCircle, #moveCircle{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    display: none;
	transform: translate(-50%, -50%);
}
#moveCircle{
    width: 50px;
    z-index: 1000;
}
.visible{
    display:block!important;
}


@media only screen  and (min-width : 1224px) {
	#mobile {
		display: none;
	}
}

#split {
	position: absolute;
	bottom: 10px;
	left: 10px;
	width: 100px;
	height: 100px;
	padding: 5px;
	border: none;
	z-index: 9999;
	outline: none!important;
}

#feed {
	position: absolute;
	bottom: 10px;
	right: 10px;
	width: 100px;
	height: 100px;
	padding: 5px;
	border: none;
}

#split:active, #feed:active {
	opacity: 0.7;
	outline: none!important;
}

#split:focus, #feed:focus {
	outline: none!important;
}

*::selection {
	background-color: transparent;
}

*::-moz-selection {
	background-color: transparent;
}

* {
	-webkit-user-select: none;
	-moz-user-select: -moz-none;
    /*IE10*/
	-ms-user-select: none;
	user-select: none;
    /*You just need this if you are only concerned with android and not desktop browsers.*/
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

input[type="text"], textarea, [contenteditable] {
	-webkit-user-select: text;
	-moz-user-select: text;
	-ms-user-select: text;
	user-select: text;
}

#shopPanel {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	padding: 3%;
	top: 0;
	left: 0;
	overflow: auto;
	z-index: 999;
	text-align: center;
}

#shopPanelInner {
	background: #fff;
	border: 1.5px solid #dedede;
	border-radius: 10px;
	width: 100%;
	min-height: 100%;
	position: relative;
	padding: 10px;
}

#shopPanelTitle {
	padding: 1rem;
}

#shopPanelInner h3 {
	margin: 0;
	font-family: unset;
	font-size: 30px;
	color: #229AFF;
	text-shadow: 3px 2px #ecece8;
}

#shopPanelInner p {
	color: #f7bd3d;
	font-family: sans-serif;
	text-align: center;
	font-size: 1rem;
	margin: 0 0 0.5rem 0;
}

#shopPanelInner h4 {
	font-family: sans-serif;
	margin: 0 0 1rem 0;
	color: #35a3ff;
	text-shadow: 3px 2px #ecece8;
}

#shopPanelInner h5#shopPanelPoints {
	font-family: sans-serif;
	text-align: center;
	margin: 0 0 1rem 0;
	font-weight: 300;
	font-size: 0.6rem;
	color: #545454;
}

#shopPanelPoints span {
	font-weight: 600;
	color: #229aff;
}

#shopPanelSkins {
	text-align: center;
}

#shopPanelSkinsCustom {
	padding: 0 0 2rem 0;
}

#skinSelector {
}

#skinSelectorInner {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	max-width: 500px;
	margin: 0 auto;
}

.skinBlock {
	flex: 1;
	text-align: center;
	position: relative;
}

.skinBlock a {
	text-align: center;
	display: inline-block;
	text-decoration: none;
	background: none;
	font-size: 3rem;
	color: #fff;
	text-shadow: 2px 2px 0px #6b6b6b;
	line-height: 4.3rem;
	width: 100px;
	height: 100px;
	border: 1px solid black;
	margin: 0 10px;
	box-shadow: 2px 2px 2px 0px #e6e6e6;
	border-radius: 50%;
	overflow: hidden;
}

.skinBlock a:hover, .skinBlock a:focus {
	text-decoration: none;
	background: #16BFFD;
  /* fallback for old browsers */
	background: -webkit-linear-gradient(to right, #cb3066e0, #16bffde6);
  /* Chrome 10-25, Safari 5.1-6 */
	background: linear-gradient(to right, #cb3066e0, #16bffde6);
 /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */;
}

.skinBlock.locked a, .skinBlock.locked a:hover, .skinBlock.locked a:focus {
	background: #30a0ff;
	border: 2px solid #f9f9f9;
	color: #ffffff;
	cursor: default;
}

.skinBlock > span {
	font-family: sans-serif;
	font-weight: 600;
	padding: 3px 10px;
	margin: 0;
	display: block;
	color: #f7bd3d;
}

.skinBlock img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
}

.skinBlock.locked img {
	filter: contrast(0.5);
}

.skinBlock .price, .skinBlock .play {
	position: absolute;
	display: none;
	top: 0;
	left: 0;
	font-size: 0.8rem;
	line-height: 1.2rem;
	color: #fff;
	padding: 1.4rem 1rem 0 1rem;
}

.skinBlock .price .skinPrice {
	font-weight: 600;
}

.skinBlockLink:hover img {
	display: none;
}

.skinBlock.locked:hover .price {
	display: block;
}

.skinBlock.unlocked:hover .play {
	display: block;
}

.skinBlock.active a {
	box-shadow: 0px 0px 12px 2px #2dacdf;
}

#botSkinSelectorInner {
	display: block;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

#botSkinSelectorInner .skinBlock {
	flex: 0;
	display: inline-block;
	margin: 0 0 0.7rem 0;
	min-width: 140px;
}

#botSkinSelectorInner .skinBlock.template {
	display: none;
}

#botSkinSelectorInner .skinBlock:hover a {
	margin: 0 10px;
	background: #16BFFD;
  /* fallback for old browsers */
	background: -webkit-linear-gradient(to right, #cb3066e0, #16bffde6);
  /* Chrome 10-25, Safari 5.1-6 */
	background: linear-gradient(to right, #cb3066e0, #16bffde6);
 /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */;
}

#botSkinSelectorInner .skinBlock.unlocked:hover a {
	background: #cb3066;
  /* fallback for old browsers */
	background: -webkit-linear-gradient(to left, #cb3066e0, #16bffde6);
  /* Chrome 10-25, Safari 5.1-6 */
	background: linear-gradient(to left, #cb3066e0, #16bffde6);
 /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */;
}

@media only screen  and (max-width : 480px) {
	.skinBlock a {
		line-height: 5.5rem;
	}

	.skinBlock .price, .skinBlock .play {
		padding: 1.8rem 1.2rem 0 1.2rem;
	}
}

#skinUpload {
	display: none;
}

.hidden {
	display: none!important;
}

.popupDialog {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	background: rgba(0, 0, 0, 0.61);
}

.popupDialogInner {
	max-width: 100%;
	max-height: 100%;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	padding: 1rem;
	border: 1px solid #000;
	border-radius: 10px 0;
	background: white;
	text-align: center;
	color: #000;
}

h3.popupDialogTitle {
	margin: 0;
	padding: 0.5rem 0 1rem 0;
	font-family: monospace;
}

p.popupDialogMessage {
	font-size: 0.9rem;
}

.popupDialogMessage span {
	padding: 0 5px;
	font-weight: 600;
}

.popupDialogActions {
}

.popupDialogActions button {
	border: 1px solid black;
	background-color: #fff;
	border-radius: 5px 0;
	margin: 5px;
	padding: 10px 20px;
	font-size: 20px;
	font-family: monospace;
	text-transform: uppercase;
	cursor: pointer;
	min-width: 8rem;
}

.popupDialogActionOK {
}

.popupDialogActionCANCEL {
}

#leaderboard {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	font-size: 0.9rem;
	padding: 3px 5px;
	margin: 3px 3px 0 0;
	color: #000;
	background: #037fff54;
	border-radius: 0 0 0 10px;
	border: 1px solid black;
}

#leaderboard .title {
	font-size: 1rem;
	font-weight: bold;
}

#leaderboard .line {
	line-height: 1.2em;
}

#leaderboard .human {
	font-weight: bold;
}

@media only screen  and (max-width : 1224px) {
	#leaderboard {
		font-size: 0.45rem;
	}

	#leaderboard .title {
		font-size: 0.6rem;
	}
}

#messages {
	position: fixed;
	bottom: 0;
	left: 0;
}

#messages .message {
	background: #0000ffad;
	color: white;
	border: 1px solid black;
	border-radius: 3px;
	margin: 0 0 1px 1px;
	font-size: 0.55rem;
	display: inline-block;
	clear: both;
	float: left;
	padding: 1px 3px;
	line-height: 0.7rem;
}

@media only screen  and (max-width : 1224px) {
	#messages .message {
		font-size: 0.35rem;
		padding: 1px 1px;
		line-height: 0.55rem;
	}
}

#settingsPanel {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	padding: 3%;
	top: 0;
	left: 0;
	overflow: auto;
	z-index: 999;
}

#settingsPanel h4 {
	font-family: unset;
	font-size: 25px;
	color: #229AFF;
	text-shadow: 3px 2px #ecece8;
}

#settingsPanel .settings-inner {
	background: #fff;
	border: 1.5px solid #dedede;
	border-radius: 10px;
	width: 100%;
	min-height: 100%;
	position: relative;
}

#closeSettings, #closeShop, #closePreGameOverlay {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 1rem;
	font-weight: bold;
	color: #fff;
	border: none;
	padding: 2px 11px;
	border-radius: 5px;
	background: #229aff;
	z-index: 9999;
	font-family: monospace;
	cursor: pointer;
}

#closeSettings:focus, #closeShop:focus {
	outline: none;
}

#settings-controls {
	position: relative;
	padding: 30px 25px;
	text-align: center;
}

#settings-controls h4 {
	margin: 0 0 30px 0;
}

#settings-controls .control-group {
	margin: 0 20% 10px 0;
	display: flex;
	justify-content: space-between;
	font-family: sans-serif;
	font-weight: 600;
}

#settings-controls label {
	margin: 0 50px 0 0;
	color: #545454;
	min-width: 120px;
	display: inline-block;
	text-align: start;
}

#settings-controls input {
	border: 1px solid #f5f5f5;
	border-bottom: 2px solid #f5f5f5;
	font-family: sans-serif;
	font-weight: 600;
	color: #545454;
}

#settings-controls input[type=checkbox] {
	transform: scale(1.5);
}

#saveSettings {
	border: none;
	background-color: #30a0ff;
	border-bottom: 5px solid #3284ca;
	color: #f5f5f5;
	margin-top: 17px;
	padding: 4px;
	font-size: 20px;
	font-family: unset;
	font-weight: 600;
	text-transform: uppercase;
	cursor: pointer;
	min-width: 8rem;
}

#deathScreen {
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	padding: 10px;
	color: #000;
	z-index: 99;
	overflow-y: auto;
	background: #0000004a;
	align-items: center;
	justify-content: center;
}

#deathScreenOuter {
	flex: .7;
}

#deathScreenInner {
	background: #fff;
	min-height: 100%;
	padding: 5px 0 0 0;
	border-radius: 15px;
}

@media only screen  and (min-width : 1224px) {
	#deathScreenInner {
		min-height: auto;
		margin: 0 200px;
	}
}

#deathMain {
	display: flex;
}

#death-title {
	text-align: center;
	padding: 20px;
}

#death-title img {
	margin: 0;
}

@media only screen  and (min-width : 1224px) {
	#death-title h4 {
		font-size: 1.3rem;
	}
}

#deathCenter {
	flex: 3;
}

#deathStats {
	display: table;
	width: 100%;
}

.death-stat {
	text-align: right;
	padding: 20px 5px;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.1rem;
	color: #229aff;
}

.death-stat td {
	width: 50%;
	text-align: right;
	font-weight: 400;
}

.death-stat td:last-child {
	text-align: left;
	padding: 0 0 0 10px;
	font-weight: 600;
}

@media only screen  and (min-width : 1224px) {
	.death-stat {
	}
}

#deathButtons {
	padding: 0 0 20px 0;
	text-align: center;
}

#deathButtons:after {
	content: "";
	display: table;
	clear: both;
}

#deathButtons button {
	border: none;
	background-color: #30a0ff;
	border-bottom: 5px solid #3284ca;
	color: #f5f5f5;
	margin-top: 17px;
	padding: 2px;
	font-size: 20px;
	font-family: unset;
	font-weight: 600;
	text-transform: uppercase;
	cursor: pointer;
	min-width: 8rem;
}

#deathButtons button:hover {
	background: #000;
	color: #fff;
}

@media only screen  and (max-height : 480px) {
	#title {
		margin: 0;
	}

	#gameMenuInner {
		display: flex;
		flex-direction: row;
		padding: 0.5rem;
	}

	#gameLauncher {
		margin: 0 20px 0 0;
		min-width: 250px;
	}

	#skinSelector {
		padding-top: 20px;
	}

	#skinSelector h4 {
		margin-top: 0;
	}

	.ads {
		display: none;
	}

	#startButton, #settingsButton, #shopButton {
		margin: 2px;
	}
}
@media only screen  and (max-width: 360px) {
	#deathScreenInner {
    margin: 0 0 65% 0;
    }
}
@media only screen  and (min-width : 360px) and (max-width: 731px){
	#startButton, #settingsButton, #shopButton {
		min-width: 7rem;
	}
	#deathScreenInner {
		background: none;
	}
	#deathStats {
	    background: rgba(255, 255, 255, .6);
        border-radius: .5rem;
	}
}

#deathAds{
	max-height: 0;
}
#preGameOverlay{
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 10px;
    color: #000;
    z-index: 99999;
    overflow-y: auto;
    background: #0000004a;
    align-items: center;
    justify-content: center;
}
#preGameOverlayInner{}
#preGameOverlayContent{}