@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,500;1,400;1,500&display=swap");

body,
html {
  margin: 0;
  padding: 0;
}
html {
  background: url("images/bg-gradient.png") repeat-x #13070c;
}
body {
  background: url("images/bgtile.png");
  font-family: "Rubik", sans-serif;
  letter-spacing: 0.03em;
}
img {
  max-width: 100%;
}
a {
  color: #d21a76;
  text-decoration: none;
}

#header,
#wrapper {
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box;
}
#header {
  padding: 20px;
  display: flex;
  align-items: center;
  padding-bottom: 0;
}
#logo {
  display: block;
  max-width: 270px;
  margin: 0 auto;
}
#wrapper {
  border: 20px solid #d21a76;
  background: #13070c;
  padding: 0 10px;
}
#top-space {
  width: 728px;
  height: 90px;
  flex-grow: 0;
  flex-shrink: 0;
  background: #ccc;
  margin-left: 40px;
}
@media screen and (max-width: 1150px) {
  #top-space {
    margin-left: 20px;
  }
  #header {
    padding-bottom: 20px;
  }
  #wrapper {
    border: none;
    padding: 0;
  }
}
@media screen and (max-width: 1000px) {
  #top-space {
    margin: 0 auto;
  }
  #header {
    display: block;
  }
  #logo {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 800px) {
  #top-space {
    width: 300px;
    height: 50px;
    overflow: hidden;
  }
}

#content-body {
  color: #fff;
}
#menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#menu a {
  color: #fff;
  padding: 20px;
}
#menu a:hover {
  background: #7b0f45;
}
#menu-click {
  display: none;
}
#home-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
#home-banner img {
  max-width: none;
  min-height: 150px;
  display: cover;
}
#banner-title {
  position: absolute;
  bottom: 0;
  right: 0;
  text-transform: uppercase;
  font-size: 0.8em;
  background: #13070c;
  padding: 7px 20px;
  color: #fff;
  font-weight: bold;
}
@media screen and (max-width: 1050px) {
  #menu-click {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 1.5em;
    padding: 20px;
  }
  #menu {
    display: block;
    display: none;
  }
  #menu a {
    display: block;
    text-align: center;
  }
}

#content-body {
  padding: 0 30px;
}
.home-header {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.home-header:after {
  background: #d21a76;
  height: 2px;
  flex: 1;
  content: "";
  margin-left: 10px;
}
#middle {
  display: flex;
  justify-content: center;
}
#middle-right {
  order: 1;
  width: 160px;
  flex-grow: 0;
  flex-shrink: 0;
  margin-left: 30px;
  padding: 20px 0;
}
#middle-left {
  width: 100%;
}
#right-space {
  width: 160px;
  height: 600px;
  background: #ccc;
  margin-bottom: 20px;
}
.home-tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px 0;
}
.home-tiles a{
  color:#fff;
}
.home-single-tile {
  width: 32.6%;
  margin-bottom: 20px;
}
.home-tile-title {
  font-weight: bold;
  margin-bottom: 3px;
}
.home-tile-img {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%;
  height: 200px;
}
.home-tile-img img {
  flex-shrink: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}
.home-tile-info {
  padding-top: 5px;
}
.home-tile-author,
.home-tile-update-time {
  font-size: 0.7em;
}
.home-tile-update-time {
  margin-top: 5px;
}
.home-more-button {
  background-color: #d21a76;
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 0.7em;
  font-weight: bold;
  margin: 30px auto 30px auto;
  display: block;
  color: #fff;
}
.home-section {
  margin-top: 30px;
}

@media screen and (max-width: 750px) {
  #middle {
    flex-wrap: wrap;
  }
  #middle-right {
    margin: 0 auto;
  }
  #right-space {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  .home-single-tile {
    width: 100%;
    position: relative;
  }
  .home-tile-info {
    position: absolute;
    bottom: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    box-sizing: border-box;
    font-size: 0.8em;
  }
  #content-body {
    padding: 0 20px;
  }
}

#footer-ads {
  max-width: 1000px;
  box-sizing: border-box;
  margin: 30px auto 30px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
#footer-space {
  width: 300px;
  height: 250px;
  background: #ccc;
  flex-grow: 0;
  flex-shrink: 0;
  margin-right: 30px;
}
#footer-sharkrobot img {
  vertical-align: bottom;
}
#footer {
  padding: 30px 0;
}
#footer a {
  color: #fff;
  display: inline-block;
  margin-right: 20px;
  margin-bottom: 5px;
}
#footer a:hover {
  color: #d21a76;
}
#footer-copyright {
  font-size: 0.7em;
  padding: 30px 0 0 0;
}
@media screen and (max-width: 1000px) {
  #footer-space {
    display: none;
  }
}

/* reader */
#cc-comicbody{
  text-align:center;
}
.cc-nav {
  max-width: 600px;
  margin: 10px auto 10px auto;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.cc-nav i {
  font-size: 5em;
}
.cc-nav a:hover {
  color: #fff;
}
.cc-nav div {
  opacity: 0.5;
}
.cc-navaux,
.cc-cast {
  width: 100px;
  flex-shrink: 0;
  text-align: center;
  background: #d21a76;
  color: #fff;
  padding: 5px 0;
  border-radius: 20px;
  font-size: 0.7em;
  display: inline-block;
}
a.cc-navaux:hover,
a.cc-cast:hover {
  color: #fff;
}
#nav-mobile {
  display: none;
}

@media screen and (max-width: 600px) {
  .cc-nav .cc-navaux,
  .cc-nav .cc-cast {
    display: none;
  }
  #nav-mobile {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
  }
  .cc-cast {
    margin-left: 30px;
  }
}

#hw-jumpbar {
  margin: 30px 0;
  background: #d21a76;
}
.hw-jump-mid {
  background: #7b0f45;
}
#bottom {
  display: flex;
}
#bottom-right {
  order: 1;
  margin-left: 30px;
}
#bottom-space {
  width: 300px;
  height: 250px;
  background: #ccc;
}
#bottom-left {
  padding: 30px;
  box-sizing: border-box;
  background: #fff;
  color: #000;
  width: 100%;
}
@media screen and (max-width: 750px) {
  #bottom {
    flex-wrap: wrap;
  }
  #bottom-right {
    order: 0;
    margin: 0 auto 30px auto;
    width: 300px;
  }
}

.half-line {
  width: 50%;
  height: 2px;
  background: #d21a76;
}
