/* 全局滚动条样式 - start */
::-webkit-scrollbar {
	/*滚动条整体样式*/
	width: 7px;
	/*高宽分别对应横竖滚动条的尺寸*/
	height: 7px;
}

::-webkit-scrollbar-thumb {
	/*滚动条里面小方块*/
	border-radius: 10px;
	background-color: skyblue;
	background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
}

::-webkit-scrollbar-track {
	/*滚动条里面轨道*/
	box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
	background: #ededed;
	border-radius: 10px;
}

/* 全局滚动条样式 - end */

html,
body {
	margin: 0;
	padding: 0;
}

body {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	background-image: linear-gradient(125deg, #E4FFCD, #6DD5FA, rgba(34, 209, 113, 0.3), #E4FFCD, #E2C2DE, #9393FF);
	background-size: 1000%;
	animation: bganimation 30s infinite;
	background-attachment: fixed;
}

@keyframes bganimation {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

#container {
	text-align: center;
}

.title {
	font-weight: bold;
	font-size: 30px;
	margin-top: 10px;
	user-select: none;
}

.currentTime {
	font-size: 16px;
	font-weight: bold;
	user-select: none;
}

.name-box {
	width: 860px;
	min-height: 400px;
	margin: 20px auto 0;
	/* background-color: #409EFF; */
	background-color: rgba(228, 239, 255, .5);
	border-radius: 20px;
	box-shadow: 4px 4px 10px 5px rgba(0, 0, 0, .3);
	padding: 10px 30px;
	box-sizing: border-box;
}

.name-list {
	margin: 30px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	/* name间距 */
	column-gap: 16.65px;
	/* name行间距 */
	row-gap: 15px;
}

.name {
	width: 100px;
	height: 40px;
	line-height: 40px;
	font-size: 16px;
	font-weight: bold;
	background-color: rgba(145, 190, 255, .8);
	border-radius: 10px;
	box-shadow: 1px 1px 5px -1px rgb(0 0 0 / 20%);
}

.start {
	font-weight: bold;
	/* 禁止选择字内容 */
	user-select: none;
}

.dropdown {
	/* 	position: absolute;
	left: 10px;
	top: 10px; */
}

.active,
.manyTimes {
	background-color: #ff8739;
}

.addClass {
	/* position: absolute;
	left: 10px;
	top: 50px; */
}

.button-container {
	position: relative;
	width: 200px;
	margin: 0 auto;
	margin-top: 30px;
}

/* 组件样式 */
#numl,
#numr {
	background-color: #fff;
}

#yiyan {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
}

.music {
	width: 30px;
	height: 30px;
	position: absolute;
	left: 10px;
	bottom: 10px;
}

.author {
	position: absolute;
	right: 10px;
	bottom: 10px;
	font-weight: bold;
}

/* 开关按钮 */

.btn-switch {
	/* position: absolute;
	top: 120px;
	left: 10px; */
}

.btn-on {
	width: 60px;
	height: 25px;
	border-radius: 25px;
	font-size: 14px;
}

.btn-on {
	cursor: pointer;
	position: relative;
	border: 1px solid white;
	background-color: #12B090;
}

.btn-on-circle {
	position: absolute;
	width: 15px;
	height: 15px;
	top: 50%;
	left: 5px;
	background-color: rgb(255, 255, 255);
	border-radius: 50%;
	box-shadow: 0 0 10px white;
	transition: all .5s;
	transform: translateY(-50%);
}

.btn-on-text {
	position: absolute;
	right: 10px;
	line-height: 25px;
	color: white;
	transition: all .5s;
}

#dropdownMenu1 {
	width: 90px;
}

.addClass {
	width: 90px;
}

.pedometer {
	/* position: absolute;
	left: 10px;
	top: 90px; */
}

.pedometer>div {
	width: 90px !important;
}

.menu {
	position: absolute;
	padding: 20px;
	top: 10px;
	left: -133px;
	height: 200px;
	background-color: rgba(255, 255, 255, .5);
	box-shadow: 2px 2px 14px -5px rgba(0, 0, 0, .8);
	border-radius: 0 10px 10px 0;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	transition: .5s;
}

.menu.menu-active {
	left: 0 !important;
}

.menu>.menu-btn {
	position: absolute;
	width: 50px;
	height: 50px;
	right: -55px;
	top: 0;
}

