@charset "UTF-8";
@import url(vermin.css);
@import url(ShareTechMono.css);
@import url(webfonts/all.min.css);
@import url(mononoki.css);
@import url(handschrift.css);

/* Color-Palette "Earthy Forest Hues" from here: https://coolors.co/palette/dad7cd-a3b18a-588157-3a5a40-344e41 */
:root {
    --bgc: #DAD7CD;
    --bgct: #DAD7CD8c;
    --g1: #A3B18A;
    --g1t: #A3B18A8c;
    --g2: #588157;
    --g2t: #5881578c;
    --g3: #3A5A40;
    --g3t: #3A5A408c;
    --g4: #344E41;
    --g4t: #344E418c;
    scrollbar-width: thin;
    scrollbar-color: var(--g4) var(--bgc);
    --curdef: url("../img/cur/default.png") 4 4, auto;
    --curtxt: url("../img/cur/text.png") 16.5 15.5, text;
    --curpnt: url("../img/cur/pointer.png") 16.5 4, pointer;
    --curhlp: url("../img/cur/help.png") 4 4, help;
    --curzom: url("../img/cur/zoom-in.png") 15.5 15.5, zoom-in;
    --curzomm: url("../img/cur/zoom-out.png") 15.5 15.5, zoom-out;
}

::selection {
    color: var(--g1);
    background-color: var(--g4);
    text-decoration: none;
}

html {
  width: 100%;
  height: 100%;
  cursor: var(--curdef);
  scrollbar-gutter: stable both-edges;
}

body {
    background-color: var(--bgc);
    background-image: url('../img/bg.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom 5px right 5px;
    image-rendering: pixelated;
    color: var(--g4);
    font-family: 'Share Tech Mono', Arial, Helvetica, sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    cursor: var(--curdef);
    margin-left: auto;
    margin-right: auto;
    overflow-y: scroll;
    scrollbar-gutter: stable;
    line-height: 25px;
    padding-bottom: 20px;
    width: 100%;
    max-width: 600px;    
}

html, body, div {
  cursor: var(--curdef);
}

p, input, textarea, .quote, .code, h2  {
  cursor: var(--curtxt);
}

a, .button, button {
  cursor: var(--curpnt);
}

/*
hr {
    max-width: 80%;
    border-top: 1px dashed var(--g3);
    border-bottom: none;
    border-left: none;
    border-right: none;
    margin-top: 20px;
    margin-bottom: 15px;
    filter: drop-shadow(0px 1px 0px #DAD7CD);
}
*/

/*
hr {
    --size: 3px;
    --gap: 20px;
    height: var(--size);
    background:
      repeating-linear-gradient(
        to right,
        var(--bgc) 0 var(--size),
        transparent var(--size) calc(var(--size) + var(--gap)),

        var(--g1) calc(var(--size) + var(--gap))
        calc(var(--size) * 2 + var(--gap)),
        transparent calc(var(--size) * 2 + var(--gap))
        calc(var(--size) * 2 + var(--gap) * 2),

        var(--g2) calc(var(--size) * 2 + var(--gap) * 2)
        calc(var(--size) * 3 + var(--gap) * 2),
        transparent calc(var(--size) * 3 + var(--gap) * 2)
        calc(var(--size) * 3 + var(--gap) * 3),

        var(--g3) calc(var(--size) * 3 + var(--gap) * 3)
        calc(var(--size) * 4 + var(--gap) * 3),
        transparent calc(var(--size) * 4 + var(--gap) * 3)
        calc(var(--size) * 4 + var(--gap) * 4),

        var(--g4) calc(var(--size) * 4 + var(--gap) * 4)
        calc(var(--size) * 5 + var(--gap) * 4),
        transparent calc(var(--size) * 5 + var(--gap) * 4)
        calc(var(--size) * 5 + var(--gap) * 5)
      );
  border: none;
  filter: drop-shadow(0px 0px 1px #344E41);
  width: 80%;
  margin-top: 20px;
  margin-bottom: 10px;
  opacity: 0.5;
}
*/

hr {
  --size: 2px;
  --gap: 3px;
  height: var(--size);
  background: 
  linear-gradient(
    to right,
    var(--bgc) 0 var(--size),
    transparent var(--size) calc(var(--size) + var(--gap)),

    var(--g1) calc(var(--size) + var(--gap))
    calc(var(--size) * 2 + var(--gap)),
    transparent calc(var(--size) * 2 + var(--gap))
    calc(var(--size) * 2 + var(--gap) * 2),

    var(--g2) calc(var(--size) * 2 + var(--gap) * 2)
    calc(var(--size) * 3 + var(--gap) * 2),
    transparent calc(var(--size) * 3 + var(--gap) * 2)
    calc(var(--size) * 3 + var(--gap) * 3),

    var(--g3) calc(var(--size) * 3 + var(--gap) * 3)
    calc(var(--size) * 4 + var(--gap) * 3),
    transparent calc(var(--size) * 4 + var(--gap) * 3)
    calc(var(--size) * 4 + var(--gap) * 4),

    var(--g4) calc(var(--size) * 4 + var(--gap) * 4)
    calc(var(--size) * 5 + var(--gap) * 4),
    transparent calc(var(--size) * 5 + var(--gap) * 4)
    calc(var(--size) * 5 + var(--gap) * 5)
  );
    
  border: 1px solid var(--g2);
  width: 80%;
  margin-top: 20px;
  margin-bottom: 10px;
  background-color: var(--bgc);
  background-position: center right 25px;
}

abbr {
    text-decoration: underline dashed;
    cursor: var(--curhlp);
}

img.avatar {
  display: inline-block;
  vertical-align: top;
  border: 1px solid var(--g4);
  background-color: var(--bgc);
  height: 80px;
  width: auto;
  padding: 5px 5px 15px 5px;
  margin-top: -5px;
  margin-bottom: -5px;
  margin-right: 15px;
  object-fit: cover;
  image-rendering: auto;
  box-shadow: 3px 3px 0px 0px #344E41;
}

img.thumb {
    background-color: var(--bgc);
    background-image: url('../img/loading.gif');
    background-position: center center;
    background-repeat: no-repeat;
    cursor: var(--curzom);
    padding: 5px 5px 25px 5px;
    margin: 5px;
    border: 1px solid var(--g4);
    box-shadow: 3px 3px 0px 0px #344E41, inset 0px 0px 0px 1px #DAD7CD;
}

img.snail {
    margin: -3px -3px -9px -3px;
}

img.fich {
    margin: -1px -3px -13px -3px;
}

img.frog {
  margin: -8px -5px -8px -5px;
}

img.egg {
  margin: 0px -5px -15px -5px;
}

img#screenjesus {
  z-index: 999999;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%);
}

