:root {
    font-family: 'OpenSans', sans-serif;
    font-size: 21px;
    --color0: #282828;
    --color1: #cc241d;
    --color2: #98971a;
    --color3: #d79921;
    --color4: #de88ae;
    --color5: #b16286;
    --color6: #689d6a;
    --color7: #a89984;
    --color8: #928374;
    --color9: #fb4934;
    --color10: #b8bb26;
    --color11: #fabd2f;
    --color12: #83a598;
    --color13: #d3869b;
    --color14: #8ec07c;
    --color15: #ebdbb2;
    --color256: #1d2021;
    --color257: #ebdbb2;
    --darkblue: #141620;
}

@font-face {
  font-family: 'Lora';
  src: url('/fonts/Lora/Lora-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Lora';
  src: url('/fonts/Lora/Lora-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Lora';
  src: url('/fonts/Lora/Lora-Italic.ttf') format('truetype');
  font-style: italic;
}

@font-face {
  font-family: 'Lora';
  src: url('/fonts/Lora/Lora-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

@font-face {
    font-family: 'OpenSans';
    src: url('/fonts/opensans/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSans';
    src: url('/fonts/opensans/OpenSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSans';
    src: url('/fonts/opensans/OpenSans-Italic.ttf') format('truetype');
    font-style: italic;
}

@font-face {
    font-family: 'OpenSans';
    src: url('/fonts/opensans/OpenSans-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
  font-family: 'Recoleta';
  src: url('/fonts/Recoleta/Recoleta-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Recoleta';
  src: url('/fonts/Recoleta/Recoleta-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

.wrapper {
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  perspective: 2px;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-family: 'Recoleta';
  font-size: 23px;
  /*letter-spacing: 1.2px;*/
  /*border-top: 1px solid #444;
  border-bottom: 1px solid #444;*/
}

/*.topnav li~li {
  border-left: 1px solid #666
}*/

/*.divider {
 display: inline-block;
 padding-top: 8px;
 width: 0;
 height: 1em;
 border-left: 1px solid #444;
}*/

.topnav a {
  color: #609DA0;
}

.topnav li {
  list-style: none;
  padding: 8px 35px;
  line-height: 1;
  float: center;
  color: #f2f2f2;
  text-align: center;
  text-decoration: none;
  margin-bottom: auto;
  margin-top: auto;
}

.topnav li .drop .drop-menu1 {
  visibility: hidden;
  transition: all 0.1s ease-out;
  opacity: 0;
  position: relative;
  bottom: 12px;
  right: 10px;
  z-index: -1;
}

.topnav li .drop .drop-menu1 ul {
  position: absolute;
  padding-left: 0px;
  background: #330000;
  width: max-content;
  padding: 0px 0px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border: solid #5c112a;
  border-width: 1px;
}

.topnav li .drop .drop-menu1 li {
  float: none;
  text-decoration: none;
  padding: 5px 10px;
  list-style: none;
  line-height: 1.2;
  text-align: left;
  font-weight: normal;
}

.topnav li .drop .drop-menu1 li:before {
  display: none;
}

.topnav li .drop .drop-menu1 li img {
  height: auto;
}

.topnav li .drop .drop-menu1 li:hover {
  background: #ffffff;
  color: #404040;
}

.topnav li .drop .drop-menu1 a:hover {
  transition: none;
}

.topnav li .drop:hover .drop-menu1 {
  visibility: visible;
  opacity: 1;
  z-index: 99;
}

.copyleft {
  display:inline-block;
  transform: rotate(180deg);
}

.chapbar {
  position: fixed;
  bottom: 0;
  padding: 10px;
  background-color: #220011;
  border: 2px #EEE;
  text-align: center;
  max-width: 1030px;
  z-index: 99; 
}

.main-header-img {
  display: block;
  float: left;
  margin: 10px;
  width: 250px;
  padding-bottom: 60px;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.column {
  float: left;
  width: 50%;
}

@media (min-width: 44em) {
    .col {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;

        -webkit-column-gap: 27px;
        -moz-column-gap: 27px;
        column-gap: 27px;

    }
}

.container {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

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


a img:hover {
    transition: .3s ease;
    filter: brightness(140%);
}

li img {
    height: 1.25em;
}

h1 img {
    height: 1em;
}

h2 img {
    height: 1em;
    padding-top: 1em;
}

h3 img {
    height: 1em;
}

#video-container {
    position: relative;
    width: 100%;
    border: 2px solid #EEE;
    padding-bottom: 56.25%
}

.video {
    position: absolute;
    border: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.menu {
	font-size: 20px;
}

body {
	border-radius: 25px;
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
	/*background: url(/images/handmadepaper.png) left top repeat fixed;*/
    color: #454545;
    padding: 1em;
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}

a {
    color: #609DA0;
    text-decoration: none;
}

a:visited {
    color: #609DA0;
}

a:hover {
    color: #f08080;
}

/*
a img:hover {
    background: rgba(0, 0, 0, 0);
    transition: .5s;
    transform: scale(2, 2);
}*/

figure {
  margin: 20px;
}

figure img {
   width: 100%;
}

figcaption {
   font-size: 17px;
   color: #bbb;
}

del {
    color: #666666;
}

ins {
    color: #b269ff;
    text-decoration: none;
}

mark {
    color: yellow;
    background-color: transparent;
}

h1 {
    font-family: 'Recoleta';
    color: #1a759f;
    font-weight: normal;
    text-align: center;
	line-height: 0.5;
}

h2 {
  font-family: 'Recoleta';
  color: #c9184a;
  font-weight: normal;
}

h3 {
	font-family: 'Recoleta';
	color: #023e8a;
	font-weight: normal;
	line-height: 0.3;
	font-size: 34px;
}

blockquote {
    color: #888888;
}

td { padding: 4px; }

.hiddiv {
    display: none;
}
.qr:hover {
    color: goldenrod;
}
.qr:hover .hiddiv {
    display: block;
    float: right;
}
.hiddiv img {
    height: 200px;
}

#cat {
    /*'float: center' does nothing btw. and cat should be an class, as its used so many times in the html*/
    display: inline;
}

#links {
    font-size: large;
    text-align: center;
    margin: auto;
    max-width: 700px;
    background-color: var(--color256);
    padding: 5px;
    border-radius: 10px;
    /* margin-bottom: 6em */
}

#links img {
    height: 1.25em;
}

/* Blog entry: */

/*i added a more red-ish and darker background here to make it easier on the eyes to seperate the blocks. and also to go with the red border a little better, as the blue on the left ties in the same way with the body*/
.entry {
    padding: 10px;
    border-radius: 0 5px 18px 0;
    margin-bottom: 50px;
    background: #1b1b1b;
    border: 1px solid var(--color1);
    border-left: 10px solid var(--color4);
}
.entry h2 {
    margin: 5px auto 2px auto;
}
.entry small {
    color: var(--color15);
}

.recents ul {
  margin-left: 105px;
}

footer strong {
    font-weight: bold;
}

footer {
  clear: both;
  text-align: center;
  /*padding-top: 2em;*/
  position: relative;
  /*margin-top: 160px;*/
  color:  #999;
  padding: 5px 20px;
}

.footer {
  font-size: 13px;
}

.footer .connexions img {
  width: 30px;
}

/*
    i spaced out the dt parts here to make it easier for the eyes to navigate the paragraphs
*/
dt {
    font-weight: bold;
    margin-top: 2em;
}
dt img {
    height: 1em;
}


/* Class name of video thumbnails in videos.html */
.image {
    width: 175px !important;
    table-layout: fixed;
    margin-left: auto;
    margin-right: auto;
    display: inline-table;
    padding: 0px;
}
.image figcaption img {
    height: 1em;
}

img {
    height: auto;
    max-width: 100%;
}

img.centered {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

code {
    color: var(--color2);
    overflow-x: auto;
}

h3 {
}

/*align is not always supported anymore so i tend to just use 'auto' on left and right margin if you arent using flexbox or grid*/
pre {
    margin: auto;
    margin-top: 3em;
    background: var(--color256);
    border: 1px solid var(--color8);
    border-radius: 4px;
    padding: 5px;
    display: block;
    max-width: 900px;
}

.indexcolname {
    max-width: 100px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.indexcoldesc {
    font-weight: bold;
    padding: 10px;
    font-size: large;
}
.indexcollastmod,
.indexcolsize {
    font-size: small;
}
#indexlist {
    margin: 0px auto;
}
.centerpiece {
    margin: auto;
    margin: 0px auto;
}

/* Used in library.html */
.booklist dt {
    display: list-item;
    list-style-type: square;
    font-weight: normal;
}
.booklist dd {
    display: none;
}
.booklist:hover dd {
    display: block;
}
/* The mic class is for books featured in a NotRelated episode. */
.mic:before {
    content: "🎙️";
}

.mic {
    list-style: none;
    padding-left: 1em;
    text-indent: -1em;
    margin-left: 0;
}

.A,
span.i,
pre a.i {
    color: var(--color10);
}

.D,
span.d,
pre a.d {
    color: var(--color9);
}

.even, .odd {
	min-height: 300px;
	text-align: left;
}

.even img  {
padding-top: 1em;
float: right;
max-width: 400px;
max-height: 225px;
padding: 20px;
}

.odd img {
padding-top: 1em;
float: left;
max-width: 400px;
max-height: 225px;
padding: 20px;
}

#content td {
	max-width: 400px;
}

#content {
	max-width: inherit;
}

#blob {
	white-space: pre-wrap;
}

#index {
    margin-left: auto;
    margin-right: auto;
}

html {
	/*background: rgb(238,255,176) fixed;
	background: linear-gradient(0deg, rgba(238,255,176,1) 0%, rgba(249,255,155,1) 25%, rgba(239,255,215,1) 50%, rgba(243,255,242,1) 75%, rgba(249,255,249,1) 100%) fixed;*/
	background: url(/images/bg.webp) fixed;*/
	padding-bottom: 200px;
}
