@import "common.css";

.bg {
	background: url(http://musicdata.baidu.com/data2/music/A54B81CCA1BECCF12880BDF06739766F/252806468/252806468.jpg@s_0,w_300) center center no-repeat;
	background-size: cover;
	filter: blur(5px);
	position: absolute;
	left: -10px;
	right: -10px;
	top: -10px;
	bottom: -10px;
	z-index: -1;
}
.bg::before {
	content: '';
	position: absolute;
	background:rgba(0, 0, 0, .6);
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.mobile {
	display: none;
}
.pc {
	display: block;
}

/* 初始状态 */
.active-state {
	width: 100%;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
}
.main {
	margin: 2vh 40px 0.5vh 40px;
	width: 70%;
	height: 60vh;
	position: absolute;
	left: 50%;
	top: 40%;
	transform: translate(-50%,-50%);
}
.music {
	float: left;
	width: 35%;
	height: 100%;
}
.music-img {
	height: 83%;
	background: url(http://musicdata.baidu.com/data2/music/A54B81CCA1BECCF12880BDF06739766F/252806468/252806468.jpg@s_0,w_300) no-repeat;
	background-position: center center;
	background-size: cover;
}
.tabs {
	text-align: center;
	margin-top: 5vh;
	display: flex;
}
.tabs > span {
	flex: 1;
	font-size: 3.5vh;
	color: white;
	cursor: pointer;
	opacity: .3;
	transition: opacity .4s;
}
.tabs > span:hover {
	opacity: .8;
}
.volume {
	background-color: rgba(255, 255, 255, .3);
	height: .6vh;
	position: relative;
	top: -5vh;
	left: 0;
	width: 100%;
}
.volume-bar {
	width: 100%;
	background-color: rgba(255, 255, 255, .7);
	height: .6vh;
	position: absolute;
	top: 0;
	left: 0
}
.info {
	float: left;
	margin-left: 9.3vh;
	position: relative;
	width: 50%;
	height: 100%;
}
.info .list-name {
	font-size: 4.6vh;
	padding-top: 2.8vh;
}
.info .title {
	font-size: 3vh;
	position: absolute;
	left: 0;
	bottom: 6vh;
}
.info .singer {
	position: absolute;
	left: 0;
	bottom: 3.9vh;
}
.progress-bar {
	position: absolute;
	bottom: 13.9vh;
	left: 0;
	width: 95%;
}
.PB-all {
	background: rgba(255, 255, 255, .4);
	height: .4vh;
	width: 100%;
	cursor: pointer;
}
.PB-now {
	background: rgba(255, 255, 255, .8);
	height: .4vh;
	width: 0;
	position: absolute;
	left: 0;
	top: 0;
	transition: width .3s;
}

/* 初始状态footer */
footer {
	background: rgba(255, 255, 255, .05);
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
}
footer:hover .music-list>span {
	opacity: .6;
}
.music-list {
	width: 70%;
	position: relative;
	margin: 1vh auto;
}
.list {
	text-align: center;
	overflow: hidden;
	position: relative;
	height: 19.5vh;
}
.music-list > span {
	opacity: 0;
	position: absolute;
	display: inline-block;
	height: 19.5vh;
	font-size: 7vh;
	line-height: 19.5vh;
	cursor: pointer;
	transition: all .6s;
	color: rgba(255, 255, 255, .4);
}
.music-list > span:hover {
	color: rgba(255, 255, 255, .8);
}
.fa-chevron-left {
	left: -10vh;
}
.fa-chevron-right {
	right: -10vh;
}
.list > ul {
	position: absolute;
}
.list >ul li {
	float: left;
	display: inline-block;
	margin: 0 2vh;
	width: 20vh;
	height: 18.5vh;
	color: rgba(255, 255, 255, .7);
	padding: 1vh 0;
	font-size: 2vh;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
}
.list >ul:first-child {
	margin-left: 0;
}
.item {
	height: 15vh;
	background-position: center center;
	background-size: cover;
	margin-bottom: .5vh;
}

/* 无动作十秒后 */
.stationary-state {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
}
.img {
	position: absolute;
	background: url(http://musicdata.baidu.com/data2/music/A54B81CCA1BECCF12880BDF06739766F/252806468/252806468.jpg@s_0,w_300) center center no-repeat; 
	background-size: contain;
	left: 50%;
	top: 45%;
	transform: translate(-50%, -50%);
	width: 45%;
	height: 60vh;
}
.content {
	background: rgba(255, 255, 255, .03);
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
}
.bar {
	position: relative;
}
.bar-all {
	width: 100%;
	height: .3vh;
}
.bar-now {
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: .3vh;
	background: rgba(255, 255, 255, .3);
	border-radius: 3px;
}
.information {
	margin: 3.9vh auto;
	width: 50%;
	text-align: center;
}
.information .lyric {
	font-size: 2.5vh;
	color: rgba(255, 255, 255, .8);
}