.counter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    opacity: 0.2;
    box-shadow: 1px 1px 5px 0px #0000005b;
    font-size: 10px;
}

.counter:hover {
  opacity: 1.0;
  transition: opacity 0.15s ease;
}


/* Font-Styles */ 
a {
	color: var(--g2);
	text-decoration-line: underline;
  text-decoration-style: dotted;
}

a:hover {
	color: var(--g3);
	text-decoration-line: underline;
  text-decoration-style: wavy;
  animation: fade 0.8s infinite alternate ease-in-out;
}

a.ext {
  padding: 0;
}

a.ext::after {
  content: '';
  display: inline-block;
  margin-top: 4px;
  margin-left: 4px;
  height: 8px;
  width: 8px;
  font-family: 'mononoki';
  /* background-size: 100%;
  background-image: url('../img/ext.png'); */
}

i[class*="fa-"] {
    color: var(--g3);
    font-size: 16px;
}


h1 {
    font-family: 'vermin';
    font-size: 105px;
    letter-spacing: 5px;
    font-variant: small-caps;
    text-align: center;
    transform: rotate(-5deg);
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    color: var(--g2);
    /* text-shadow: 0px 1px 0px #344E41, 0px 2px 0px #344E41, 0px 3px 0px #344E41, 0px 4px 0px #344E41, 0px 5px 4px #000000; */
    filter: drop-shadow(0px 1px 0px #344E41) drop-shadow(0px 2px 0px #344E41) drop-shadow(0px 3px 0px #344E41) drop-shadow(1px 4px 3px #00000063);
}

h1 span {
  display: inline-block;
}

h1 span:hover {
  animation: jello 1s ease 0s 1 normal none; 
}

.jelly {
    animation: jello 1s ease;
}

h2 {
  color: var(--g3);
  text-decoration-line: underline;
  text-decoration-color: var(--g2);
  font-size: 25px;
  font-variant: small-caps;
  padding-left: 10px;
}


/* Container */
div.site {
    animation: onload 0.8s;
    position: relative;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
}

div.content {
    display: none;
    background: var(--g1);
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--g4);
    box-shadow: 1px 1px 5px 0px #0000005b, inset 0px 0px 0px 1px #DAD7CD;
    padding: 15px;
    animation: fade-up 0.3s ease-in;
}

