html, body {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}

html {
	--offset-bottom: 70px;
}

@keyframes moveBackground {
	from { 
		background-position:
			50% calc(50% - var(--offset-bottom)),
			50% calc(50% - var(--offset-bottom)),
			50% calc(50% - var(--offset-bottom)),
			50% calc(50% - var(--offset-bottom)),
			center,
			-32px -32px,
			50% calc(50% - var(--offset-bottom)),
			50% calc(50% - var(--offset-bottom)),
			50% calc(50% - var(--offset-bottom)),
			center;
	}
	to { 
		background-position:
			50% calc(50% - var(--offset-bottom)),
			50% calc(50% - var(--offset-bottom)),
			50% calc(50% - var(--offset-bottom)),
			50% calc(50% - var(--offset-bottom)),
			center,
			-96px -32px,
			50% calc(50% - var(--offset-bottom)),
			50% calc(50% - var(--offset-bottom)),
			50% calc(50% - var(--offset-bottom)),
    	center;
	}
}

@keyframes starPulse {
	0%, 100% { transform: scale(1) }
	50% { transform: scale(0.75) }
}

.container {
	position: fixed;
	display: flex;
	top: 0;
	left: 0;
	flex-direction: column;
	align-items: center;
	justify-content: end;
	background-image:
	  url('./assets/main-logo.png'),
		radial-gradient(circle, #ffce7044, transparent, transparent),
		radial-gradient(circle, #ff6b0088, transparent, transparent),
		radial-gradient(circle, #ffa80044, transparent, transparent),
		radial-gradient(ellipse, transparent, transparent, #0b0912 90%),
		url("./assets/bg.png"),
		radial-gradient(circle, #FFED46,  #ffce7044, transparent, transparent),
		radial-gradient(circle, #FFDA57,  #ff6b0044, transparent, transparent),
		radial-gradient(circle, #FFED46,  #ffa80044, transparent, transparent),
		linear-gradient(#141520, #141520);
  background-repeat:
		no-repeat,
		no-repeat,
		no-repeat,
		no-repeat,
		no-repeat,
		repeat,
		no-repeat,
		no-repeat,
		no-repeat,
		no-repeat;
	background-size:
		322px 322px,
		400px 400px,
		500px 500px,
		600px 600px,
		100% 100%,
		64px,
		300px 300px,
		400px 400px,
		500px 500px,
		100%;
	width: 100%;
	height: 100%;
	overflow: hidden;
	padding: 70px 0;
	box-sizing: border-box;
	animation: linear moveBackground 0.32s infinite;
}

.bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.logo{
	margin-bottom: 32px;
	width: 88px;
	height: 40px;
}

.middle {
	position: relative;
	margin-top: 100px;
	height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

.star {
	position: absolute;
	background-size: cover;
	width: 213px;
	height: 234px;
	margin-left: -106px;
	margin-top: -117px;
	top: 50%;
	left: 50%;
	animation: starPulse ease-in-out 2s infinite;
}
.star::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background: url("./assets/star.png");
}

.star-1::before { transform: scale(0.18); }
.star-2::before { transform: scale(0.2); }
.star-3::before { transform: scale(0.25); }
.star-4::before { transform: scale(0.8); }

.star-1 {
	margin-left: -137px;
  margin-top: -475px;
}
.star-2 {
	margin-left: -62px;
  margin-top: 85px;
}
.star-3 {
  margin-left: -182px;
  margin-top: -25px;
}
.star-4 {
	margin-left: 10px;
  margin-top: -340px;
}

@media (max-width: 600px) or (max-height: 600px) {
	.middle {
		transform: scale(0.64);
		margin-top: 20px;
	}
	.container {
		background-size:
			208px 208px,
			256px 256px,
			320px 320px,
			384px 384px,
			100% 100%,
			48px,
			192px 192px,
			256px 256px,
			320px 320px,
			100%;
	}
	.logo {
		width: 62px;
		height: 28px;
		margin-bottom: 24px;
	}
}

@media (max-height: 400px) {
	html {
		--offset-bottom: 35px;
	}
	.logo {
		display: none;
	}
	.middle {
		margin-top: 30px;
	}
}

@media (max-height: 375px) {
	html {
		--offset-bottom: 0px;
	}
	.middle {
		margin-top: 100px;
	}
	.progress {
		display: none;
	}
}

@media (max-width: 600px) and (max-height: 530px) {
	.star-1, .star-2 {
		display: none;
	}
}

@media (min-width: 601px) and (max-height: 780px) {
	.star-1, .star-2 {
		display: none;
	}
}

.progress {
	width: 280px;
	max-width: calc(100% - 30px);
	height: 9px;
	border-radius: 9px;
	margin: 0px -30px 0;
	position: relative;
}
.progress__value, .progress__line {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 5px;
}
.progress__value {
	top: 1px;
	left: 1px;
	width: calc(100% - 2px);
	height: calc(100% - 2px);
	background: #161024;
	height: 7px !important;
	text-align: center;
	color: white;
	font-family: sans-serif;
	font-size: 16px;
	text-indent: 10px;
	line-height: 50px;
}
.progress, .progress__line {
	background: #14E000;
}
.progress__line {
	width: 0%;
	transition: 8s;
	transition-timing-function: linear;
}
.progress[progress="0"] .progress__line {
	width: 33%;
	transition: 5s;
}
.progress[progress="1"] .progress__line {
	width: 66%;
	transition: 3s;
}
.progress[progress="2"] .progress__line {
	width: 99%;
	transition: 1s;
}
.progress[progress="3"] .progress__line {
	width: 100%;
	transition: 0.3s;
}
