@charset "utf-8";
html,body{
	width:100%;
	overflow-x: hidden;
}
body {
	background: url(../images/img/banner.jpg) center center repeat;
	background-attachment: scroll;
}
body::-webkit-scrollbar {
	width: 8px;
}
body::-webkit-scrollbar-thumb {
	background: #95CA31;
}
/*loading*/
#loading {
	position: fixed;
	width: 100%;
	height: 100%;
	display: none;
}

.cssload-container {
	width: 107px;
	position: absolute;
	top:50%;
	left: 50%;
	margin-top: -55px;
	margin-left: -54px;
	vertical-align: middle;
}

.cssload-ex {
	text-transform: uppercase;
	font-size: 1em;
	letter-spacing: 1.5px;
	text-align: center;
	width: 88px;
	margin-top: 19px;
	font-size: 4em;
	width: 39px;
	height: 39px;
	margin-top: -17px;
	display: inline-block;
	border: 4px double rgb(255,255,255);
	animation: fade 3.45s infinite;
	-o-animation: fade 3.45s infinite;
	-ms-animation: fade 3.45s infinite;
	-webkit-animation: fade 3.45s infinite;
	-moz-animation: fade 3.45s infinite;
}

.cssload-ex:nth-child(1) {
	animation: spin1 3.45s infinite 1.15s;
	-o-animation: spin1 3.45s infinite 1.15s;
	-ms-animation: spin1 3.45s infinite 1.15s;
	-webkit-animation: spin1 3.45s infinite 1.15s;
	-moz-animation: spin1 3.45s infinite 1.15s;
	transform-origin: 50% 52%;
	-o-transform-origin: 50% 52%;
	-ms-transform-origin: 50% 52%;
	-webkit-transform-origin: 50% 52%;
	-moz-transform-origin: 50% 52%;
	margin-left: 10px;
}

.cssload-ex:nth-child(2) {
	animation: spin2 3.45s infinite 1.15s;
	-o-animation: spin2 3.45s infinite 1.15s;
	-ms-animation: spin2 3.45s infinite 1.15s;
	-webkit-animation: spin2 3.45s infinite 1.15s;
	-moz-animation: spin2 3.45s infinite 1.15s;
	transform-origin: 50% 52%;
	-o-transform-origin: 50% 52%;
	-ms-transform-origin: 50% 52%;
	-webkit-transform-origin: 50% 52%;
	-moz-transform-origin: 50% 52%;
	margin-left: -19px;
}

.cssload-ex:nth-child(3) {
	animation: spin2 3.45s infinite 1.15s;
	-o-animation: spin2 3.45s infinite 1.15s;
	-ms-animation: spin2 3.45s infinite 1.15s;
	-webkit-animation: spin2 3.45s infinite 1.15s;
	-moz-animation: spin2 3.45s infinite 1.15s;
	transform-origin: 50% 52%;
	-o-transform-origin: 50% 52%;
	-ms-transform-origin: 50% 52%;
	-webkit-transform-origin: 50% 52%;
	-moz-transform-origin: 50% 52%;
	margin-left: 10px;
}

.cssload-ex:nth-child(4) {
	margin-left: -1px;
	animation: spin1 3.45s infinite 1.15s;
	-o-animation: spin1 3.45s infinite 1.15s;
	-ms-animation: spin1 3.45s infinite 1.15s;
	-webkit-animation: spin1 3.45s infinite 1.15s;
	-moz-animation: spin1 3.45s infinite 1.15s;
	transform-origin: 50% 52%;
	-o-transform-origin: 50% 52%;
	-ms-transform-origin: 50% 52%;
	-webkit-transform-origin: 50% 52%;
	-moz-transform-origin: 50% 52%;
	margin-left: -19px;
}

