@import url("https://fonts.googleapis.com/css?family=Lato:400,400i,700,700i|Sorts+Mill+Goudy&display=swap");

body,
html {
  margin: 0;
  padding: 0;
}
html {
  background: url("images/starfield.png") repeat-x #0b2949;
}
body {
  font-family: "Lato", sans-serif;
  color: #58595b;
}
img {
  max-width: 100%;
}
a {
  color: #09223c;
}

#wrapper {
  width: 1150px;
  margin: 0 auto;
  max-width: 100%;
  padding: 20px;
  box-sizing: border-box;
}
#header {
  display: flex;
  align-items: center;
}
#top-wrap {
  width: 786px;
  flex-shrink: 0;
  background-image: url("images/topwrap.png");
  background-size: 100%;
  height: 92px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#logo {
  display: block;
}
#top-space {
  width: 728px;
  height: 90px;
  background: #ccc;
}
@media screen and (max-width: 1000px) {
  #header {
    display: block;
  }
  #top-wrap {
    margin: 0 auto;
  }
  #logo {
    text-align: center;
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 900px) {
  #wrapper {
    padding: 0;
  }
  #header {
    padding: 10px;
  }
}
@media screen and (max-width: 830px) {
  #top-wrap {
    width: 336px;
    height: 52px;
    background-image: url("images/smalltop.png");
  }
  #top-space {
    width: 300px;
    height: 50px;
  }
}
@media screen and (max-width: 380px) {
  #top-wrap {
    width: 300px;
    height: 50px;
    background: none;
  }
}

#menuclick {
  display: none;
}
#menuclick,
#menu a {
  color: #fff;
  font-family: "Sorts Mill Goudy", serif;
  text-decoration: none;
}
#menu {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  font-size: 1.2em;
}
#top-social {
  display: flex;
  justify-content: space-evenly;
}
#top-social a {
  margin: 0 5px;
  display: inline-block;
}
@media screen and (max-width: 750px) {
  #menu {
    display: block;
    display: none;
    padding: 0;
  }
  #menu a {
    display: block;
    padding: 10px;
    text-align: center;
  }
  #menuclick {
    display: block;
    padding: 10px;
    font-size: 1.5em;
    text-align: center;
  }
  #top-social {
    max-width: 200px;
    margin: 0 auto;
  }
}

#middle {
  display: flex;
  justify-content: space-evenly;
}
#middle-right {
  width: 162px;
  flex-grow: 0;
  flex-shrink: 0;
  order: 1;
  margin-left: 20px;
}
#middle-left {
  width: 100%;
}
#right-wrap {
  width: 162px;
  height: 658px;
  background-image: url("images/rightwrap.png");
  display: flex;
  align-items: center;
  justify-content: center;
}
#right-space {
  width: 160px;
  height: 600px;
  background: #ccc;
}
#right-links a {
  width: 162px;
  background-size: 100%;
  display: block;
  margin: 10px 0;
}
#right-links a:hover {
  background-position: 0 100%;
}
#right-links a:before {
  content: "";
  display: block;
  padding-bottom: calc(460 / 452 * 100%);
}
#patreon {
  background-image: url("images/patreon.png");
}
#store {
  background-image: url("images/store.png");
}
#social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  max-width: 130px;
  margin: 0 auto;
}
#social a {
  font-size: 3em;
  color: #fff;
  width: 48%;
  text-align: center;
}
.cc-nav {
  display: flex;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}
.cc-nav a,
.cc-nav div {
  background-size: 100%;
  margin: 10px;
  width: 18%;
}
.cc-nav a:hover {
  background-position: 0 100%;
}
.cc-nav a:before,
.cc-nav div:before {
  content: "";
  display: block;
  padding-bottom: 100%;
}
.cc-nav a.cc-navaux:before {
  padding-bottom: calc(176 / 450 * 100%);
}
.cc-first,
.cc-first-dis {
  background-image: url("images/first.png");
}
.cc-prev,
.cc-prev-dis {
  background-image: url("images/prev.png");
}
.cc-nav a.cc-navaux {
  background-image: url("images/archive.png");
  width: 28%;
}
.cc-next,
.cc-next-dis {
  background-image: url("images/next.png");
}
.cc-last,
.cc-last-dis {
  background-image: url("images/last.png");
}
.cc-nav div {
  opacity: 0.5;
}
#cc-comicbody {
  text-align: center;
}
#cc-comicbody img {
  vertical-align: bottom;
}
#hw-jumpbar {
  margin: 10px 0;
}
@media screen and (max-width: 900px) {
  #middle {
    flex-wrap: wrap;
  }
  #middle-right {
    width: 100%;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  #right-wrap {
    width: 302px;
    height: 317px;
    background-image: url("images/bottomwrap.png");
    margin: 0 auto;
    order: 2;
  }
  #right-space {
    width: 300px;
    height: 250px;
  }
  #social {
    display: none;
  }
  #right-links {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    order: 0;
  }
}
@media screen and (max-width: 550px) {
  .cc-nav a.cc-navaux {
    display: none;
  }
  .cc-nav a {
    width: 100%;
    margin: 0 10px;
  }
}

