html {
	width: 100%;
	height: 100%;
	margin: 0;
}

body {
	width: 100%;
	height: 100%;
	margin: 0;
	background: linear-gradient(to bottom right, #97c, #269) center top no-repeat;
	//background: url(img/elephan.jpg) center top no-repeat;
	//background: url(https://i.loli.net/2019/03/31/5ca0857fab712.jpg) center top no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

.header {
	height: 60px;
	width: 100%;
	top: 0;
	background: linear-gradient(rgba(50, 50, 50, .3), rgba(50, 50, 50, 0));
	position: fixed;
	z-index: 1;
}

.logo {
	width: 60px;
	height: 60px;
	padding-left: 6vw;
	float: left;
}

.logo-svg {
	margin: 10px;
}

.nav {
	float: right;
	padding-right: 8vw;
	//width: 40vw;
}

.nav button {
	color: #ddd;
	background: rgba(30,30,30, .1);
	width: 80px;
	height: 60px;
	line-height: 60px;
	font-size: 18px;
	padding: 0 18px;
	border: 0;
	display: none;
	text-align: center;
	//text-decoration: none;
	//white-space: nowrap;

}

.nav button:hover {
	border-color: transparent;
	background: rgba(30,30,30, .5);
}

.nav button:focus {
	outline: none;
}

.nav button i {}

.menu-svg {
	margin: 18px auto;
}

.nav ul {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav ul li {
	height: 60px;
	width: 80px;
	display: inline-block;
}

.nav ul li a {
	color: #ddd;
	//background: rgba(0, 0, 0, .2);
	height: 60px;
	line-height: 60px;
	font-size: 18px;
	padding: 0 18px;
	display: inline-block;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.nav ul li a:hover {
	border-bottom: 2px solid #ddd;
}

.blank {}

.main {
	//width: 900px;
	//height: 600px;
	max-width: 970px;
	min-height: 58%;
	height: auto;
	margin: 7% auto;
	padding-top: 60px;
	box-sizing: border-box;
	//display: flex;
	display: block;
	//justify-content: center;
	//flex-wrap: wrap;
}

.item {
	//height: 15vw;
	//width: 25vw;
	height: 180px;
	width: 300px;
	margin: 10px 10px;
	border-radius: 5px;
	display: inline-block;
	//flex: 1 0 auto;
	//flex: 1 0 45%;
	position: relative;
	//position: absolute;
	overflow: hidden;
	cursor: pointer;
	transition: 800ms ease all;
	outline: none;
	background-color: rgba(20,20,20, .2);
}

.item:hover .info {
	display: block;
}

.item-title {
	font-size: 2rem;
	font-weight: 700;
	color: #fff;
	width: 67%;
	text-align: center;
	padding: 20px 0;
	margin: 0 auto;
}

.info {
	height: 35%;
	width: 100%;
	position: absolute;
	top: 65%;
	left: 0;
	background-color: rgba(243, 243, 243, 0);
	display: none;
}

.info p {
	//font-size: 1.4rem;
	font-weight: 700;
	color: #fff;
	//width: 67%;
	text-align: center;
	padding: 18px 0;
	margin: 0 auto;
}

.info p a {
	font-size: 18px;
	line-height: 20px;
	font-weight: 700;
	color: #fff;
}

.i1:hover {
	background-color: rgba(46, 95, 185, .85);
}

.i2:hover {
	background-color: rgba(230, 84, 91, .85);
}

.i3:hover {
	background-color: rgba(232, 128, 0, .85);
}

.i4:hover {
	background-color: rgba(150, 123, 210, .85);
}

.i5:hover {
	background-color: rgba(210, 210, 40, .85);
}

.i6:hover {
	background-color: rgba(91, 190, 175, .85);
}

@media screen and (max-width: 970px) {
	.main {
		max-width: 540px;
		margin: 5% auto;
	}

	.item {
		//width: 50%;
		//float: left;
		//margin: 0;
		//border-radius: 0;

		height: 150px;
		width: 250px;
		margin: 8px 8px;
	}
}


@media screen and (max-width: 540px) {
	.main {
		max-width: 435px;
		margin: 3% auto;
	}

	.item {
		//width: 100%;
		//float: left;
		//margin: 0;
		//border-radius: 0;

		height: 120px;
		width: 200px;
		margin: 7px 7px;
	}

	.info p a {
		font-size: 16px;
		line-height: 18px;
	}

	.nav {
		//display: none;
	}

	.nav button {
		display: block;
	}

	.nav ul {
		display: none;
	}

	.nav ul li {
		display: block;
	}

	.nav ul li a {
		display: block;
		background: rgba(30,30,30, .3);
	}

	.nav ul li a:hover {
		color: #248;
		background: rgba(250, 250, 250, .8);
		border: 0;
	}

}

@media screen and (max-width: 435px) {
	.main {
		max-width: 82vw;
		margin: 1% auto;
	}

	.item {
		//width: 100%;
		//float: left;
		//margin: 0;
		//border-radius: 0;

		height: 48vw;
		width: 80vw;
		margin: 6px 6px;
	}

	.info p a {
		font-size: 16px;
		line-height: 18px;
	}
}

.footer {
	bottom: 0;
	left: 0;
	height: 36px;
	width: 100%;
	margin: 5px 0;
	//position: absolute;
	text-align: center;
}

.copyright {
	color: #ddd;
	font-size: 14px;
}

.copyright a {
	color: #ddd;
	text-decoration: none;
}
