@import url("https://fonts.googleapis.com/css?family=Muli:400,400i,700,700i&display=swap");

html,
body {
  margin: 0;
  padding: 0;
}
html {
  background: url("/images/bg.png") repeat-x #5c5b7f;
  height: 100%;
}
body {
  background: url("/images/stardust.png");
  font-family: "Muli", sans-serif;
  position: relative;
  min-height: 100%;
  color: #58595b;
}

img {
  max-width: 100%;
  height: auto;
}
a {
  color: #8987be;
  text-decoration: none;
}

#planet {
  width: 578px;
  left: calc(50% - 289px);
  max-width: 90%;
  position: absolute;
  z-index: 5;
}
#mountain {
  width: 1395px;
  max-width: 100%;
  left: calc(50% - 697px);
  bottom: 0;
  position: absolute;
  z-index: 5;
}
#mountain img {
  vertical-align: bottom;
}
@media screen and (max-width: 1395px) {
  #mountain {
    left: 0;
  }
}
@media screen and (max-width: 642px) {
  #planet {
    left: 5%;
  }
}

#wrapper {
  z-index: 10;
  width: 1050px;
  margin: 0 auto;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px;
  position: relative;
  min-height: 100%;
}
#header {
  margin-top: 110px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#top-space {
  width: 728px;
  background: #ccc;
  height: 90px;
  flex-shrink: 0;
  flex-grow: 0;
  margin-left: 10px;
}
#menu {
  margin-top: 20px;
  text-align: center;
  height: 30px;
}
#menu a {
  display: inline-block;
  margin: 0 25px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  box-sizing: border-box;
  padding-bottom: 5px;
}
#menu a:hover {
  border-bottom: 1px solid #908228;
}
#menuclick {
  display: none;
}
#logo{
  display:block;
  width:100%;
  background-image:url('/images/logo.png');
  background-size:100%;
}
#logo:before{
  padding-bottom:calc(172/650 * 100%);
  content:'';
  display:block;
}
#logo:hover{
  background-position:0 -100%;
}

@media screen and (max-width: 1000px) {
  #header {
    display: block;
  }
  #logo {
    margin: 0 auto;
    max-width:400px;
    margin-bottom: 20px;
    display: block;
  }
  #top-space {
    margin: 0 auto;
  }
  #header {
    margin-top: 20px;
  }
}
@media screen and (max-width: 850px) {
  #wrapper {
    padding: 0;
  }
  #header {
    padding-top: 10px;
    margin: 0;
  }
}
@media screen and (max-width: 760px) {
  #top-space {
    width: 300px;
    height: 50px;
    overflow: hidden;
  }
  #menuclick {
    display: block;
    text-align: center;
    padding: 20px;
    font-size: 1.8em;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
  }
  #menu {
    display: none;
    height: auto;
    margin-top: 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 0;
  }
  #menu a {
    display: block;
    text-align: center;
    padding: 10px 0;
    font-size: 1.2em;
    height: auto;
  }
  #menu a:hover {
    border-bottom: none;
  }
}

#middle {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
#middle-left {
  width: 100%;
}
#middle-right {
  order: 1;
  width: 160px;
  flex-shrink: 0;
  flex-grow: 0;
  margin-left: 20px;
}
#right-space {
  width: 160px;
  height: 600px;
  background: #ccc;
}
.hiveworks {
  background: url("/images/hiveworks.png");
  background-size: 100%;
  width: 100%;
  display: block;
  margin-top: 10px;
  background-repeat: no-repeat;
}
.hiveworks:before {
  content: "";
  padding-bottom: 100%;
  display: block;
}
.hiveworks:hover {
  background-position: 0 100%;
}
.patreon {
  background: url("/images/patreon.png");
  background-size: 100%;
  width: 100%;
  display: block;
  margin-top: 10px;
  background-repeat: no-repeat;
}
.patreon:before {
  content: "";
  padding-bottom: 100%;
  display: block;
}
.patreon:hover {
  background-position: 0 100%;
}
.cc-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#bottom-nav .cc-nav {
  background: #20212c;
}
.cc-nav a,
.cc-nav div {
  font-weight: bold;
  font-size: 1.2em;
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
  border-bottom: 1px solid transparent;
}
.cc-nav div {
  opacity: 0.7;
}
.cc-nav a:hover {
  border-bottom: 1px solid #c8b327;
}
.cc-nav:before,
.cc-nav:after {
  content: url("/images/gradient.png");
  height: 60px;
  width: 21px;
}
#cc-comicbody img {
  vertical-align: bottom;
}
#top-nav .cc-navaux{
  display:none;
}
@media screen and (max-width: 850px) {
  #middle {
    flex-wrap: wrap;
  }
  #middle-right {
    display: none;
  }
}
@media screen and (max-width: 500px) {
  .cc-navaux {
    display: none;
  }
}

