@import url('https://fonts.googleapis.com/css2?family=Lilita+One&display=swap');
.content {
	/* make vertical flex and center horizontal and vertically */
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 2.5vh;
	height: 100%;
}


.logo {
	margin-top: -10vh;
	width: 100%;
	height: 20vh;
	background-image: url("logo.png");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

.container {
	border-radius: 1vh;
	background-color: white;
	box-shadow: 0px 0px 3vh 0px rgba(0, 0, 0, 0.4);
	padding: 0px 5vh;
	text-align: center;
	line-height: 1;
	max-width: 100%;
	min-width: auto;

	margin: 0 1vh;
}

h1 {
	font-weight: bold;
	font-size: 3.5vh;
}

.container > p {
	font-weight: 500;
	padding-bottom: 0.5vh;
	font-size: 1.8vh;
	color: rgb(66, 66, 66);
}

.split {
	content: '';
	display: block;
	width: 100%;
	height: 2px;
	background: black;
	margin: 20px auto;
}


.success {
	color: rgb(0, 0, 0);
}

.error {
	color: red;
}

.socials-panel {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;

	background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.2) 100%);
	padding: 0.5vh;
	border-radius: 1vh;

	gap: 0.5vh;
}

.socials-panel a {
	text-decoration: none;
	color: white;
	font-weight: bold;
	font-size: 3vh;
	padding: 1vh;
	/* padding: 1vh 2vh; */
	/* border-radius: 1vh; */
	/* background-color: #7289da; */
	/* box-shadow: 0px 0px 3vh 0px rgba(0, 0, 0, 0.4); */
	/* transition: 0.2s; */
	/* transition only for color */
	transition: color 0.2s;
}

.socials-panel a>ion-icon {
	/* center vertically */
	display: flex;
	justify-content: center;
	align-items: center;
}

.socials-panel .twitter:hover {
	color: #6ac6ff;
}

.socials-panel .discord:hover {
	color: #6a8aff;
}


body {
    margin: 0;
    background: url("bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0px 0px 25vh 0px rgba(0, 0, 0, 0.5);
    height: 100vh;
    overflow: hidden;
    font-family: "Lilita One", serif;
}
img, #overlay, #text, #unity-loading-bar {
    user-drag: none; /* Standard syntax */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    -webkit-user-drag: none; /* WebKit/Blink */
    -webkit-user-select: none; /* WebKit/Blink */
    user-select: none; /* Non-prefixed version, currently supported by most browsers */
}

body {
    padding: 0;
    margin: 0;
}

canvas {
    width: 100%;
    height: 100%;
}

canvas:focus {
    outline: none;
}

#unity-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


#bottom-advert {
    position: absolute;
    width: 728px;
    height: 90px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

#side-advert-left, #side-advert-right {
    position: absolute;
    width: 300px;
    height: 250px;
    top: 50%;
    transform: translateY(-50%);
}

#side-advert-left {
    left: 0;
}

#side-advert-right {
    right: 0;
}

#unity-container.unity-mobile {
    position: fixed;
    width: 100%;
    height: 100%
}

.unity-mobile #unity-canvas {
    width: 100%;
    height: 100%
}

#unity-loading-bar {
	margin-top: -1vmin;
    flex-direction: column;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
	transform: translateY(-5vmin);
    /* gap: 15px; */
}

#unity-progress-bar-full {
    position: relative;
    overflow: hidden;
    display: inline-block;
    background: #333; /* Base background color */
    color: white; /* Text color */
    font-size: 20px;
    text-align: center;
    border-radius: 8px;
}

#unity-progress-bar-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Start off-screen */
    width: 100%; /* Shine width */
    height: 100%;
    background: linear-gradient(90deg, transparent, #98e4ff, transparent);
    animation: shine 2s linear  infinite; /* Adjust duration and repeat */
}

@keyframes shine {
    0% {
        left: -100%; /* Start off-screen on the left */
    }
    40% {
        left: 100%; /* Move to off-screen on the right */
    }
    100% {
        left: 100%; /* Stay at the end for the remaining time */
    }
}

#progress-state-text {
    color: rgba(0, 0, 0, 0.5);
    font-size: 1.9vmin;
	line-height: 1;
	margin-top: 0.45vmin;
}

#loading-text {
	margin-top: 2.55vmin;
	color: white;
    font-size: 2.35vmin;
	line-height: 1;
}

#unity-logo {
    background: url("logo.png") no-repeat center;
	height: 20vmin;
	width: 75vmin;
    background-size: contain;
}

#unity-progress-bar-empty {
    width: 50vmin;
    height: 4vmin;
    margin-top: 3vmin;
	--color: rgba(0, 0, 0, 1);
    background-color: var(--color);
	box-shadow: var(--color) 0 0 0 0.6vmin;
    border-radius: 10vmin;
}


#unity-progress-bar-full {
	position: relative;
    width: 40%;
    height: 100%;
    border-radius: 10vmin;
    background-color: #2cc6ff;
	box-shadow: inset 0 0.9vmin 1.2vmin #98e4ff, inset 0 -0.5vmin 0 #0aa6f1; /* Top inner shadow */
}

.loader {
	z-index: 99999;
	position: absolute;
	right: -35px;
	transform: scale(0.8);
	top: -63px;
}

#unity-footer {
    position: relative
}

.unity-mobile #unity-footer {
    display: none
}

#unity-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
	border-radius: 20px;
	text-align: center;
    display: none;
}

.warning {
	color: rgb(75, 57, 7);
	background-color: rgb(255, 201, 51) !important;
	box-shadow: inset 0 -4px 5px 0px rgb(180, 137, 19), inset 0 4px 5px 0px rgb(255, 218, 117), 1px 1px 8px 2px rgb(160, 121, 13);
}

.error {
	color: rgb(73, 3, 3);
	background-color: rgb(255, 34, 34) !important;
	box-shadow: inset 0 -4px 5px 0px rgb(223, 17, 17), inset 0 4px 5px 0px rgb(255, 87, 87), 1px 1px 8px 2px rgb(161, 10, 10);
}


#info-panel {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 3vmin;
	text-align: center;
	background: linear-gradient(180deg, rgba(0, 0, 0, .4) 0, rgba(0, 0, 0, .55) 100%);
	border-radius: 3vmin;
	color: #fff;
	font-size: 2.2vmin;
	width: 75vmin;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: row
}

#info-panel>p {
	margin: 2vmin 2.5vmin 2vmin 2.5vmin
}

.infopanels {
	position: absolute;
	top: 0;
	opacity: 1;
	height: 11vmin;
	transform: translate(-50%, -115%);
	left: 50%
}

.topleft {
	position: absolute;
	top: 0;
	left: 0;
	margin: 1vmin;
	display: flex;
	flex-direction: row
}

.discordbutton {
	position: relative;
	border-radius: 999px;
	width: 11vmin;
	height: 11vmin;
	background: radial-gradient(circle, rgba(0, 0, 0, .3) 0, rgba(0, 0, 0, .6) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: scale .15s;
}

.discordbutton:hover {
	scale: 1.1;
}

.discordbutton>img {
	height: 45%;
}

.topleft>.discordmsg {
	font-size: 2.5vmin;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-left: 1vmin;
	padding-left: 1.3vmin;
	position: relative;
}

.discordmsg::before {
	content: '';
	position: absolute;
	left: 0;
	background-color: #fff;
	width: .3vmin;
	height: 75%;
	margin-right: 1vmin;
}

.topleft blue {
	color: #2cc6ff;
}

