* {
	padding: 0px;
	margin: 0px;
	border: 0px;
}
*,
*:before,
*:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
:focus,
:active {
	outline: none;
}
html,
body {
	height: 100%;
}
body {
	line-height: 1;
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}
button {
	cursor: pointer;
}
button::-moz-focus-inner {
	padding: 0;
	border: 0;
}
img {
	vertical-align: top;
}
body{
	height: 100vh;
	display: flex;
	justify-content:center;
	align-items: center;
	color:#fff;
	font-size: 17px;
}
.wrapper{
	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-height: 100%;
	opacity: 0;
	transition: opacity 0.8s ease 0s;
}
.wrapper._loaded {
	opacity: 1;
	background-color: rgba(255, 255, 255, 0.02);
}
._loaded.wrapper::before{
	content:'';
	height: 100%;
	width: 100%;
	background: url("../img/bg.jpg") 50% 50% / cover no-repeat;
	z-index: -1;
	filter: blur(16px);
	position: absolute;
	transform: scale(1.2);
}
._active._loaded.wrapper::before{
	z-index: 2;
}
.container{
	width: 400px;
	margin: 0px auto;
	transition: all 0.8s ease 0s;
}
.container_hide{
	opacity: 0;
}
.header {
	display: flex;
	flex-direction: column;
}
.header__column{
	display: flex;
	justify-content:center;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 10px;
	padding: 15px 0px;
	margin: 10px 0px;
}
.header__column:first-child{
	margin: 10px 0 0 0;
}
.header__btn{
	color:#fff;
	text-transform: uppercase;
	font-size: 16px;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0);
}
.counter {
	width: 80%;
	display: flex;
	justify-content:center;
	justify-content: space-between;
	font-size: 20px;

}
.counter_popup{
	width: 70%;
	margin: 10px 0px -10px 0px;
}
.field{
	position: relative;
	display: flex;
	text-align: center;
	width: 100%;
	height: 400px;
	border: 3px solid rgba(0, 0, 0, 0.65);
	border-radius: 10px;
	padding: 30px 50px;
	font-size: 50px;
	font-size: calc(30px + 20 * (100vw / 1300));
	color: rgba(0, 0, 0, 0.65);
}
.tile{
	position: absolute;
	cursor: pointer;
	box-sizing: border-box;
	transition: all .2s;
	width: 25%;
	height: 25%;
	padding: 2px;
	color:#fff;
}
.tile-item{
	position: absolute;
	background-color:rgba(0, 0, 0, 0.65);
	display: flex;
	justify-content:center;
	align-items: center;
	border-radius: 5px;
	width: 90%;
	height: 90%;
	top: 5px;
	left: 5px;
}
.footer {
	position: relative;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: space-around;
	align-items: center;
	border-radius: 10px;
	width: 100%;
	margin:10px 0px;
	padding: 15px 0px;
}
.footer__btn{
	background-color: rgba(0, 0, 0, 0);
	display: flex;
	flex-direction: column;
	justify-content:center;
	align-items: center;
	text-transform: uppercase;
	border-radius: 10px;
	padding: 5px 0;
	color:#fff;
	font-size: 16px;
	width: 50%;
	height: 100%;
}
.footer__btn:first-child::before{
	content:'';
	background-color: rgba(255, 255, 255, 0.15);
	position: absolute;
	width: 3px;
	height: 100%;
	top: 0;
	right: 50%;
}
.popup {
	color:rgba(0, 0, 0, 0.80);
	position: absolute;
	z-index: 3;
	top: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 0%;
	background-color: rgba(0, 0, 0, 0.1);
	transition: all .2s;
}
.popup-body {
	display: none;
	flex-direction: column;
	align-items: center;
	max-width: var(--width);
	width: 100%;
	background-color:rgba(255, 255, 255, 0.15);
	border-radius: 8px;
	padding: 50px 0 30px 0;
}
.popup__title{
	text-align: center;
	font-size: calc(25px + 10 * (100vw / 1800));
}
.popup__btn{
	margin: 30px 0px 0px 0px;
	text-transform: uppercase;
	border-radius: 8px;
	padding: 15px 30%;
	color:rgba(255, 255, 255, 0.8);
	background-color:rgba(0, 0, 0, 0.65);

}
@media (max-width: 420px) {
	.container{
		width: 360px;
	}
	.field {
			height: 360px;
	}
}
@media(max-width: 375px) {
	.container{
		width: 340px;
	}
	.field {
			height: 340px;
	}
}

@media(max-width: 340px) {
	.container{
		width: 300px;
	}
	.field {
			height: 300px;
	}
}
@supports (-webkit-appearance:none){
	._loaded.wrapper::before{background: url("../img/bg.jpg") 50% 50% / cover no-repeat}
	}