div.content:hover {
    border: 1px solid var(--g2);
}
  
div.header {
    margin-left: -15px;
    margin-right: -15px;
}
  
div.header, div.nav {
    background: var(--bgc);
    background-image: url('../img/hdots2.png');
    background-repeat: no-repeat;
    background-position: center right 6px;
    font-size: 20px;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 30px;
    margin-bottom: 10px;
    border: 1px solid var(--bgc);
    box-shadow: inset 0px 0px 0px 1px #344E41;
}

div.header:first-child {
  margin-top: -15px;
}

div.nav {
  position: sticky;
  top: 0;
  margin-left: 1px;
  margin-right: 1px;
  box-shadow: 1px 1px 5px 0px #0000005b, inset 0px 0px 0px 1px #344E41;
  z-index: 9999;
}

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #DAD7CD85;
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  z-index: 9999;
}

#lightbox.active {
  opacity: 1;
  visibility: visible;
  cursor: var(--curzomm);
}

#lightbox-img {
  max-width: 95%;
  max-height: 90vh;
  border: 2px solid var(--g4);
  padding: 2px;
  box-shadow: 4px 4px 0px 0px #344E41, inset 0px 0px 0px 1px #DAD7CD;
  image-rendering: auto;
  cursor: var(--curdef);
}

#lightbox-loader {
    position: absolute;
    max-width: 80px;
    display: none;
}

#lightbox.loading #lightbox-loader {
    display: block;
}

#lightbox.loading #lightbox-img {
    opacity: 0;
}

.lightbox-trigger {
  background-color: var(--bgc);
  background-image: url('../img/loading.gif');
  background-position: center center;
  background-repeat: no-repeat;
  padding: 5px 5px 25px 5px;
  margin: 5px;
  border: 1px solid var(--g4);
  box-shadow: 3px 3px 0px 0px #344E41, inset 0px 0px 0px 1px #DAD7CD;
}

.lightbox-trigger:hover {
  cursor: var(--curzom);
  border: 1px solid var(--g3);
  box-shadow: 3px 3px 0px 0px #3A5A40, inset 0px 0px 0px 1px #DAD7CD;
}

#microblog-content .lightbox-trigger {
  max-width: 240px;
}
  
#close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 42px;
  line-height: 1;
  color: var(--g3);
  cursor: var(--curpnt);
  transition:
    transform 0.2s ease,
    color 0.2s ease;
  filter: drop-shadow(1px 1px 0px #DAD7CD) drop-shadow(-1px -1px 0px #DAD7CD) drop-shadow(-1px 1px 0px #DAD7CD) drop-shadow(1px -1px 0px #DAD7CD);
}

#close-btn:hover {
  color: var(--g4);
  transform: scale(1.1);
}

  
/* Style the buttons that are used to open the tab content */
.nav button {
  color: var(--bgc);
  background-color: var(--g2);
  font-size: 14px;
  font-variant: small-caps;
  border: 1px solid var(--g4);
  box-shadow: inset 0px 0px 0px 1px #DAD7CD;
  outline: none;
  cursor: var(--curpnt);
  padding: 4px 6px;
  transition: 0.3s;
  margin: 0px -2px;
}


/* Change background color of buttons on hover */
.nav button:hover {
  background-color: var(--g3);
  border: 1px solid var(--g3);
  cursor: var(--curpnt);
}

/* Create an active/current tablink class */
.nav button.active {
  color: var(--g4);
  background-color: var(--g1);
  cursor: var(--curdef);
}

.nav [title]::after {
  content: attr(title);
  padding-left: 3px;
}

.nav i[class*="fa-"] {
  color: inherit;
  font-size: inherit;
}

div.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  border-top: none;
  z-index: 0;
}

div.noaiwebring {
  color: var(--g1);
  font-size: 14px;
  text-align: center;
}

.noaiwebring i[class*="fa-"] {
    color: var(--g1);
    font-size: 12px;
}

.noaiwebring a {
  color: var(--g2);
}

.noaiwebring a:hover {
  color: var(--g3);
}

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

/* Text-Styling */
.kursiv {
    font-style: italic;
    display: inline;
}

.fett {
    font-weight: bold;
    letter-spacing: 1px;
    display: inline;
}

.unterstrichen {
    text-decoration: underline var(--g2);
    display: inline;
}

.invertiert {
    color: var(--g1);
    background-color: var(--g4);
    display: inline;
    padding: 0 4px;
    margin: 0 -4px;
}