@keyframes spin1 {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

@-o-keyframes spin1 {
	0% {
		-o-transform: rotate(0deg);
	}

	100% {
		-o-transform: rotate(360deg);
	}
}

@-ms-keyframes spin1 {
	0% {
		-ms-transform: rotate(0deg);
	}

	100% {
		-ms-transform: rotate(360deg);
	}
}

@-webkit-keyframes spin1 {
	0% {
		-webkit-transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
	}
}

@-moz-keyframes spin1 {
	0% {
		-moz-transform: rotate(0deg);
	}

	100% {
		-moz-transform: rotate(360deg);
	}
}

@keyframes spin2 {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(-360deg);
	}
}

@-o-keyframes spin2 {
	0% {
		-o-transform: rotate(0deg);
	}

	100% {
		-o-transform: rotate(-360deg);
	}
}

@-ms-keyframes spin2 {
	0% {
		-ms-transform: rotate(0deg);
	}

	100% {
		-ms-transform: rotate(-360deg);
	}
}

@-webkit-keyframes spin2 {
	0% {
		-webkit-transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(-360deg);
	}
}

@-moz-keyframes spin2 {
	0% {
		-moz-transform: rotate(0deg);
	}

	100% {
		-moz-transform: rotate(-360deg);
	}
}

@keyframes fade {
	50% {
		opacity: 0.5;
	}

	100% {
		opacity: 1;
	}
}

@-o-keyframes fade {
	50% {
		opacity: 0.5;
	}

	100% {
		opacity: 1;
	}
}

@-ms-keyframes fade {
	50% {
		opacity: 0.5;
	}

	100% {
		opacity: 1;
	}
}

@-webkit-keyframes fade {
	50% {
		opacity: 0.5;
	}

	100% {
		opacity: 1;
	}
}

@-moz-keyframes fade {
	50% {
		opacity: 0.5;
	}

	100% {
		opacity: 1;
	}
}

#cont {
	display: none;
	margin-left: auto;
	margin-right: auto;
}
/* 导航                                                                     */
/*********************************************************************************/
#header {
	position: fixed;
	width: 20%;
	height: 100%;
	left: 0;
	top: 0;
	padding: 2%;
	display: block;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
}

#header .top {
	text-align: center;
	margin-top: 30%;
	margin-bottom: 20%;
}

#logo .image {
	display: inline-block;
	width: 40%;
	height: 40%;
	margin-bottom: 2%;
}

#logo .image img {
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
}

#logo #title {
	height: 30px;
	font: 16px/30px "";
	color: #333;
	margin-bottom: 30px;
}

#nav ul li a {
	height: 30%;
	margin:0 10%;
	font: 20px/50px "微软雅黑";
	color: #333;
	display: block;
	text-align: center;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	transition: 1s;
	-webkit-transition: 1s;
}

#nav a:hover {
	background-color: #414141;
	color: #fff;
	transform: rotate(20deg) translate(20px);
	-webkit-transform: rotate(20deg) translate(20px);
	-moz-transform: rotate(20deg) translate(20px);
}

#nav a.active {
	background-color: #000;
	color: #fff;
	transform: rotate(20deg) translate(20px);
	-webkit-transform: rotate(20deg) translate(20px);
	-moz-transform: rotate(20deg) translate(20px);
}

.bottom {
	text-align: center;
}

.datebox {
	font: 14px/30px "Arial";
	color: #000;
}
.weather{
	font-size: 12px;
}

.Date {
	font: 20px/30px "";
}
/* main                                                                     */
/*********************************************************************************/
#main {
	margin-left: 25%;
}

#main div.section {
	min-height: 500px;
	width:100%;
	display: table;
	box-sizing: border-box;
    padding: 0 10px !important;
}
#portfolio,#skill,#about{
	opacity:0;
}
#main div.section.active{
	opacity:1;
}
.container {
	display: table-cell;
	vertical-align: middle;
}

.header,.footer {
	margin-bottom: 50px;
	text-align: center;
}

