/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');
  
  body {
    background-color: #000;
	background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0), rgba(0,0,0,0), rgba(0,0,0,1)), url(images/mainbg.jpg);
	background-position: top;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	font-family: 'Open Sans', sans serif;
	overflow-x: hidden;
  }
  img {
    max-width: 100%;
  }
  a{
    color:#000;
  }
  a:hover { text-decoration: none; }
  #wrapper {
	width: 1200px;
	margin: 0 auto;
  }
  #header {
	  display: flex;
  }
  
  #logo { 
	background: url(images/logo.png) no-repeat center/contain #000; 
	width: 300px; 
	margin-right: 50px;
}
#top-space { background: #000; width: 720px; height: 90px;}
#middle-space { background: #000; width: 160px; height: 600px;}
#logo a, #top-space a, #middle-space a { color: #fff;}

  .site-title{
      text-align:center;
      font-weight:bold;
      display:block;
  }
  a.site-title {
      text-decoration:none;
      color:black;
      font-size:3em;
  }
  #menu {    
    background: url(images/bookbg-top.png) no-repeat;
	width: 1200px;
	height: 158px;
	margin: 0;
  }
  #menu div {
    position: relative;
  }
  #menu a {
    padding: 20px;
    color: #000;
    font-size: 30px;
	font-family: 'Open Sans', sans serif;
	position: relative;
	text-decoration: none;
  }
  #menu a#home { top: 80px; left: 50px; }
  #menu a#archive { top: 80px; left: 95px; }
  #menu a#about { top: 80px; left: 100px; }
  #menu a#cast { top: 80px; left: 140px; }
  #menu a#rss {top: 80px; left: 200px; }
  
  #content { background: url(images/bookbg-bot.png) no-repeat; padding: 30px; min-height: 1344px; }
  
#main { display: flex; }
  #comic-area{
    margin-bottom:30px;
    width: 850px;
  }
  #sidebar { width: 200px; margin-left: 12px; }
  .cc-nav{
      max-width:600px;
      margin: 0 auto;
      padding:20px;
      display:flex;
  }
  .cc-nav a, .cc-nav div{
      margin:0 10px;
      display:block;
      background-size:100%;
      width:100%;
	  text-align: center; 
  }
  .cc-nav a{
    opacity:.7;
  }
  .cc-nav a:before, .cc-nav div:before{
      content:'';
      display:block;
      padding-bottom:calc((4/5) * 100%);
  }
  .cc-nav a:hover{
    opacity:1;
  }
  .cc-first, .cc-first-dis{
      background-image:url('images/first.png');
  }
  .cc-prev, .cc-prev-dis{
      background-image:url('images/prev.png');
  }
  .cc-next,.cc-next-dis{
      background-image:url('images/next.png');
  }
  .cc-last,.cc-last-dis{
      background-image:url('images/last.png');
  }
  .cc-navaux{
      background-image:url('images/rss.png');
  }
  .cc-nav div{
      opacity:.5;
  }
  
  #text-area {
    background: #fff;
    border: 7px solid #19070f;
    border-radius: 5px;
    padding: 1em;
    margin-top: 150px;
  }
  
  #page {
	width: 800px;
	padding: 0 25px;
  }
  .cc-title { margin-top: 0; }
  
  img.cast { float: left; clear: both; margin: 0 10px 10px 0}
  hr { clear: both; }
  
  #cc-comicbody{
    text-align:center;
  }
  
  div.bgobj { position: absolute; z-index: -1; }
  div#bg-note1 { background: url(images/bgnote1.png) no-repeat; width: 300px; height: 298px; top: 500px; left: 100px; transform: rotate(-45deg); }
  div#bg-note2 { background: url(images/bgnote2.png) no-repeat; width: 300px; height: 298px; top: 200px; right: 30px; }
  div#bg-note3 { background: url(images/bgnote3.png) no-repeat; width: 368px; height: 553px; top: 800px; right: -40px; transform: rotate(20deg); }
  div#bg-pencil { background: url(images/bgpencil.png) no-repeat; width: 50px; height: 724px; top: 900px; left: 80px; transform: rotate(-10deg); }
  div#bg-wrapper { background: url(images/bgwrapper.png) no-repeat; width: 400px; height: 448px; position: relative; top: -290px; left: 900px; }
  
 /* ARCHIVE */ 
#chapters { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 2em 1em; }

.cc-storyline-contain {
	margin: 0 !important; 
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	width: 200px;
	text-align: center; 
	padding: 1em;
	box-sizing: border-box;
    outline-offset: 6px;	
}
.cc-storyline-contain[style="margin-left:0px"] { width: 100%; text-align: center; background: none; color: var(--text); outline: 0; padding: 0; }

.cc-storyline-thumb {
	width: 100%;
	float: none; 
}
.cc-storyline-thumb:hover a img { transform: scale(1.1); transition: ease 300ms;}

.cc-storyline-text {
	margin: 0 auto 12px;
	padding: 0 1em;
}

.cc-storyline-header {
	border-bottom: 0;
	font-weight: normal;
	width: 100%;
}

#text-area .cc-storyline-header a {
	text-decoration: none;
	display: block;
	width: 100%;
	transition: ease 300ms;
}
#text-area .cc-storyline-header a:hover { color: var(--pink-dark); }
 
  
  #cc-footer{
    text-align:center;
    padding:20px;
    font-size:.8em;
	color: #fff;
  }
  #cc-footer a { color: #fff;}
  
  
  @media screen and (max-width: 1300px){

	div.bgobj { display: none; }
  }
  
  
  