body {
	position: absolute;
	width: 100%;
	/* height: 100vh; */
	margin: 0px;
	padding: 0px;
	text-align: center;
}

.game-wrapper {
	width: 100%;
	height: 100%;
	/* overflow: auto; */
	background: no-repeat center url(../Web_bg.webp);
	background-size: cover;
/*	background-size: 122%;*/
	margin: 0;
}
.game {
	position: relative;
}

.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%;
	z-index: 1;
	position: relative;
}

#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 * (100vh - 100px));
}

#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: 10px;
}

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

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

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

#progress-bar-full {
    transition: width 10s ease;
    position: absolute;  /* Positioned inside the container */
/*	left: 0;*/
/*	top: 0;*/
/*    background-color: red;*/
/*    overflow: hidden;*/
/*    background-size: 100% 100%;*/
}

#progress-bar-empty {
/*	height: ;*/
	height: 130%; 
	position: relative;
    overflow: hidden;
    background-size: 100% 100%;
}