.header .alt {
	font: 30px/50px "";
	color: #000;
	margin-bottom: 30px;
}
.header h2{
	font-size: 2em;
	font-weight: normal;
}
.footer .button {
	width: 100px;
	height: 40px;
	line-height: 40px;
	display: inline-block;
	color: rgba(255,255,255,1);
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
	position: relative;
	border: 1px solid rgba(255,255,255,0.5);
	overflow: hidden;
	background-color: rgb(133, 185, 40);
}

.footer .button::before, .footer .button::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
	opacity: 1;
	-webkit-transform: translate(-13%,-190%) rotate(-30deg);
	transform: translate(-13%,-190%) rotate(-30deg);
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: rgba(255,255,255,1);
	background-color: rgba(255,255,255,0.25);
}

.footer .button::after {
	-webkit-transition-delay: 0.2s;
 /* Safari */
	transition-delay: 0.2s;
}

.footer .button:hover::before, .footer .button:hover::after {
	opacity: 0;
	-webkit-transform: translate(0,0);
	transform: translate(0,0);
}

#main > div.two {
	background: url(../images/img/2.png) center center no-repeat;
}

#main > div.three {
	background: url(../images/img/1.png) center center no-repeat;
	background-attachment: fixed;
}

#main > div.five {
	background: url(../images/img/1.png) center center no-repeat;
	background-attachment: fixed;
}

.row .list {
	float: left;
	padding: 20px 0 0 20px;
	width: 270px;
}

.item {
	margin-bottom: 20px;
	box-shadow: 0 0.05em 0.15em 0 rgba(0,0,0,0.05);
	width: 270px;
	margin-left: 20px;
	margin-top: 20px;
	height: 270px;
	overflow: hidden;
	float: left;
}

.fit {
	display: block;
	width: 100%;
	height: 100%;
}

.image img {
	width: 100%;
	display: block;
}

.item a {
	position: relative;
	transform-origin: center center;
	-webkit-transform-origin: center center;
}

.item .bg {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 3;
	background-color: rgba(126, 179, 29,.8);
	border-radius: 50%;
	left: 0;
	top: 0;
	box-shadow: 0px 0px 100px #fff inset;
	transition: 0.5s;
	-webkit-transition: 0.5s;
	transform-origin: center center;
	-webkit-transform-origin: center center;
	transform:scale(0,0);
	-webkit-transform:scale(0,0);

}

.item img {
	border-radius: 50%;
	height: 100%;
	opacity: .5;
	filter: alpha(opacity=50);
	transition: 0.5s;
	-webkit-transition: 0.5s;
}

.item h3 {
	text-align: center;
	color: #FFF;
	transition: 0.3s;
	-webkit-transition: 0.3s;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -50%;
	z-index: 4;
	width: 100%;
	transform: scale(0);
	-webkit-transform: scale(0);
	-moz-transform: scale(0);
}

.item a:hover img {
	opacity: 1;
	filter: alpha(opacity=100);
	transform: rotate(360deg);
	-webkit-transform: rotate(360deg)
}

.item a:hover .bg {
	transform:scale(1,1);
	-webkit-transform:scale(1,1);
}

.item a:hover h3 {
	top: 50%;
	transform: scale(1);
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
}

.skillbox {
	width: 100%;
}


.skillbox li.more {
	background-position: 0 0;
}

.skillbox li.middle {
	background-position: 0 -120px;
}

.skillbox li.less {
	background-position: 0 -480px;
}

.skillbox p {
	width: 100%;
	position: absolute;
	text-align: center;
	top: 110px;
	color: #18155B;
}

.isme {
	padding: 30px 0;
}

.isme p {
	line-height: 40px;
}

