* {
	margin: 0;
	outline: 0;
	touch-action: pan-y;
}

html,body {
	width: 100%;
	height: 100%;
}
:root {
	--body-top: 0px;
}

body {
	max-width: 100%;
    overflow: hidden;
    background-color: #333;
    cursor: default;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

#main-box {
	overflow: hidden;
	box-sizing: border-box;
	background-color: rgba(0, 0, 0, 0.8);
	/* z-index: -10; */
	width: 100%;
	height: 100%;
	/* display: flex;
	align-items: center;
	justify-content: center; */
	transition-duration: .5s;
	position: absolute;
	top: calc(var(--body-top) + 0px);
	left: 0;
	height: calc(100% - var(--body-top));
	transition: .5s;
}

.bg {

	display: none;
    opacity: 0;
    z-index: 1;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
	object-position: left bottom;
	/* transition: all .5s ease; */
    transition: opacity 1s, transform .25s, filter .25s, background-size .5s;
    backface-visibility: hidden;
}

#main {
	z-index: 1;
	text-align: center;
	width: 100%;
	height: 60%;
	min-height: 300px;
	position: absolute;
	top: 150px;
	/* border: 3px solid #333333; */
}

#aword {
	width: 100%;
	position: absolute;
	bottom: 0;
	z-index: 1;
	color: white;
	font-size: 13px;
	font-family: "宋体", system-ui;
	text-align: center;
	-webkit-user-select: none;
	user-select: none;
	transition: background-position .5s;
	/* border: 2px solid #000000; */
}

#aword:hover {
	color: black;
	background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6) 10%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.6) 80%, rgba(255, 255, 255, 0));
}

#timeText {
	-webkit-user-select: none;
	user-select: none;
	transition: font-size .25s;
	color: white;
	font-size: 42px;
	font-family: "-apple-system,BlinkMacSystemFont";
	letter-spacing: 0px;
	/* cursor: pointer; */
	line-height: 36px;
	font-weight: 200;
	text-align: center;
	margin-top: -42px;
	margin-bottom: 0;
	left: 0;
	right: 0;
	position: absolute;
	/* border: 1px solid #FF0000; */
}

#search {
	transition: width .25s, background-color .25s;
	margin-top: 28px;
	width: 230px;
	/* padding:14px 0px ; */
	height: 43px;
	color: #000000;
	background-color: rgba(255, 255, 255, 0.4);
	backdrop-filter: blur(5px);
	border: 0px;
	border-color: rgba(255, 255, 255, 0);
	border-style: solid;
	border-radius: 40px;
	/*圆角*/
	outline: none;
	font-size: 15px;
	text-align: center;
	outline-style: none;
	/*取消焦点时的外边框*/
}

input::placeholder {
	color: rgba(255, 255, 255, 0.8);
}

#search:focus {
	width: 530px;
	background-color: white;
}

#search:hover {
	width: 530px;
	background: rgba(255, 255, 255, 0.8);
}

#search:hover::placeholder {
	color: rgba(0, 0, 0, 0.8);
}

#search:focus:hover {
	background-color: white;
}

#search:focus:hover::placeholder {
	color: rgba(255, 255, 255, 0.8);
}

input::-moz-placeholder {
	color: white;
}

@media screen and (max-width: 800px) {
	#search {
		width: 60%;
	}
	#search:focus {
		width: 80%;
	}
	#search:focus:hover {
		width: 80%;
	}

}

@media screen and (max-height: 1500px) {
	.bg {
		height: 1500px;
	}
}

@media screen and (max-height: 1200px) {
	.bg {
		height: 1200px;
	}
}

@media screen and (max-height: 800px) {
	.bg {
		height: 800px;
	}
}