#hw-jumpbar {
  box-sizing: border-box;
  max-width: 1050px;
  margin: 20px auto;
}

#bottom {
  display: flex;
  justify-content: space-between;
}
#bottom-right {
  width: 300px;
  margin-left: 20px;
  flex-shrink: 0;
  flex-grow: 0;
  order: 1;
  font-weight: bold;
  color: #fff;
  text-align: center;
}
#bottom-left,
#text-area {
  width: 100%;
  background: #fff;
  box-sizing: border-box;
  padding: 30px;
  font-size: 1.1em;
  line-height: 1.5em;
}
#bottom-space {
  width: 300px;
  height: 250px;
  background: #ccc;
}
#bottom-right select {
  width: 80%;
  box-sizing: border-box;
  margin: 0 auto;
  display: block;
  padding: 5px;
  border: none;
  margin-bottom: 10px;
}
#social-head {
  font-size: 1.5em;
  margin-top: 20px;
}
#social-flex {
  display: flex;
  justify-content: space-around;
  max-width: 250px;
  margin: 0 auto;
}
#social-flex a {
  color: #fff;
  font-size: 6em;
}
#social-flex a:hover {
  color: #8987be;
}
.cc-newsheader {
  font-size: 2em;
  padding: 20px 0;
  border-bottom: 1px solid #58595b;
  font-weight: bold;
}
.cc-publishtime {
  text-align: right;
  font-size: 0.9em;
  font-style: italic;
}
.mobile {
  display: none;
}
@media screen and (max-width: 900px) {
  #bottom {
    padding: 0 10px;
  }
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }
  .hiveworks {
    max-width: 250px;
    margin: 0 auto;
    margin-top: 15px;
  }
  #bottom-social{
    display:flex;
    align-items:center;
  }
  #bottom-social a{
    margin:10px;
  }
}
@media screen and (max-width: 770px) {
  #bottom {
    padding: 0;
    display: block;
  }
  #bottom-right {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0 20px;
    justify-content: space-around;
  }
  #bottom-left {
    margin-top: 20px;
  }
  #bottom-space {
    flex-grow: 0;
    flex-shrink: 0;
  }
  .hiveworks {
    margin: 0;
  }
  #social,
  #page-jump {
    width: 45%;
    margin-top: 20px;
  }
}
@media screen and (max-width: 650px) {
  #bottom-right {
    display: block;
  }
  .hiveworks,
  #bottom-space {
    margin: 0 auto;
  }
  .hiveworks,
  #social,
  #page-jump {
    margin-top: 15px;
  }
  #social,
  #page-jump {
    margin: 0 auto;
    width: 90%;
  }
}

#privacy {
  padding: 20px;
  text-align: center;
  padding-bottom: 40px;
}
#privacy a {
  color: #fff;
  text-decoration: none;
}
.cc-storyline-header {
  font-size: 1.2em;
}
.cc-storyline-contain hr {
  display: none;
}
.cc-storyline-header {
  border: none;
}
.cc-storyline-pagethumb {
  text-align: center;
  max-width: 120px;
}
.cast-box {
  display: flex;
}
.cast-info {
  margin-left: 20px;
}
.cast-img {
  width: 230px;
  flex-grow: 0;
  flex-shrink: 0;
}
.cast-name {
  font-weight: bold;
  font-size: 1.2em;
  padding-top: 0;
  margin-top: 0;
}
@media screen and (max-width: 600px) {
  .cast-box {
    display: block;
  }
  .cast-info {
    margin: 0;
  }
  .cast-img {
    margin: 0 auto;
  }
}

.cc-storyline-thumbwrapper {
  align-items: flex-start;
  justify-content: flex-start;
}
.cc-storyline-pagethumb {
  padding: 0;
  max-width: 80px;
}
#archive-top {
  display: flex;
  justify-content: center;
}
