/* 背景 */
body {
	background-color: rgba(252, 147, 178);
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

img {
	pointer-events: none;
}

.bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: -1;
	background-image: url('./img/zy.JPG');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.top {
	color: #ffffff;
	background-color: black;
	height: 50px;
	text-align: center;
	border-radius: 15px;
}

#appapp{
	display: none;
}

.通知 {
	background-color: red;
	margin-top: 10px;
	border-radius: 15px;
	color: #fff;
	font-size: 18px;
	text-align: center;
	height: 30px;
	line-height: 30px;
	cursor: pointer;
}

/* 时间 */
.clock {
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 15px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.time {
	color: #fff;
	font-size: 66px;
	text-shadow: 0 0 15px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.date {
	color: #f1f0ed;
	text-shadow: 0 0 15px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 第一行按钮 */
.a {
	display: flex;
	justify-content: center;
	gap: 15px;
	flex-wrap: wrap;
	margin-top: 10px;
}

.a-1 {
	text-align: center;
	width: 75px;
	height: 95px;
	border-radius: 15px;
	line-height: 10px;
	display: inline-block;
	border: none;
	font-size: 20px;
	color: #fff;
	box-shadow: 0 0 0;
	transition: all 0.3s linear;
}

svg:hover {
	border-radius: 15px;
	box-shadow: 0 0 20px #fff;
}

.a-2 {
	margin-top: 5px;
	color: #000;
	font-size: 15px;
}

/* 计时 */
.timer-card {
	margin-top: 10px;
	background: white;
	padding: 20px;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	background-color: rgba(255, 255, 255, 0.5);
	text-align: center;
}

h2 {
	color: #333;
	margin-bottom: 20px;
}

#timer {
	font-size: 1.5rem;
	font-weight: bold;
	color: #ff4757;
}

.unit {
	color: #777;
	font-size: 0.9rem;
	margin: 0 5px;
}

.app {
	position: fixed;
	right: 20px;
	bottom: 20px;
	height: 50px;
	width: 50px;
	background-color: #007bff;
	border-radius: 50px;
	transition: all 0.75s ease;
	display: flex;
	overflow: hidden;
	align-items: center;
}

.app-1 {
	height: 50px;
	width: 50px;
	border-radius: 50px;
	border: none;
	background-color: #007bff;
	padding-top: 5px;
	flex-shrink: 0;
	cursor: pointer;
	transition: all 0.75s ease;
}

.app-2 {
	width: 90px;
	opacity: 0;
	display: none;
	color: #000;
	border: none;
	font-size: 20px;
	background-color: rgba(0, 0, 0, 0);
	cursor: pointer;
}

.app.active {
	width: 150px;
	background-color: #fff;
}

.app.active .app-1 {
	transform: rotate(-90deg);
}

.app.active .app-2 {
	opacity: 1;
	display: inline;
	height: 50px;
}

/* 右下角 */
.刷新 {
	position: fixed;
	right: 20px;
	bottom: 75px;
	cursor: pointer;
	display: inline-block;
	transition: transform 0.75s ease;
}

@keyframes spin {
	from {
		transform: rotate(0);
	}

	to {
		transform: rotate(360deg);
	}
}

.刷新:active {
	animation: spin 0.5s linear infinite;
}