.invertiert::selection {
    color: var(--g4);
    background-color: var(--g1);
    text-decoration-line: underline;
    text-decoration-color: var(--g4);  
    text-decoration-style: dotted;
}

.caption {
    font-size: calc(100% - 2px);
    font-family: 'handschrift';
    color: var(--g4);
    margin-top: -38px;
} 

.corner-quotes {
    position: relative;
    display: inline-block;
    padding: 0px 4px;
    margin: -2px -2px;
    background-color: var(--g1t);
}

.corner-quotes::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 5px;
  border-top: 2px solid var(--g2);
  border-right: 2px solid var(--g2);
}

.corner-quotes::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5px;
    height: 5px;
    border-bottom: 2px solid var(--g2);
    border-left: 2px solid var(--g2);
}

.nowrap {
    display: inline;
    white-space: nowrap;
}

.header {
    cursor: var(--curdef);
}

div.quote {
    background-color: var(--bgc);
    font-size: 16px;
    font-style: italic;
    text-align: justify;
    text-justify: inter-word;
    border: none;
    padding-left: 10px;
    padding-right: 25px;
    padding-top: 2px;
    padding-bottom: 2px;
    margin: 5px;
    box-shadow: 3px 3px 0px 0px #344E41;
}

div.quote:before {
    content: "\"";
    color: var(--g3);
    font-size: 50px;
    width: 100%;
    height: 100%;
    text-align: right;
    display: block;
    line-height: 10px;
    margin-top: 20px;
    margin-bottom: -30px;
    margin-left: 20px;
    opacity: 0.4;
}

div.code {
    background-color: var(--bgc);
    font-size: calc(100% - 6px);
    font-family: 'mononoki', monospace;
    letter-spacing: 0.5px;
    line-height: 18px;
    tab-size: 4;
    word-break: break-all;
    cursor: var(--curtxt);
    user-select: all;
    border: none;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 4px;
    padding-bottom: 8px;
    margin: 5px;
    box-shadow: 3px 3px 0px 0px #344E41;
}

div.code:before {
    content: "</>";
    color: var(--g3);
    font-size: calc(100% + 20px);
    font-weight: bold;
    width: 100%;
    height: 100%;
    text-align: right;
    display: block;
    line-height: 10px;
    margin-top: 10px;
    margin-bottom: -15px;
    margin-left: 6px;
    opacity: 0.3;
    filter: blur(1px);
}

span.code {
  background-color: var(--g1);
  color: var(--g4);
  border: solid 1px var(--g2t);
  padding: 0px 2px;
  margin: 0px -2px;
}

.frens {
  display: block;
  width: 97%;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--g2t);
  padding: 5px 5px 0px 5px;
  border: solid 1px var(--g4);
  box-shadow: inset 0px 0px 0px 1px #DAD7CD, inset 4px 5px 0px 0px #344E41;
  line-height: 35px;
  text-align: center;
  overflow: hidden;
}

.scrollfix {
    max-height: 160px;
    margin: 5px;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: center;
    scrollbar-color: #00000000 #00000000;
    mask-image: linear-gradient( 
      to bottom, transparent 0, 
      #000 8px, 
      #000 calc(100% - 8px), 
      transparent 100% 
    );
    scrollbar-gutter: stable both-edges;
}

.scrollfix img:first-child {
    margin-top: 5px;
}

