
body {
	background-color: #FFFFFF;
}


.head {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	background-color: #DEDEDE;
	/*padding: 50px 100px;*/
	height: 100px;
	
	will-change: background-color;

	transition: .5s;
}

.head.scroll {
	background-color: rgba(222,222,222,0.8);
	/*padding: 20px 100px;  */
	height: 50px;
}

.head .logo {
	float: left;
	height: 100px;
	transition: .5s;
	width: 400px;
	border: solid black 1px;
}
.head .logo div {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}
.head .logo div img {
	height: 100%;
	width: auto;
}
.head.scroll .logo {
	height: 50px;
	width: 200px;
}

.head .nav {
	float: right;
	height: 100px;
	width: 800px;
	transition: .5s;
	border: solid red 1px;
}
.head.scroll .nav {
	height: 50px;
}

.head .nav .item,.head .nav .profile {
	top: 0;
	height: 100px;
	transition: .5s;
	display: inline-block;
	vertical-align: top;
	margin: 0px 25px;
}
.head .nav .item .middle,.head .nav .profile .middle {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}
.head.scroll .nav .item,.head.scroll .nav .profile {
	height: 50px;
}

.head .nav .item {
	border: solid green 1px;
	width: 200px;
}

.head .nav .profile {
	transition: .5s;
	width: 100px;
	border: solid blue 1px;
}

.head .nav .profile .icon {
	height: 60px;
	width: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 40px;
	border: solid black 2px;
	border-radius: 50%;
	transition: .5s;
}
.head.scroll .nav .profile .icon {
	height: 30px;
	width: 30px;
	font-size: 20px;
}