.history {
	width: 860px;
	height: 100px;
	position: absolute;
	left: 50%;
	bottom: -100px;
	transform: translateX(-50%);
	background-color: rgba(255, 255, 255, .6);
	border-radius: 10px 10px 0 0;
	box-shadow: 0 2px 10px -3px rgb(0 0 0 / 50%);
	transition: .5s;
}

/* .history.history-active {
	transform: translateX(-50%);
} */

.history .history-name {
	width: 100%;
	height: 100%;
	font-size: 14px;
	font-weight: bold;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	column-gap: 18px;
	overflow: auto;
}

.history .history-name div {
	width: 70px;
	height: 20px;
	margin-bottom: 6px;
}

.history .arrow-box img {
	width: 20px;
	opacity: .6;
	transform: rotate(0);
	transition: .5s;
}

.history.history-active img {
	/* 旋转180度 */
	transform: rotate(-180deg);
}

.history .arrow-box {
	text-align: center;
	width: 60px;
	height: 20px;
	background-color: rgba(255, 255, 255, .5);
	position: absolute;
	left: 50%;
	transform: translate(-50%, -100%);
	border-radius: 5px 5px 0 0;
}

.record-no{
	margin-right: 10px;
}


label {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	cursor: pointer;
}

label img {
	display: block;
	height: auto;
}

label .bar-wrapper,
label .bar {
	position: relative;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	position: absolute;
}

label .bar:before,
label .bar:after {
	content: "";
	width: 50%;
	height: 15%;
	background: white;
	display: block;
	position: absolute;
	left: 0;
	-webkit-transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.2);
	-moz-transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.2);
	transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.2);
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

label .bar:before {
	left: 5%;
}

label .bar:after {
	right: 5%;
	left: initial;
}

label .top-bar:before,
label .top-bar:after {
	top: 10%;
}

label .middle-bar:before,
label .middle-bar:after {
	top: 50%;
	-webkit-transform: translate(0, -50%);
	-moz-transform: translate(0, -50%);
	transform: translate(0, -50%);
	-webkit-transition: 0.2s ease 0.1s;
	-moz-transition: 0.2s ease 0.1s;
	transition: 0.2s ease 0.1s;
}

label .bottom-bar:before,
label .bottom-bar:after {
	bottom: 10%;
}

label input {
	display: none;
}

label input:checked~.bar-wrapper {
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	transform: rotate(90deg);
	-webkit-transition: 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	-moz-transition: 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	transition: 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

label input:checked~.bar-wrapper .middle-bar:before,
label input:checked~.bar-wrapper .middle-bar:after {
	width: 0%;
	-webkit-border-radius: 10px !important;
	-moz-border-radius: 10px !important;
	border-radius: 10px !important;
}

label input:checked~.bar-wrapper .top-bar:before {
	-webkit-transform-origin: 0 100%;
	-moz-transform-origin: 0 100%;
	transform-origin: 0 100%;
	-webkit-transform: rotate(45deg) translate(10%, -70%);
	-moz-transform: rotate(45deg) translate(10%, -70%);
	transform: rotate(45deg) translate(10%, -70%);
	left: 0;
}

label input:checked~.bar-wrapper .top-bar:after {
	-webkit-transform-origin: 100% 100%;
	-moz-transform-origin: 100% 100%;
	transform-origin: 100% 100%;
	-webkit-transform: rotate(-45deg) translate(-10%, -70%);
	-moz-transform: rotate(-45deg) translate(-10%, -70%);
	transform: rotate(-45deg) translate(-10%, -70%);
	right: 0;
}

label input:checked~.bar-wrapper .bottom-bar:before {
	-webkit-transform-origin: 0 0;
	-moz-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transform: rotate(-45deg) translate(10%, 70%);
	-moz-transform: rotate(-45deg) translate(10%, 70%);
	transform: rotate(-45deg) translate(10%, 70%);
	left: 0;
}

label input:checked~.bar-wrapper .bottom-bar:after {
	-webkit-transform-origin: 100% 0;
	-moz-transform-origin: 100% 0;
	transform-origin: 100% 0;
	-webkit-transform: rotate(45deg) translate(-10%, 70%);
	-moz-transform: rotate(45deg) translate(-10%, 70%);
	transform: rotate(45deg) translate(-10%, 70%);
	right: 0;
}
