@import url('https://fonts.googleapis.com/css?family=Nunito:400,400i,700,700i');

html {
	margin: 0;
	padding: 0;
	background: url('images/bggradient.png') repeat-x #000;
	font-family: 'Nunito', sans-serif;
}
body {
	margin: 0;
	padding: 0;
	background-image: url('images/starfield.png');
	background-size: 1000px;
}
img {
	max-width: 100%;
}
#wrapper {
	width: 1140px;
	max-width: 100%;
	margin: 0 auto;
}
a {
	text-decoration: none;
	color: #6ad2da;
}
#hw-jumpbar{
	margin:10px;
}

/* top */
#header {
	position: relative;
	overflow: hidden;
}
#topspace {
	width: 728px;
	height: 90px;
	margin: 20px auto;
	background: #ccc;
}
#headerbg {
	z-index: 1;
	position: absolute;
	width: 1200px;
	left: calc((100% - 1200px) / 2);
}
#headerwrap {
	position: relative;
	z-index: 10;
	max-width: 1020px;
	margin: 0 auto;
	height: 300px;
}
#logo {
	max-width: 280px;
	display: block;
	margin-left: 10px;
}
#menu {
	position: absolute;
	bottom: 60px;
	left: 220px;
}
#menu a {
	height: 45px;
	display: inline-block;
	margin: 0 5px;
}
#menu a:hover {
	opacity: .7;
}
#about {
	width: 109px;
	background: url('images/about.png');
}
#archive {
	width: 127px;
	background: url('images/archive.png');
}
#cast {
	width: 89px;
	background: url('images/cast.png');
}
#links {
	width: 93px;
	background: url('images/links.png');
}
#extras {
	width: 117px;
	background: url('images/extras.png');
}
#menuclick {
	display: none;
}
@media screen and (max-width: 850px) {
	#logo {
		max-width: 250px;
	}
	#menu {
		width: 605px;
		position: static;
		margin: 0 auto;
	}
}
@media screen and (max-width: 760px) {
	#topspace {
		width: 320px;
		height: 50px;
		overflow: hidden;
		margin: 10px auto;
	}
	#logo {
		max-width: 300px;
		margin: 0 auto;
	}
	#headerbg {
		display: none;
	}
	#menu {
		padding-top: 10px;
	}
}
@media screen and (max-width: 630px) {
	#headerwrap {
		height: auto;
	}
	#menuclick {
		display: block;
		padding: 10px 0;
		text-align: center;
		font-weight: bold;
		font-size: 2em;
		color: #6ad2da;
	}
	#menu {
		display: none;
		width: 100%;
		padding: 0;
	}
	#menu a {
		display: block;
		margin: 10px auto;
	}
}

/* middle */
#middle {
	display: flex;
	margin-top: 20px;
	align-items: flex-start;
	padding: 0px 10px;
	box-sizing: border-box;
}
#middleright {
	order: 1;
	width: 160px;
	padding: 10px;
	background: #000;
	flex-grow: 0;
	margin-left: 10px;
}
#rightspace {
	width: 160px;
	height: 600px;
	background: #ccc;
}
#middleleft {
	width: 100%;
}
.socialwrap a {
	width: 120px;
	box-sizing: border-box;
	border: 4px solid #fff;
	border-radius: 20px;
	background-color: #6ad2da;
	height: 120px;
	margin: 20px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #000;
	font-size: 4.5em;
}
#comicwrap {
	padding: 50px 20px;
	background: #fff;
}
#navtop {
	margin-top: -65px;
}
#navbottom {
	margin-top: -20px;
}
.cc-nav {
	max-width: 600px;
	display: flex;
	vertical-align: top;
	margin: 0 auto;
	justify-content: space-around;
}
.cc-nav a {
	display: block;
	flex-grow: 0;
}
.cc-nav a:hover {
	opacity: .7;
}
.cc-first,
.cc-last {
	width: 118px;
	height: 108px;
}
.cc-prev,
.cc-next {
	width: 80px;
	height: 66px;
}
.cc-first {
	background: url('images/first.png');
}
.cc-prev {
	background: url('images/prev.png');
}
.cc-next {
	background: url('images/next.png');
}
.cc-last {
	background: url('images/last.png');
}
@media screen and (max-width: 920px) {
	#middle {
		flex-wrap: wrap;
		padding: 0;
	}
	#middleleft {
		background: #fff;
	}
	#hw-jumpbar{
		margin:0;
	}
	#comicwrap {
		background: none;
		padding: 0;
	}
	#navtop,
	#navbottom {
		margin: auto;
	}
	.cc-nav {
		padding: 10px 0;
	}
	.cc-first,
	.cc-last {
		width: 88px;
		height: 81px;
		background-size: 100%;
	}
	#middleright {
		width: 100%;
		margin: 0;
		background: none;
		padding: 20px 0;
	}
	#rightspace {
		display: none;
	}
	#social {
		display: flex;
		justify-content: space-around;
	}
	#social a {
		margin: 0 10px;
	}
	.socialwrap a {
		margin: 0;
	}
	#hiveworks {
		width: 110px;
	}
}
@media screen and (max-width: 570px) {
	.socialwrap a {
		font-size: 3.5em;
		width: 100px;
		height: 100px;
	}
	#hiveworks {
		width: 90px;
	}
}
@media screen and (max-width: 490px) {
	#social a {
		margin: 0 5px;
	}
	.socialwrap a {
		font-size: 2.8em;
		width: 75px;
		height: 75px;
	}
	#hiveworks {
		width: 70px;
	}
}

/* bottom */
#bottom {
	margin: 10px 10px 0 10px;
	padding: 20px;
	background: #fff;
	display: flex;
}
#bottomright {
	order: 1;
	width: 300px;
	flex-grow: 0;
	margin-left: 20px;
}
#bottomleft {
	width: 100%;
}
#bottomspace {
	width: 300px;
	height: 250px;
	background: #ccc;
}
.cc-newsheader {
	font-weight: bold;
	font-size: 2em;
}
@media screen and (max-width: 920px) {
	#bottom {
		margin: 0;
	}
}
@media screen and (max-width: 700px) {
	#bottom {
		display: block;
	}
	#bottomright {
		margin: 0 auto 20px auto;
	}
}

#footer {
	text-align: center;
	padding: 20px;
}
