/* 修正后的字体引入 */
@font-face {
	font-family: 'Dancing Script';
	src: url('https://static.igem.wiki/teams/5806/fonts/dancing-script.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}


.loader {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000000;
	transition: all 0.3s;
	background: #c4caff;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

.loader-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* 修改GIF尺寸为500px */
.loader-gif {
	width: 500px;
	/* 扩大至500px */
	height: auto;
	margin-bottom: 30px;
	/* 增加文字与GIF的间距 */
}

.loader-text span {
	color: white;
	margin-top: 10px;
	/* 减小文字顶部间距 */
	font-size: 5em;
	/* 适当增大文字 */
	font-family: 'Dancing Script';
	/* 修正字体引用 */
	/* display: flex;
    justify-content: center;
    flex-wrap: wrap; */
}

.char {
	opacity: 0;
	/* 初始状态不可见 */
	display: inline-block;
	margin: 0 3px;
	transform: translateY(20px);
	/* 初始位置下移 */
}

.space {
	width: 15px;
}

@keyframes fadeOut {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
		visibility: hidden;
	}
}

.loader.disper {
	animation: fadeOut 0.6s ease forwards;
	pointer-events: none;
}