* {
	padding: 0;
	margin: 0;
	font-family: arial;
}

body {
	padding: 0;
	margin: 0;
	background: #b3d9ff;
	font-family: arial, sans-serif;
}

#main{
	width: 1200px;
	height: auto;
	background-color: #b3d9ff;
	} 

nav{
	width: 100%;
	height: 80px;
	background-color: #4da6ff;
	opacity: 0.9;
	line-height: 80px;
	}
  
nav ul{
	float:right;
	margin-right: 30px;
}

nav ul li{
	list-style-type: none;
	display: inline-block;
	transition: 0.8s all;
}

nav ul li:hover{
	background-color: #f39d1a;
}

nav ul li a{
	text-decoration: none;
	color: #fff;
	padding: 30px;
}
.logo{
	float:left;
	margin-left:10px;
	margin-top:10px;
	position: absolute;
}

h1{
	margin-top: 15px;
	text-align: center;
	color: blue;
}	

h3{
	margin-top: 15px;
	text-align: center;
	color: blue;
}

.container{
	width: 1280px;
	min-height: 500px;
	/*margin: 70px auto 0;*/
	margin-top: 10px;
	background: #b3d9ff;
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
  overflow: auto;
}
.container .box{
	position: relative;
	width: 200px;
	height: 250px;
	background: #ff0;
	float: left;
	margin: 20px;
	margin: bottom 20px;
	box-sizing: border-box;
	display: inline-block;
	box-shadow: 0 5px 10px rgba(0,0,0,.8);
}

.container .box .imgbox{
	position: relative;
	overflow: hidden;
    /*font-size: 12px;*/
}

.container .box .imgbox img{
	max-width: 100%;
	transition: transform 1s;
}

.container .box:hover .imgbox img{
	transform: scaleY();
}

.container .box .details{
	position: absolute;
	top: 10px;
	left: 10px;
	bottom: 5px;
	right: 10px;
	background: rgba(0,0,0,.8);
	transform: scaleY(0);
	transition: transform .8s;
}

.container .box:hover .details{
	transform: scaleY(1);
	
	
	
}
.container .box .details .content{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 12px;
	text-align: center;
	padding: 5px;
	color: #fff;
}

.container .box .details .content h2{
	margin: 0;
	padding: 0;
	font-size: 20px;
	text-align: center;
	color: #ff0;
}

.container .box .details .content p{
	margin: 5px 0 0;
	padding: 0;
	font-size: 10px;
	text-align: center;
	color: #ff0;
}

footer{
	width:100%;
	height: 25px;
	padding:10px;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	background-color:#fff;
	color: blue;
	letter-spacing: 2px;
	
}





















