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

.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, #4EB8FF44, transparent, transparent),
		radial-gradient(circle, #0085FF88, transparent, transparent),
		radial-gradient(circle, #4EB8FF44, transparent, transparent),
		radial-gradient(ellipse, transparent, transparent, #0b0912 90%),
		url("./assets/bg.png"),
		radial-gradient(circle, #4EB8FF,  #4EB8FF44, transparent, transparent),
		radial-gradient(circle, #0085FF73,  #0085FF44, transparent, transparent),
		radial-gradient(circle, #4EB8FF,  #4EB8FF44, transparent, transparent),
		linear-gradient(#21242E, #0D0D15);
  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;
}

.bg-gradient {
	position: absolute;
	background-size: cover;
	width: 322px;
	height: 322px;
	left: calc(50% - 161px);
	bottom: calc(50% - var(--offset-bottom) + 35px);
}

@media (max-width: 600px) or (max-height: 600px) {
	.bg-gradient {
		width: 208px;
		height: 208px;
		left: calc(50% - 104px);
		top: calc(50% - 208px - 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: 100px;
	}
}

@media (max-height: 375px) {
	html {
		--offset-bottom: 0px;
	}
	.middle {
		margin-top: 200px;
	}
	.progress {
		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: 2px;
	left: 2px;
	width: calc(100% - 4px);
	height: calc(100% - 4px);
	background: black;
	height: 5px !important;
	text-align: center;
	color: white;
	font-family: sans-serif;
	font-size: 16px;
	text-indent: 10px;
	line-height: 50px;
}
.progress, .progress__line {
	background: #00A3FF;
}
.progress__line {
	width: 0%;
	transition: 8s;
	transition-timing-function: linear;
	position: relative;
}

.progress__line::after {
	position: absolute;
	content: '';
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: black;
	right: -1px;
	top: 2px;
}

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

.star {
	position: absolute;
	width: 8px;
	height: 8px;
	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: radial-gradient(50% 50% at 50% 50%, #FFFFFF 5%,#65E3FFAA 55%, transparent 85%);
}

.star-1::before { transform: scale(0.81); }
.star-2::before { transform: scale(0.92); }
.star-3::before { transform: scale(0.65); }
.star-4::before { transform: scale(0.5); }

.star-1 {
  margin-left: -137px;
  margin-top: -475px;
}
.star-2 {
  margin-left: -38px;
  margin-top: 85px;
}
.star-3 {
  margin-left: -102px;
  margin-top: -200px;
}
.star-4 {
  margin-left: 100px;
  margin-top: -60px;
}

@media (max-width: 600px) or (max-height: 600px) {
	.star-2::before { transform: scale(0.62); }
	.star-2 {
	  margin-top: 25px;
	}
	.star-3 {
	  margin-left: -72px;
      margin-top: -180px;
	}
	.star-4 {
	  margin-left: 60px;
	  margin-top: -80px;
	}
}
