* {
    margin: 0;
    padding: 0;
    cursor: default;
}
@font-face {
    font-family: 'lain';
    src: url(../fonts/lain.ttf);
}
@font-face {
    font-family: 'love';
    src: url(../fonts/LoveLetter.ttf);
}
body {
    background-color: black;
    font-family: 'lain';
    color: #409594;
}
body:before {
	content: "";
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1000;
	background-image: url(images/lain/overlay.png);
	background-repeat: all;
	background-position: 0px 0px;
	animation-name: Static;
	animation-duration: 2s;
	animation-iteration-count: infinite;
	animation-timing-function: steps(4);
	box-shadow: inset 0px 0px 10em rgba(0,0,0,0.4);
}
body:after {
	content: "";
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1000;
	background-image: url(images/lain/overlay2.png);
	background-repeat: all;
	background-position: 0px 0px;
	animation-name: Static;
	animation-duration: 0.8s;
	animation-iteration-count: infinite;
	animation-timing-function: steps(4);
}

/* HEADER */

header {
    background-image: url(images/lain/46241.jpg);
    background-size: 100%;
    height: 200px;
}

/* MAIN */

main {
    width: 1340px;
    margin: 0 auto 20;
    display: flex;
}

/* LEFT */

.left {
    width: 250px;
    margin-top: 100px;
}
.left .image {
    border-top: 1px #409594 solid;
    margin-bottom: 40px;
    padding-top: 15px;
}
.left .image img {
    border: 1px #409594 solid;
    width: 240;
    padding: 5px;
    filter: grayscale() sepia() hue-rotate(118deg);
}

/* CENTER */

.center {
    width: 770px;
    margin: 0 40px;
}
h1 {
    border-bottom: 1px #409594 solid;
    margin-bottom: 15px;
    padding-bottom: 5px;
}
h2 {
    margin: 20px 0 -10;
}
img {
    background-color: #00000080;
    border: 1px #409594 solid;
    width: 250px;
    padding: 5px;
}
a {
    color: #409594;
    text-decoration-style: double;
    cursor: pointer;
}
a:hover {
    background-color: #409594;
    color: black;
}

.layer {
    border-bottom: 1px #409594 solid;
    font-family: 'love';
    display: flex;
    justify-content: space-between;
}
.layer h1, .layer h2 {
    margin: 0;
    padding: 0;
    border: 0;
}
.layer h2 {
    padding-top: 7px;
}

/* RIGHT */

.right {
    width: 250px;
}
.right .note {
    border: 1px #409594 solid;
    margin-top: 30px;
    padding: 10px;
    width: 240px;
    height: 400px;
    overflow-y: scroll;
}

/* MANGA */

.manga {
    padding-bottom: 10px;
    display: flex;
    overflow-x: scroll;
}
.manga img {
    border: 0;
    width: 200;
    padding: 0;
}
.manga::-webkit-scrollbar {
  height: 7px;
}
/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 70px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: fixed;
    background-color: rgba(0, 0, 0, 0.8);
}
.modal img {
    border: 0;
    padding: 0;
}
/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 100%;
    max-width: 450px;
    overflow: fixed;
}
/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-family: sans-serif;
  font-weight: bold;
}
.close:hover, .close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}
/* Hide the slides by default */
.mySlides {
  display: none;
}
/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}
/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

@keyframes Static {
	0% { background-position: 0px 0px; }
	100% { background-position: 0px 4px; }
}
::selection {
    background-color: #409594;
    border: 2px #409594 outset;
    color: black;
}
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: black;
}
::-webkit-scrollbar-thumb {
  background: #409594;
}