@font-face {
  font-family: 'Garamond';
  src: url('/fonts/apple-garamond/AppleGaramond-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Garamond';
  src: url('/fonts/apple-garamond/AppleGaramond-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face{
  font-family: 'OCR';
  src: url('/fonts/ocr/OCRAStd.otf');
  font-weight: 300;
  font-style:normal;
}



body {
  font-family: 'Garamond', serif;
}

@font-face {
  font-family: 'linguistics';
  src: local('Times New Roman');
  unicode-range: U+0250–U+02AF;
}

:root {
  --black: rgb(24, 24, 24);
  --white: rgba(247, 247, 247);
  --softwhite: rgba(247, 247, 247, 0.875);
}

::selection {
  background: var(--black);
  color: var(--white);
}

* {
  margin: 0;
  padding: 0;
  color: var(--black);
}

body {
  width: 100%;
  background: var(--white);
}

.container {
  background: var(--white);
  max-width: 500px;
  margin: auto;
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 100%;
}

.content {
  background-color: var(--softwhite);
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
  display: block;
  padding-bottom: 5em;
}

.footer {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 2;
  margin-top: -2em;
  width: 100%;
  transform: translate(-50%, 0);
}

.pill {
  font-family: Roboto;
  font-weight: 400;
  font-size: 0.6em;
  border: 1px solid var(--black);
  border-radius: 7px;
  padding: 0 0.6em;
  opacity: 80%;
}

.opener {
  margin-right: 5em;
  transition: 100ms;
  line-height: 1em;
}

.hometext {
  padding-bottom: 1em;
  text-indent: 0 !important;
  filter: grayscale(1);
}

.hometext:hover > .opener {
  margin-left: 1.5em;
  margin-right: 3.5em;
  transition: 400ms ease-in-out;
}

a {
  color: blue;
  transition: 300ms;
}

.hometext:hover {
  filter: grayscale(0);
  transition: 300ms;
}

.box {
  border-top: solid 1px var(--black);
  border-left: solid 1px var(--black);
  border-right: solid 1px var(--black);
  padding: 5% 5% 3em 5%;
  width: calc(94%);
  margin: 1vh auto 0 auto;
  height: 110%;
  box-sizing: border-box;
  position: relative;
  text-align: justify;
  font-family: 'Garamond', 'linguistics', serif;
}

.box > p {
  text-indent: 2rem;
  font-size: 14pt;
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-family: 'Roboto', sans-serif;
  letter-spacing: -0.05rem;
  margin-bottom: 0.8rem;
}

h2 {
  font-weight: 500;
}

h3 {
  font-weight: 300;
}

details {
  font-family: Roboto;
  font-weight: 300;
  margin-bottom: 1em;
}

.hometext,
#shh {
  font-size: 14pt;
  font-family: 'Garamond', serif;
  text-decoration: none;
  color: var(--black);
  cursor: text;
}

.status-marquee-box {
  overflow: hidden;
  background: var(--black);
  height: 1.3em;
  width: 100%;
  position: relative;
  z-index: 2;
  margin: 0;
}

.status-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 20s linear infinite;
  color: var(--white);
  font-family: monospace;
  line-height: 1.3em;
  font-size: 1em;
  padding-left: 100%;
  width: max-content;
}

.status-marquee * {
  color: var(--white) !important;
}

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



img {
  width: 100%;
  height: 45vh;
  object-fit: cover;
  object-position: 50% 35%;
  mix-blend-mode: multiply;
  background-color: var(--black) !important;
}

a {
  font-family: Roboto;
  font-weight: 300;
  text-decoration: none;
  font-size: 0.8em;
}

a:hover {
  text-decoration: underline;
  color:blue;
}

.recentcurius {
  filter: grayscale(1);
}

u {
  text-decoration: none;
  font-family: Roboto;
  font-weight: 300;
  font-size: 0.8em;
}

ul {
  margin-top: -1.1em;
  margin-left: 6em;
  list-style: none;
}

li {
  margin-bottom: 0.2em;
}

.showsource {
  padding: 1em 0 3.5rem 0;
  text-align: center;
  font-size: 0.6rem;
  font-family: monospace;
  opacity: 0.5;
  line-height: 1em;
  cursor: help;
  white-space:nowrap;
}

.showsource:hover {
  opacity: 1;
  transition: 1s;
  color: blue;
}



.hidesource {
  color: blue;
  width: 26em;
  padding: 2em;
  text-align: center;
  font-size: 0.6rem;
  font-family: monospace;
  line-height: 1em;
  cursor: alias;
  position: fixed;
  bottom: 10.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  z-index: 500;
  border: 1px solid var(--black);
}

.sourcecode {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 5% 5% 3em 5%;
  font-family: monospace;
  font-size: 0.5rem;
  white-space: pre-wrap;
  z-index: 1;
  filter: blur(1px);
  pointer-events: none;
  word-wrap: break-word;
}

.titlemark {
  padding-top: 5vh;
  font-family: 'Roboto';
  font-weight: 900;
  font-size: 5rem;
  letter-spacing: -0.05em;
  text-align: center;
  background: linear-gradient(0deg, var(--white) 80%, rgba(255, 255, 255, 0) 100%);
}

.titlemark > * {
  font-weight: inherit;
  font-size: inherit;
  color: var(--black) !important;
}

.titlemark > *:hover {
  text-decoration: none !important;
}

.jptext {
  font-size: 0.8em !important;
  font-family: serif;
  font-weight: 100;
}

.tooltip {
  display: none;
  border: solid black 1px;
  height: 100px;
  width: 170px;
  position: absolute;
  background: white;
  bottom: 15pt;
  left: -50%;
}

span:hover .tooltip {
  display: block;
}

span {
  position: relative;
}

.tooltip > img {
  object-fit: contain;
  height: 100%;
}

.tooltip > span {
  position: absolute;
  bottom: 0;
  right: 0;
  color: white;
  font-size: 8pt;
  z-index: 1000;
  font-family: monospace;
  background: black;
}

.receipt{
  font-family: 'OCR';
  text-align:center;
  text-indent: 0;
}

.receipttitle{
  font-size:2.5em;
}