/* 创建一个全屏覆盖的加载页面 */
#loader {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 9996;
	flex-direction: column;
	background: black;
	display: flex;
	justify-content: center;
	align-items: center;
}

#loaderText1 {}

#loaderText2 {}

#canvas-container {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 60%;
	height: 60%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9997;
}

#canvas1 {
	position: absolute;
	color: White;
}

#canvas2 {
	position: absolute;
	color: White;
}

#text {
	position: fixed;
	opacity: 0;
	left: 50%;
	top: 110%;
	transform: translate(-50%, -50%);
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	color: White;
	z-index: 9997;
}

@keyframes fadeIn {

	0% {
		opacity: 0;
	}

	80% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes fadeOut {

	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

@keyframes scale {
	0% {
		transform: scale(1);
		opacity: 1;
	}

	80% {
		transform: scale(1.2);
		opacity: 1;
	}

	100% {
		transform: scale(1.4);
		opacity: 0;
	}
}

@keyframes boardFadeOut {
	0% {
		background: black;
		opacity: 1;
	}

	15% {
		background: white;
		opacity: 1;
	}

	85% {
		background: white;
		opacity: 1;
	}

	100% {
		background: white;
		opacity: 0;
	}
}

.star {
	position: absolute;
	width: 2px;
	height: 2px;
	background: white;
	border-radius: 50%;
	animation: twinkle 1s infinite;
}

@keyframes warn {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes twinkle {

	0%,
	100% {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}
}