@font-face {
	font-family: 'Cairo';
	font-style: normal;
	font-weight: 400;
	src: url('LocalCyrillic-Regular.ttf') format('truetype');
}

html, body{
	width: 100%;
	height: 100%;
	min-height: 100%;
	overflow: hidden;
	overscroll-behavior: none;
	touch-action: none;
	-webkit-overflow-scrolling: auto;
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: transparent;
}
body{
	font-family: 'Cairo';
	margin: 0;
	background: #222;
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

body, canvas, img, div {
	-webkit-user-drag: none;
	user-drag: none;
}

canvas {
	display: block;
	width: min(100vw, 177.7778vh);
	height: min(56.25vw, 100vh);
	touch-action: none;
}

#stage{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	touch-action: none;
/*	background: #000;
	width:960px; height:540px;
	position:absolute;
	margin:auto;
	top:0; left:0; right:0; bottom:0;
	cursor: none;*/
}
.overlay{

	display: none;

	text-align: center;
	color: #fff;
	letter-spacing: 1px;

	width:500px; height:170px;

	position:absolute;
	margin:auto;
	top:0; left:0; right:0; bottom:0;

}
.overlay > div:nth-child(1){
	font-size: 100px;
	line-height: 100px;
}
.overlay > div:nth-child(2){
	font-size: 20px;
}
#modal_shade{
	display: none;
	background: rgba(0,0,0,0.8);
	/*width:960px; height:540px;*/
	width: 100vw;
	/*height: 100vh;*/
	position:absolute;
	margin:auto;
	top:0; left:0; right:0; bottom:0;
	cursor: pointer;
}
#paused{
	cursor: pointer;
}
#paused > div:nth-child(2){
	margin-top: 15px;
}

#ad_warning{
	pointer-events: none;
}
#ad_warning > div:nth-child(1){
	font-size: 64px;
	line-height: 76px;
}
#ad_warning > div:nth-child(2){
	margin-top: 15px;
	font-size: 24px;
}
