@charset "utf-8";
/* CSS Document */

body {
	font-family: sans-serif;
	padding: 0;
	margin: 0 auto;
	max-width: 960px;
	height: 1000px;
	border: 3px solid #06f;
	background-image: url(../Images/Dancing-fat-man-copy.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-origin: border-box;
	z-index: 10;
	
	}
	
.main-nav {
	background-color:#06F;
	color: white;
	width: 60%;
	height: 50px;
	margin: 0 auto;
	margin-bottom: 20px;
	}
	
.nav-list {
	text-align: center;
	list-style: none;
	padding-left: 0;
	margin-top: 0;
	}
	
.nav-list li {
	display: inline-block;
	width:120px;
	height: 30px;
	margin: 10px 5px;
	text-align: center;
	position: relative;
	}
	
.nav-list li a span {
	color: white;
	text-decoration: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 120px;
	height:30px;
	line-height: 30px;
	transform-origin: 0 0;
	transition: all .5s;	
	}
	
.nav-list li a:hover span {
	transform: scaleY(0);
	background-color:#80b2fc;
	}
	
.nav-list li a::after{
	content:attr(data-title);
	background-color:#000
	display: block;
	width: 120px; 
	height: 30px;
	line-height: 30px;
	position: absolute;
	top:0;
	left:0;
	color: white;
	transform-origin: 0 100%;
	transform: scaleY(0);
	Transition: all .5s;	
	}
	
.nav-list li a:hover::after {
	transform: scaleY(1);
	background-color:#06F;
	}
	
h1 {
	font-size: 20px;
	padding-top: 18px;
	color: #06F;
	}
	

.bar {
	text-align: right;
	border: 3px solid #06F ;
	width: 100%;
	height: 100px;
	;
	max-width: 960px;
	padding-right: 20px;
	box-sizing: border-box;
	background-image: url(../Images/fox_med.jpg);
	background-repeat: no-repeat;
	background-position: 0px;	
	vertical-align: middle;
	background-color: white;
	top: 0px;
	}
	

#book {
	width: 350px;
	height: auto;
	position: absolute;
	visibility: hidden;
	left:250px;
	top: 350px;
}

.explain {
	margin-top: 15px;
	width: 100%;
	position: relative;
	top: 90px;
	color: white;
	font-size: 14px;
	}
	
.sidebar {
	float: left;
	width: 19%;
	height: 500px;
	background-color: #333;
	margin-left: 2.5%;
	margin-top: 20px;
	
	}
	 
.sidebar_2 {
	float: left;
	width: 15%;
	height: 200px;	
	background-color:#333;
	margin-left: 3%;
	margin-top: 20px;
	margin-bottom: 20px;
	}
	
