html {
  margin: 0px;
  padding: 0px;
  background: #000000;
}

@font-face {
  font-family: 'IBM VGA 8x16';
  src: url(/fonts/WebPlus_IBM_VGA_8x16.woff) format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  box-shadow:inset 0 0 13px 3px rgba(0, 0, 0, 0.8);
  margin: 5px;
  height: 100%;
  display: grid;
  grid-template-areas:
  "header"
  "content";
  gap: 50px 5px;
  color: rgba(71, 85, 105, 0.85);
  font-family: sans-serif;
}

.parchment {
  background: #fff9e8;
}

.ereader {
  background: rgb(238, 238, 238);
  text-shadow: 1px 2px 3px #cccccc;
}

.terminal {
  color: rgb(0, 255, 0);
  font-family: 'IBM VGA 8x16', monospace;

  background:
    repeating-linear-gradient(
      180deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 1px,
      rgba(0,0,0,0.00) 1px,
      rgba(0,0,0,0.00) 3px
    ),
    radial-gradient(
      ellipse at center,
      rgb(40,40,40) 0%,
      rgb(25,25,25) 70%,
      rgb(10,10,10) 100%
    );
  text-shadow:
    0 0 2px rgba(0,255,0,0.7),
    0 0 8px rgba(0,255,0,0.2);
}

header { grid-area: header; }
article { grid-area: content; }

article {
  margin-bottom: 50px;
}

.theme-switcher {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
}

.theme-button {
  padding: 5px 10px;
  font-size: 16px;
  cursor: pointer;
  border: #777777;
  border-style: solid;
  border-width: 1px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0);
}

.terminal .theme-button {
  color: rgba(0, 0, 0);
  color: rgb(0, 255, 0);
  border-color: rgb(0, 255, 0);
}

.theme-active {
  background-color: #777777ff;
  color: white;
}

.terminal .theme-active {
  background-color: rgb(0, 255, 0);
  color: black;
}

.self-blurp {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ereader .self-blurp {
  font-family: serif;
}

.logo {
  opacity: 61%;
}

.trv {
  text-align: center;
  font-family: sans-serif;
  font-weight: 900;
  text-shadow: -0.06em 0 0 cyan, 0.06em 0 0 red;
  font-size: 36px;
  width: 100%;
  color:#000000;
  margin-top: 25px;
}

.ereader .trv {
  text-shadow: -0.06em 0 0 rgb(90, 170, 200), 0.06em 0 0 rgb(200, 130, 130);
}

.terminal .trv {
  text-shadow: -0.06em 0 0 cyan, 0.06em 0 0 red;
  color: white;
  /* font-family:'Courier New', Courier, monospace; */
}

a {
  text-decoration: none;
  font-weight: bold;
  text-shadow: 2px 2px 3px #cccccc;
}

a:link {
  color: #297E93;
}
a:visited {
  color: #297E93;
}
a:hover {
  color: #0099cc;
}
a:active {
  color: #0099cc;
}

.terminal a {
  text-shadow: none;
  color:rgb(255, 150, 0);
  text-shadow:
    0 0 2px rgba(255,150,0,0.7),
    0 0 8px rgba(0,255,0,0.2);
}

.link-entry {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.link-entry .notes {
  font-style: italic;
  text-transform: none;
}

.ereader .link-entry .notes {
  font-family: serif;
}

.snippet-links {
  font-size: large;
  margin-top: 5px;
  margin-bottom: 25px;
}


@media screen and (max-width: 10000px) {
  .trv {
    font-size: 124px;
  }

  .theme-button {
    font-size: large;
  }

  .link-entry {
    font-size: x-large;
  }

  .link-entry .notes {
    font-size: large;
  }

  .snippet-links {
    font-size: large;
  }

  .text-section {
    font-size: large;
  }

  .text-section.heading {
    font-size: x-large;
  }
}

@media screen and (max-width: 1139px) {
  .trv {
    font-size: 72px;
  }

  .theme-button {
    font-size: medium;
  }

  .link-entry {
    font-size: large;
  }

  .link-entry .notes {
    font-size: medium;
  }

  .snippet-links {
    font-size: medium;
  }

  .text-section {
    font-size: medium;
  }

  .text-section.heading {
    font-size: large;
  }
}

@media screen and (max-width: 700px) {
  .trv {
    font-size: 48px;
  }

  .theme-button {
    font-size: small;
  }

  .link-entry {
    font-size: medium;
  }

  .link-entry .notes {
    font-size: small;
  }

  .snippet-links {
    font-size: small;
  }

  .text-section {
    font-size: small;
  }

  .text-section.heading {
    font-size: medium;
  }
}

@media screen and (max-width: 450px) {
  .trv {
    font-size: 36px;
  }

  .theme-button {
    font-size: small;
  }

  .link-entry {
    font-size: medium;
  }

  .link-entry .notes {
    font-size: small;
  }

  .snippet-links {
    font-size: small;
  }

  .logo {
    display:  none;
  }

  #logo-attribution {
    display:  none;
  }

  .text-section {
    font-size: small;
  }

  .text-section.heading {
    font-size: medium;
  }
}

.fit-width {
  width: 100%;
}

img.django-logo {
  width: 52px;
  height: 18px;
  color: white;
  background-color: #0C4B33;
  padding: 3px 5px 3px 5px;
  position: relative; top: 3px;
  border-radius: 3px;
}

img.django-logo {
  width: 52px;
  height: 18px;
  padding: 3px 5px 3px 5px;
  position: relative; top: 3px;
  border-radius: 3px;
}

img.java-logo {
  width: 35px;
  height: 35px;
  position: relative; top: 5px;
}

img.reactjs-logo {
  width: 35px;
  height: 35px;
  position: relative; top: 5px;
}

img.windows-logo {
  width: 35px;
  height: 35px;
  position: relative; top: 5px;
}

.centered {
  text-align: center;
}

.text-section {
  margin-top: 3%;
  margin-bottom: 3%;
  margin-left: 10%;
  margin-right: 10%;
  padding-top: 2px;
  padding-bottom: 2px;
  text-align: center;
  box-sizing: border-box;
}

.text-section.heading {
  text-shadow: 2px 2px 3px #cccccc;
}

.terminal .text-section.heading {
  text-shadow:
    0 0 2px rgba(0,255,0,0.7),
    0 0 8px rgba(0,255,0,0.2);
}

.email {
  font-weight: bolder;
}

.terminal .email {
  color: rgb(255, 150, 0);
  text-shadow:
    0 0 2px rgba(255, 150, 0,0.7),
    0 0 8px rgba(0,255,0,0.2);
}

.linear-fade-sides {
  background: linear-gradient(90deg, var(--edge-color) 0%, var(--center-color) 50%, var(--edge-color) 100%);
}

.parchment .linear-fade-sides {
  --edge-color: #ffdcaa00;
  --center-color: #fdebd0ff;
  background: linear-gradient(90deg, var(--edge-color) 0%, var(--center-color) 50%, var(--edge-color) 100%);
}

.ereader .linear-fade-sides {
  --edge-color: #eeeeee00;
  --center-color: #66666633;
  background: linear-gradient(90deg, var(--edge-color) 0%, var(--center-color) 50%, var(--edge-color) 100%);
}


.emoji-icon {
  font-size: xx-large;
}

.headroom {
  margin-top: 15px;
}

section#ni {
  margin-left: 15px;
  margin-bottom: 15px;
  font-size: 14px;
}

section#logo-attribution {
  margin-top: 100px;
  margin-left: 15px;
  margin-bottom: 15px;
}

#logo-attribution {
  font-size: x-small;
}