/* fonts */
@font-face {
  font-family: "Metropolis";
  src: url("fonts/Metropolis-Black.eot?#iefix") format("embedded-opentype"),
    url("fonts/Metropolis-Black.otf") format("opentype"),
    url("fonts/Metropolis-Black.woff") format("woff"),
    url("fonts/Metropolis-Black.ttf") format("truetype"),
    url("fonts/Metropolis-Black.svg#Metropolis-Black") format("svg");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Metropolis";
  src: url("fonts/Metropolis-BlackItalic.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/Metropolis-BlackItalic.otf") format("opentype"),
    url("fonts/Metropolis-BlackItalic.woff") format("woff"),
    url("fonts/Metropolis-BlackItalic.ttf") format("truetype"),
    url("fonts/Metropolis-BlackItalic.svg#Metropolis-BlackItalic") format("svg");
  font-weight: 900;
  font-style: italic;
}

@font-face {
  font-family: "Metropolis";
  src: url("fonts/Metropolis-Bold.eot?#iefix") format("embedded-opentype"),
    url("fonts/Metropolis-Bold.otf") format("opentype"),
    url("fonts/Metropolis-Bold.woff") format("woff"),
    url("fonts/Metropolis-Bold.ttf") format("truetype"),
    url("fonts/Metropolis-Bold.svg#Metropolis-Bold") format("svg");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Metropolis";
  src: url("fonts/Metropolis-BoldItalic.eot?#iefix") format("embedded-opentype"),
    url("fonts/Metropolis-BoldItalic.otf") format("opentype"),
    url("fonts/Metropolis-BoldItalic.woff") format("woff"),
    url("fonts/Metropolis-BoldItalic.ttf") format("truetype"),
    url("fonts/Metropolis-BoldItalic.svg#Metropolis-BoldItalic") format("svg");
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: "Metropolis";
  src: url("fonts/Metropolis-Regular.eot?#iefix") format("embedded-opentype"),
    url("fonts/Metropolis-Regular.otf") format("opentype"),
    url("fonts/Metropolis-Regular.woff") format("woff"),
    url("fonts/Metropolis-Regular.ttf") format("truetype"),
    url("fonts/Metropolis-Regular.svg#Metropolis-Regular") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Metropolis";
  src: url("fonts/Metropolis-RegularItalic.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/Metropolis-RegularItalic.otf") format("opentype"),
    url("fonts/Metropolis-RegularItalic.woff") format("woff"),
    url("fonts/Metropolis-RegularItalic.ttf") format("truetype"),
    url("fonts/Metropolis-RegularItalic.svg#Metropolis-RegularItalic")
      format("svg");
  font-weight: normal;
  font-style: italic;
}

body,
html {
  padding: 0;
  margin: 0;
}
body {
  background: url("images/combined.png") top center repeat-x #060e18;
  font-family: "Metropolis", sans-serif;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #4c758f;
}

#wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
#header {
  display: flex;
  padding: 20px;
  box-sizing: border-box;
  align-items: center;
}
#header-right {
  min-width: 728px;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#top-space {
  width: 728px;
  height: 90px;
  background: #ccc;
  flex-shrink: 0;
  flex-grow: 0;
}
#menuclick {
  display: none;
}
#menu {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
#menu a {
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
  display: flex;
  align-items: center;
}
#menu a:hover {
  opacity: 0.7;
}
#menu a:before {
  display: inline-block;
  margin-right: 5px;
}
#home:before {
  content: url("images/home.png");
}
#characters:before {
  content: url("images/characters.png");
}
#archive:before {
  content: url("images/archive.png");
}
#store:before {
  content: url("images/store.png");
}
#about:before {
  content: url("images/about.png");
}
@media screen and (max-width: 1000px) {
  #header {
    justify-content: center;
    flex-wrap: wrap;
  }
  #logo {
    max-width: 400px;
  }
  #header-right {
    margin-left: 0;
    margin-top: 20px;
  }
}
@media screen and (max-width: 800px) {
  #header {
    padding: 0;
  }
  #logo {
    padding: 20px;
  }
  #header-right {
    min-width: auto;
    display: block;
    text-align: center;
    width: 100%;
    margin: 0;
  }
  #top-space {
    width: 300px;
    height: auto;
    margin: 0 auto;
  }
  #menuclick {
    display: flex;
    font-size: 1.5em;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
    color: #fff;
    align-items: center;
    justify-content: center;
  }
  #menuclick:before {
    display: inline-block;
    margin-right: 5px;
    content: url("images/home.png");
  }
  #menu {
    display: block;
    display: none;
    text-align: center;
    padding: 10px 0;
    margin: 0;
    background: #060e18;
  }
  #menu a:before {
    display: none;
  }
  #menu a {
    display: block;
    padding: 10px;
  }
}