#bottom {
  display: flex;
}
#bottom-left {
  width: 302px;
  flex-grow: 0;
  flex-shrink: 0;
  margin-right: 20px;
  text-align: center;
}
#bottom-right {
  width: 100%;
}
#bottom-right,
#text-area {
  padding: 30px;
  background: #fff;
  box-sizing: border-box;
}
#bottom-wrap {
  width: 302px;
  height: 317px;
  background-image: url("images/bottomwrap.png");
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
#bottom-space {
  width: 300px;
  background: #ccc;
  height: 250px;
}
#circle-buttons {
  display: flex;
}
#circle-buttons a {
  display: block;
  width: 100%;
  background-size: 100%;
}
#circle-buttons a:before {
  content: "";
  display: block;
  padding-bottom: calc(460 / 380 * 100%);
}
#kofi:hover {
  background-position: 0 100%;
}
#prequel {
  background-image: url("images/prequel.png");
}
#kofi {
  background-image: url("images/kofi.png");
}
#hiveworks {
  width: 100%;
  display: block;
  background-size: 100%;
  background-image: url("images/hiveworks.png");
}
#hiveworks:before {
  content: "";
  display: block;
  padding-bottom: 100%;
}
#hiveworks:hover {
  background-position: 0 100%;
}
#twc {
  margin: 10px 0;
}
#divider-buttons a {
  width: 100%;
  display: block;
  background-size: 100%;
  margin: 10px 0;
}
#divider-buttons a:before {
  content: "";
  display: block;
  padding-bottom: calc(86 / 400 * 100%);
}
#divider-buttons a:hover {
  background-position: 0 100%;
}
#gumroad {
  background-image: url("images/gumroad.png");
}
#newsletter {
  background-image: url("images/newsletter.png");
}
#con-schedule {
  font-family: "Sorts Mill Goudy", serif;
  color: #fff;
}
.cc-newsheader {
  font-size: 1.5em;
}
.cc-publishtime {
  font-size: 0.9em;
}

@media screen and (max-width: 900px) {
  #bottom {
    padding: 10px;
  }
}
@media screen and (max-width: 750px) {
  #bottom {
    flex-wrap: wrap;
    padding: 0;
  }
  #bottom-left {
    order: 1;
    margin: 0 auto;
  }
  #bottom-wrap {
    display: none;
  }
}
#textarea {
  background: #fff;
  padding: 30px;
}

.cc-storyline-thumb {
  width: 120px;
}

.cc-storyline-header{
  border:none;
}
.cc-storyline-contain{
  margin:0 !important;
}
.cc-storyline-contain a{
  text-decoration:none;
}
.cc-storyline-pagetitles{
  margin-left:20px;
}

.about-box{
  display:flex;
}
.about-box div{
  flex: 1 1 0px;
}
.about-right{
  margin-left:20px;
}
.cast-box{
  display:flex;
}
.cast-left{
  margin-right:20px;
  max-width:200px;
}
.cast-right{
  width:100%;
}
@media screen and (max-width:600px){
  .about-box{
    flex-wrap:wrap;
  }
  .about-box div{
    width:100%;
    flex: 0 1 auto;
  }
  .about-right{
    margin:0;
  }
}
@media screen and (max-width:500px){
  .cast-box{
    flex-wrap:wrap;
  }
  .cast-left{
    margin:0;
    max-width:none;
  }
}
#privacy {
  text-align: center;
  padding: 20px;
}
#privacy a {
  text-decoration: none;
  color: #fff;
}