.frens img {
  image-rendering: auto;
  background-image: url('../img/missingimage.webp');
  background-position: center center;
  background-repeat: no-repeat;
  height: 31px;
  width: 88px;
  padding-left: 7px;
  padding-right: 7px;
  padding-bottom: 10px;
  filter: sepia(1) hue-rotate(20deg) saturate(0.6) brightness(75%) drop-shadow(3px 4px 0px #344E41);
  transition: filter 0.3s ease;
  font-size: 0px;
  color: transparent;
  display: inline-block;
  vertical-align: top;
  animation: popIn 800ms ease-out forwards;
}

.frens img:hover {
  filter: drop-shadow(3px 4px 0px #344E41);
}

.frens a, .frens a:hover {
  background: none;
  text-decoration-line: none;
  animation: none;
  display: inline-block;
  vertical-align: top;
}

/* nah.
.marquee {
  display: flex; 
  justify-content:space-around;
  animation: marquee 10s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}
*/

.placeholder {
  width: 86px;
  height: 29px;
  border: dashed 1px;
  background-color: var(--bgc);
  font-size: 12px;
  font-variant: small-caps;
  line-height: 12px;
  margin-left: 15px;
  margin-bottom: 15px;
  margin-right: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(3px 4px 0px #344E41);
}

.subtext {
    font-size: calc(100% - 6px);
    line-height: 1.3;
    margin-bottom: -10px;
    color: var(--g3);
    letter-spacing: 0.7px;
}

ul {
  list-style-type: square;
  padding-bottom: 10px;
}

ul li {
  padding-bottom: 10px;
}

ul li::marker {
  color: var(--g2);
}

/* abbr-bullshittery and frens-tags */
.expl {
  position: relative;
  text-decoration: underline dashed;
  cursor: var(--curhlp);
}

.expl::after {
  content: attr(data-title);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: var(--g1);
  color: var(--g4);
  border: 1px solid var(--g4);
  box-shadow: 2px 2px 0px 0px #344E41, inset 0px 0px 0px 1px #DAD7CD;
  border-radius: 0px;
  padding: 6px 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 2;
}

.expl:hover::after,
.expl:focus::after {
  opacity: 1;
}


/* Mobile */
@media only screen and (max-width: 800px) {
  
  body {
    font-size: calc(100% + 3px);
    overflow-x: hidden;
  }
    
  h1 {
    font-size: 75px;
    letter-spacing: 1px;
  }
  
  div.site {
    width: 98%;
    max-width: 400px;
  }
  
  div.content, div.noaiwebring, h1 {
    margin-right: auto;
    margin-left: auto;
    position: relative;
    display: block;
  }
  
  div.content {
    width: 90%;
    max-width: 400px;
  }
  
  div.header, div.nav {
   max-width: 400px;
  }
    
  div.nav {
    margin-left: 5px;
    margin-right: 5px;
  }
  
  div.nav button {
   padding: 6px 4px;
   margin-left: -20px;
   margin-right: 15px;
   font-size: calc(100% - 8px);
  }
  
  .nav [title]::after {
    content: "";
    line-height: 0;
    opacity: 0;
    font-size: 0px;
    padding-left: 0;
    text-indent: -9999px;
    white-space: nowrap;
  }
  
  .nav [title]:hover::after, .nav [title].active::after {
    content: attr(title);
    opacity: 1;
    font-size: calc(100% + 3px);
    padding-left: 1px;
    padding-right: 3px;
    margin-right: -2px;
  }

  .nav i[class*="fa-"] {
    font-size: calc(100% + 8px);
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 2px;
    padding-right: 2px;
  }
  
  .frens img {
    padding-left: 8px;
    padding-right: 8px;
  }
  
  div.noaiwebring {
    margin-left: -15px;
    margin-right: -15px;
  }
}

@media screen and (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Easter Egg */
#dino-overlay {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(20px);
    background: rgba(0,0,0,0.3);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#dino-container {
    width: 512px;
    height: 512px;
    background: #DAD7CD;
    color: #344E41;
    overflow: hidden;
    border: 1px solid #344E41;
    box-shadow: 0px 0px 10px 10px #0000005b;
}

#dino-score {
    font-family: 'vermin';
    font-size: 36px;
    color: #588157;
    margin-bottom: -50px;
    margin-top: -50px;
}

/* Animations */
@keyframes onload {
  0% { transform: scale(0.1); opacity: 0; filter: blur(10px); }
  50% { transform: scale(1.1); opacity: 0.5; filter: blur(5px); }
  100% { transform: scale(1); opacity: 1; filter: blur(0px); }
}

@keyframes fade-up {
  0% { transform: translateY(10px); filter: blur(5px); } 
  100% { transform: translateY(0); filter: blur(0px); } 
}

@keyframes fade {
  from { color: var(--g2); text-decoration-color: var(--g4); }
  to { color: var(--g4); text-decoration-color: var(--g2); }
}

@keyframes popIn {
  0% { opacity: 0; transform: translateY(45px); }
  60% { opacity: 1; transform: translateY(0); }
  72% { transform: translateY(-10px); }
  82% { transform: translateY(2px); }
  91% { transform: translateY(-4px); }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes jello {
  0% { transform: scale3d(1, 1, 1); } 
  30% { transform: scale3d(0.75, 1.25, 1); } 
  40% { transform: scale3d(1.25, 0.75, 1); } 
  50% { transform: scale3d(0.85, 1.15, 1); } 
  65% { transform: scale3d(1.05, 0.95, 1); } 
  75% { transform: scale3d(0.95, 1.05, 1); } 
  100% { transform: scale3d(1, 1, 1);} 
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}