@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_bg.webp);
	background-size: cover;
	margin: 0;
	min-height: 100%;
}
.game {
	position: relative;
	/* min-height: 100%; */
}

.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: 78.25%;
	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);
	margin-top: 25px;
}

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

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

	z-index: 1;
}

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

.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;
}

.link {
	color: white;
	font-weight: bold;
}

/* 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;
}

a.patreon-link {
	position: absolute;
	left: 0;
	top: 0;
	height: 35%;
	translate: -90% -8%;
	z-index: 0;
}

a.patreon-link img {
	height: 100%;
}

a.patreon-link::-moz-selection,
a.patreon-link img::-moz-selection {
	background-color: transparent;
}

a.patreon-link::-moz-selection,
a.patreon-link img::-moz-selection {
	background-color: transparent;
}

a.patreon-link::-moz-selection,
a.patreon-link img::-moz-selection {
	background-color: transparent;
}

a.patreon-link::-moz-selection,
a.patreon-link img::-moz-selection {
	background-color: transparent;
}

a.patreon-link::-moz-selection,
a.patreon-link img::-moz-selection {
	background-color: transparent;
}

a.patreon-link::-moz-selection,
a.patreon-link img::-moz-selection {
	background-color: transparent;
}

a.patreon-link::-moz-selection,
a.patreon-link img::-moz-selection {
	background-color: transparent;
}

a.patreon-link::selection,
a.patreon-link img::selection {
	background-color: transparent;
}

#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(./loadingScreen_summer.png);
}

#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;
}

/* credentials*/

.credentials-container {
	position: absolute;
	inset: 0;
	height: 100%;
	z-index: 5;
	display: none;
}

.credentials-container img {
	width: 100%;
	height: auto;
	display: block;
}

.credentials-container .close-btn {
	position: absolute;
	top: 1%;
	right: 1%;
	width: 4%;
	cursor: pointer;
	background: transparent;
	border: none;
	padding: 0;
}

.credentials-container .close-btn img {
	width: 100%;
	height: 100%;
	-o-object-fit: contain;
	object-fit: contain;
}
