@import url("https://fonts.googleapis.com/css2?family=Inter:wght@700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Golos+Text:wght@700&display=swap");

body {
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	text-align: center;
}
*,
*:before,
*:after {
	box-sizing: border-box;
}
.game-wrapper {
	width: 100%;
	background: no-repeat center url(../web_background.webp);
	background-size: cover;
	margin: 0;
	min-height: 100%;
}
.game {
	position: relative;
}

.no-scroll {
	overflow: hidden;
}

.webgl-content {
	border: none;
	bottom: 30%;
	height: 100vh;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#unityContainerCanvas {
	display: block;
	width: 100%;
	height: 100%;
}

#unityContainer {
	width: 90%;
	height: auto;
	box-shadow: 0px 0px 50px 20px black;
	-o-object-fit: contain;
	object-fit: contain;
	position: relative;
	aspect-ratio: 16/9;
	max-width: calc(16 / 9 * 90vh);
}

#logo {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 50%;
	height: 50%;
}

#backgroundElement {
	position: absolute;
	height: auto;
	-o-object-fit: contain;
	object-fit: contain;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;

	z-index: 1;
	background: center / contain no-repeat
		url(../TemplateData/loading/Loading_bg.webp);
}

#backgroundElement::after {
	content: "";
	z-index: 10;
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	background: linear-gradient(
		0deg,
		rgba(0, 0, 0, 0.45) 0%,
		rgba(0, 0, 0, 0) 14%
	);
}

#backgroundElement.no-bg {
	background: transparent;
}
#backgroundElement.no-bg::after {
	content: none;
}

.progress {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%, -100%);
	width: 100%;
	height: 1%;
	z-index: 2;
}

.empty {
	background: no-repeat center / contain url(progressEmpty.Dark.png);
	float: right;
	width: 100%;
	height: 100%;
	display: inline-block;
}

.full {
	background: left / cover url(progressFull.Dark.png);
	float: left;
	width: 0%;
	height: 100%;
	display: inline-block;
}

aside {
	padding-bottom: 5px;
}

.footer {
	z-index: 2;
	position: relative;
	font-family: "Times New Roman", Times, serif;
	font-size: 1.5rem;
	color: white;
	padding: 4rem 2rem 2rem;
	box-sizing: border-box;
}

.footer p {
	margin: 0 0 15px;
	color: black;
}

.footer .link {
	color: black;
	font-weight: bold;
}

.footer.dark-theme {
	background: linear-gradient(transparent, #0000009e);
}

.footer.dark-theme p {
	color: white;
	text-shadow: 0 0 1vw black, 0 0 3vw black;
}

.footer.dark-theme .link {
	color: white;
}

.footer p:last-child {
	margin-bottom: 0;
}

/* modal-age-verification */

#modal,
#modal_img-wrapper {
	width: 100%;
}

#under {
	position: absolute;
	bottom: 27%;
	left: 50%;
	translate: -50%;
	font-size: min(3vmin, calc(10px + 12 * (100vw - 320px) / 880));
	color: white;
	font-family: Arial, Helvetica, sans-serif;
	z-index: 50;
	padding: 1%;
	text-decoration: underline;
	cursor: pointer;
}
