
/* Global attributes */

html {
	background-image: url("../images/background.jpeg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

body {
	width: 70%;
	margin: auto;
}

@media only screen and (max-width : 600px) {
  body {
    width: 85%;
  }
}

section, .series, .header, footer{
	background-color: rgba(270, 270, 270, 0.9);
	border-radius: 25px;
}

section, .header {
	padding: 1em;
}

section p, section table, section .gallery, section iframe, section h3, section ul {
	margin-left: 3%;
	margin-right: 3%;
}

.series, footer {
	padding: 0.1em;
}

::-moz-selection {
    color: #ace;
    background: black;
}

::selection {
    color: #ace;
    background: black;
}

img {
    image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: -o-crisp-edges; /* Opera */
    image-rendering: -webkit-optimize-contrast; /* Chrome & Safari */
    image-rendering: pixelated; /* Chrome */
    image-rendering: optimize-contrast; /* CSS3 Proposed */
    -ms-interpolation-mode: nearest-neighbor; /* IE8+ */
	image-rendering: crisp-edges;
}

h1, h2, h3, a, th {
	font-family: "Comic Relief", system-ui;
	font-weight: 700;
	font-size: 20px;
	color: #424143;
}

h1, h2, a, th {
	text-align: center;
}

td {
	font-family: "Comic Relief", system-ui;
	font-weight: 500;
	text-align: center;
	font-size: 20px;
	color: #424143;
}

h1 {
	font-size: 100px;
	margin-top: 50px;
	margin-bottom: 50px;
}

h2 {
	font-size: 64px;
	margin-top: 50px;
	margin-bottom: 50px;
}

h3 {
	font-size: 30px;
}

p, li {
	font-family: "Comic Relief", system-ui;
	font-size: 25px;
	text-align: justify;
	line-height: 1.25;
	hyphens: none;
	color: #424143;
}

@media only screen and (max-width : 600px) {
  th {
	  font-size: 16px;
  }
  td {
	  font-size: 16px;
  }
  p, li {
	  hyphens: auto;
  }
}

a {
	text-decoration: none;
}

a.navigation {
	font-size: 25px;
	text-decoration: underline;
	white-space: nowrap;
}

a:hover {
	text-decoration: none;
}

a.active {
	text-decoration: none;
}

.gallery {
	padding-bottom: 20px;
	text-align: center;
}


.line {
	height: 3px;
}

#showcase {
	display: block;
	margin: auto;
	margin-top: 50px;
	margin-bottom: 50px;
}

.smallcaps {
	font-variant: small-caps;
}

/* Phasing out "stats" for "center" */

.stats, .center {
	text-align: center;
}

.series, .series p {
	font-size: 30px;
	text-align: center;
}

/* For artists pages */

.artists_avatar_right {
	float: right;
	margin-left: 20px;
}

.artists_avatar_left {
	float: left;
	margin-right: 20px;
}

/* For archive pages */

table {
	width:94%;
	font-family: "Comic Relief", system-ui;
	margin-top: 50px;
	margin-bottom: 50px;
	float: center;
	border-collapse: collapse;
}

th, td, tr {
	padding: 5px;
	text-align: center;
	border-style: solid;
	border-width: thin;
}

tr:nth-child(even) {
	background-color: rgba(0,0,0,0.1);
}

/* For gallery pages */

#preview_container {
	height: auto;
	width: auto;
	text-align: center;
}

.preview {
	margin-top: 50px;
	margin-bottom: 50px;
	height: auto;
	width: auto;
	margin-left: 25px;
	margin-right: 25px;
	display: inline-block;
}

.preview p, a {
	text-align: center;
	margin-bottom: -20px;
}

.preview img, .artists_avatar_right, .artists_avatar_left {
	border-width: 4px;
	border-style: solid;
	border-color: black;
}

.header img {
	width: 50%;
	margin: auto;
	display: block;
}

@media only screen and (max-width : 600px) {
  .header img {
	width: 100%;
  }
}

@media only screen and (max-width : 1000px) {
  .header img {
	width: 75%;
  }
}

/* Global navigation code */

#navigation {
	position: relative;
	height: 300px;
	width: auto;
	margin-bottom: 50px;
	z-index: 0;
}

#navigation a {
	font-size: 50px;
}

#navigation div[id$="e"]{
	position: absolute;
}

#navigation_firstline {
	text-align: left;
	width: auto;
	left: 0px;
	z-index: 9999;
}

#navigation_secondline {
	text-align: center;
	left: 0px;
	right: 0px;
	z-index: -9999;
}

#navigation_thirdline {
	width: auto;
	text-align: right;
	right: 0px;
}

.navigation_spacer {
	font-size: 25px;
	padding: 10px;
}

footer p {
	font-size: 25px;
	text-align: center;
}