@import url('https://fonts.googleapis.com/css?family=Inter');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --tint-color: rgba(58, 173, 173, 1);
  --tint-color-a: rgba(58, 173, 173, 0.8);
  --bg-color: #110f11;
  --background: url("../background/a-dither.png");
}

body {
  background-color: var(--bg-color);
  color: #ffebfd;
  font-family: "Noto Serif", "Times New Roman", serif;
  text-align: center;
  margin: 0px;
}

header {
  padding: 280px 33%;
  
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, var(--bg-color) 100%),
    linear-gradient(to bottom, var(--tint-color), var(--tint-color)),
    var(--background);
  background-blend-mode: normal, multiply;
  
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  
  image-rendering: optimizeSpeed;             /* STOP SMOOTHING, GIVE ME SPEED  */
  image-rendering: -moz-crisp-edges;          /* Firefox                        */
  image-rendering: -o-crisp-edges;            /* Opera                          */
  image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
  image-rendering: pixelated;                 /* Universal support since 2021   */
  image-rendering: optimize-contrast;         /* CSS3 Proposed                  */
  -ms-interpolation-mode: nearest-neighbor;   /* IE8+                           */
}

header h1 {
  font-size: 4em;
  margin: 0;
  font-weight: normal;
  font-family: Inter;
  transform: scaleY(1.4);
  border-style: groove;
  border-width: 4px;
  border-color: #444;
  background-color: rgba(0, 0, 0, 70%);
}

header h3 {
  margin: 0;
  font-weight: normal;
  font-family: Helvetica, Inter;
  transform: scaleY(1.5);
}

h2 {
  font-weight: normal;
  font-family: Helvetica, Inter;
  transform: scaleY(1.5);
}

pre {
  max-width: 100%;
  text-overflow: ellipsis;
}

a {
  color: var(--tint-color);
}

#footer-text a {
  color: #ffebfd;
}

.footer-list {
  background: #ffebfd;
  display: inline-block;
  list-style-type: none;
  padding: 5px;
}

.listitem {
  padding: 30px;
  border: 4px double;
  margin: 40px auto;
  border-radius: 10px;
}

.itemlist {
  list-style-type: none;
  margin: 30px 0px;
  padding-left: 0;
}

.text-body {
  margin: 0% 30%;
  text-align: justify;
  text-justify: inter-word;
}

.code-snippet {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9em;
  background-color: #000;
  padding: 20px;
  border: 2px solid;
  margin: 30px 0px;
  border-radius: 10px;
  border-color: #333;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.highlight-block {
  padding: 20px;
  border: 2px solid;
  margin: 30px auto;
  border-radius: 10px;
  border-color: var(--tint-color);
}

.caption {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

.interjection {
  padding: 15px;
  border: 5px solid;
  margin: 30px 0px;
  border-radius: 10px;
  border-color: #333;
  border-style: double;
}

.video-box {
  padding: 0;
  background-color: #000;
  font-size: 0;
  border: 2px solid;
  margin: 30px 0px;
  border-radius: 10px;
  border-color: #333;
  border-style: solid;
  overflow: hidden;
  z-index: 1;
}

.image-box {
  padding: 20px;
  background-color: #000;
  font-size: 0;
  border: 2px solid;
  margin: 30px 0px;
  border-radius: 10px;
  border-color: #333;
  border-style: solid;
  overflow: hidden;
  z-index: 1;
}

footer {
  padding: 20px;
  background: var(--tint-color);
  color: #ffebfd !important;
}

@media (orientation: portrait) {
  header {  
    padding: 180px 10%;
  }

  header h1 {
    font-size: 2em;
  }

  .text-body {
    margin: 0% 5%;
  }
}