#middle {
  display: flex;
  padding: 0 20px;
  justify-content: space-around;
}
#middle-left {
  width: 100%;
}
#middle-right {
  order: 1;
  margin-left: 20px;
  width: 180px;
  flex-grow: 0;
  flex-shrink: 0;
}
#right-space {
  width: 160px;
  height: 600px;
  background: #ccc;
  margin: 0 auto;
}
#hiveworks {
  padding: 10px 0;
  display: block;
}
#patreon-area {
  text-align: center;
}
.cc-nav {
  display: flex;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 0px 10px;
}
.cc-nav a:hover {
  opacity: 0.7;
}
@media screen and (max-width: 890px) {
  #patreon-top,
  #patreon-bottom {
    display: none;
  }
}
@media screen and (max-width: 800px) {
  #social.social-top {
    display: none;
  }
  #middle {
    padding: 0;
    flex-wrap: wrap;
  }
  #middle-right {
    width: 100%;
    margin: 0;
    padding: 0 20px;
    box-sizing: border-box;
  }
  #flex-right {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0px;
    padding-top: 20px;
  }
  #patreon-area {
    max-width: 180px;
  }
  #hiveworks {
    max-width: 390px;
  }
  #right-space {
    width: 300px;
    height: 250px;
    flex-shrink: 0;
    flex-grow: 0;
  }
}
@media screen and (max-width: 550px) {
  #flex-right {
    display: block;
  }
  #patreon-area,
  #hiveworks {
    margin: 0 auto;
  }
}

#bottom {
  padding: 20px;
  display: flex;
}
#bottom-left {
  width: 700px;
}
#bottom-right {
  width: 300px;
  flex-grow: 0;
  flex-shrink: 0;
  order: 1;
  margin-left: 20px;
}
#ibar {
  max-width: 700px;
  margin: 0 auto;
}
#news-area {
  border: 2px solid #b4d5f0;
  border-radius: 20px 20px 0 0;
  margin-top: 20px;
}
#bottom .cc-newsheader,
#bottom .cc-publishtime,
#bottom .cc-newsbody,
#bottom .cc-commentlink,
#bottom .cc-blogtitle,
#bottom .cc-blog-publishtime,
#bottom .cc-blogcontent,
#bottom .cc-tagline {
  margin: 0 30px;
  color: #fff;
}
#bottom .cc-newsheader,
#bottom .cc-blogtitle {
  font-weight: bold;
  font-size: 2em;
  margin-top: 30px;
  border-bottom: 1px solid #fff;
  padding-bottom: 15px;
}
.cc-publishtime,
.cc-blog-publishtime {
  text-align: center;
  padding: 15px 0;
}
.cc-newsbody,
.cc-blogcontent {
  line-height: 1.5em;
}
.cc-commentheader {
  padding: 30px;
  background: #fff;
  font-weight: bold;
  font-size: 2em;
}
#bottom-space {
  width: 300px;
  height: 250px;
  background: #ccc;
}
#social {
  background: url("images/socialbubbles.png") no-repeat;
  background-size: 100%;
  width: 180px;
  height: 90px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#social a {
  color: #fff;
  text-decoration: none;
  font-size: 2.5em;
}
#rss {
  margin-right: 43px;
}
#social a:hover {
  opacity: 0.7;
}
#social.social-bottom {
  display: none;
}
@media screen and (max-width: 800px) {
  #bottom {
    display: block;
    padding: 0;
  }
  #bottom-right {
    margin: 0 auto;
    padding-bottom: 20px;
  }
  #bottom-space {
    display: none;
  }
  #social.social-bottom {
    display: flex;
  }
  #social {
    width: 300px;
    height: 150px;
  }
  #social a {
    font-size: 4em;
  }
  #social a#rss {
    margin-right: 73px;
  }
  #patreon {
    margin-bottom: 20px;
    display: block;
  }
  .cc-nav {
    margin: 10px auto 10px auto;
  }
}

#privacy {
  text-align: center;
  padding: 20px;
}
#privacy a {
  text-decoration: none;
  color: #fff;
}
#textarea {
  background: #fff;
  color: #000;
  padding: 30px;
}

.cast-box {
  display: flex;
  padding: 10px 0;
}
.cast-left {
  margin-right: 20px;
  width: 150px;
  flex-shrink: 0;
  flex-grow: 0;
}
.cast-right {
  width: 100%;
}
@media screen and (max-width: 500px) {
  .cast-box {
    display: block;
  }
  .cast-left,
  .cast-right {
    width: 100%;
    margin: 0;
    text-align: center;
  }
  .cast-left {
    margin-bottom: 20px;
  }
}

.cc-tagline {
  padding-bottom: 20px;
}