.tell a {
	display:inline-block;
	text-align: center;
	width: 200px;
	height: 40px;
	line-height: 40px;
	margin-top: 5px;
	font-weight: bold;
	color: #fff;
	text-shadow: 1px 1px 1px #333;
	border-radius: 5px;
	text-align: center;
	border: 1px solid #64c878;
	box-shadow: 0 1px 2px #b9ecc4 inset,0 -1px 0 #6c9f76 inset,0 -2px 3px #b9ecc4 inset;
	background: -webkit-linear-gradient(top,#90dfa2,#84d494);
	background: -moz-linear-gradient(top,#90dfa2,#84d494);
	background: linear-gradient(top,#90dfa2,#84d494);
}

.blog a {
	display: inline-block;
	width: 140px;
	padding-left: 35px;
	height: 35px;
	line-height: 35px;
	text-align: left;
	margin-top: 5px;
	color: #EAEAEA;
	border: solid 1px #538312;
	background: #64991e;
	background: -webkit-gradient(linear, left top, left bottom, from(#7db72f), to(#4e7d0e));
	background: -moz-linear-gradient(top, #7db72f, #4e7d0e);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7db72f', endColorstr='#4e7d0e');
	position: relative;
}

.blog a::after {
	content: "B";
	position: absolute;
	left: 0;
	width: 30px;
	text-align: center;
	color: #84d494;
	border-right: 1px solid #84d494;
}
/*music*/
#audio {
	width: 60px;
	height: 60px;
	position: fixed;
	top: 3%;
	right: 3%;
	z-index: 60;
	-webkit-animation: myfirst 5s;
}

#audio span {
	width: 30px;
	height: 30px;
	position: absolute;
	left: 3px;
	bottom: 3px;
	background: url(../images/icon/music_off.png) no-repeat;
	background-size: cover;
}

.run {
	background: url(../images/icon/music.gif) no-repeat;
	background-size: cover;
}

.progress {
    height: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
	box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
	box-sizing: border-box;
}
.progress *{box-sizing:border-box}
.progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #337ab7;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
}
.progress{
    height: 30px;
    line-height: 35px;
    background: #809495;
    box-shadow: none;
    padding: 6px;
    margin-top:20px;
    overflow: visible;
    border-radius:10px;
}
.progress:after{
    content: "";
    display: block;
    border-top: 4px dashed #fff;
    margin-top:8px;
}
.progressbar-title{
    color:#d8dedc;
    font-size:15px;
    margin:5px 0;
    font-weight: bold;
}
.progress .progress-bar{
    position: relative;
    border-radius: 10px 0 0 10px;
    animation: animate-positive 2s;
}
.progress .progress-bar span{
    position: absolute;
    top: -50px;
    right: -40px;
    color: #fff;
    display: block;
    font-size: 17px;
    font-weight: bold;
    padding: 5px 7px;
    background: #333;
    border-radius: 0 0 5px 5px;
}
.progress .progress-bar span:before{
    content: "";
    position: absolute;
    bottom: -14px;
    left: 18px;
    border: 7px solid transparent;
    border-top: 7px solid #333;
}
.progress .progress-bar span:after{
    content: "";
    font-family: fontawesome;
    font-size: 48px;
    color: #333;
    position: absolute;
    top: 51px;
    right: 6px;
    transform: rotateZ(48deg);
}
.progress .progress-bar span img{
	position: absolute;
    width: 50px;
    height: 50px;
    bottom: -55px;
    right: 3px;
    transform: rotate(45deg);
}
@-webkit-keyframes animate-positive {
    0% { width: 0%;}
}
@keyframes animate-positive {
    0% { width:0%; }
}
@media all and (max-width:768px) {
	#header {
		width: 150px;
	}

	.item {
		width: 190px;
		height: 190px;
	}

	.skillbox li {
		margin: 22px;
	}
}

@media all and (max-width:640px) {
	#header {
		display: none;
	}

	#main {
		margin-left: 0px;
	}
	#top{
		padding-bottom:0 !important;
	}
	#main div.section{
		padding:0;
	}
	.item {
		width: 190px;
		height: 190px;
	}

	.skillbox li {
		margin-right: 20px;
	}
}

@media all and (max-width:480px) {
	.item {
		width: 100px;
		height: 100px;
		line-height: 100px;
		font-size:12px;
	}

	.item a:hover h3 {
		top: 0px;
		font-size: 15px;
	}

	.skillbox li {
		margin-right: 0px;
	}

}
