@keyframes rainbow {
  12.5%, 100% {
    background: #d43030;
  }
  25% {
    background: #d87a00;
  }
  37.5% {
    background: #e4c900;
  }
  50% {
    background: #37bc37;
  }
  62.5% {
    background: #4343c6;
  }
  75% {
    background: #9b1cf5;
  }
  87.5% {
    background: #b902b9;
  }
}
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
::selection {
  background: #c013b4;
  color: #0b0909;
  color: #0b0909;
}

::-moz-selection {
  background: #c013b4;
  color: #0b0909;
  color: #0b0909;
}

body {
  background: #0b0909;
  color: #dbd8c5;
  padding: 5rem 0;
  width: 85vw;
  margin: 0 auto;
  font-size: 1.25rem;
}

h1 {
  font-size: 4em;
  font-family: "VT323", monospace;
  text-shadow: -0.035em 0.035em 0.05rem #1ba5a5, 0.035em -0.035em 0.05rem #c013b4;
  text-align: center;
  border: 0.25rem solid #1ba5a5;
  border-image-source: linear-gradient(90deg, #d43030, #d87a00, #e4c900, #37bc37, #4343c6, #9b1cf5, #b902b9);
  border-image-slice: 33;
  border-image-width: 0 0 0.25rem;
}

h2 {
  font-size: 3em;
  animation: rainbow 2500ms linear infinite alternate;
  background: #d43030;
  color: #0b0909;
  font-family: "VT323", monospace;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  text-align: center;
  margin: 3rem 0;
}

h3 {
  font-size: 2.85em;
  font-family: "Share Tech Mono", monospace;
}

h4 {
  font-family: "Share Tech Mono", monospace;
  font-size: 2.25em;
}
h4:after {
  content: "";
  animation: rainbow 2500ms linear infinite alternate;
  background: #d43030;
  color: #0b0909;
}

.section-heading {
  border: 0.25rem solid #d43030;
  border-image-source: linear-gradient(90deg, #d43030, #d87a00, #e4c900, #37bc37, #4343c6, #9b1cf5, #b902b9);
  border-image-slice: 33;
  border-image-width: 0 0 0.25rem;
  border-image-outset: 0 0 0.25rem;
}

p {
  position: relative;
  font-family: "Share Tech Mono", monospace;
  font-size: 1em;
  line-height: 1.618;
  margin: 1.5rem 0;
}
p:last-child:after {
  content: "";
  animation: blink 1000ms linear infinite alternate;
  background: #dbd8c5;
  width: 0.5em;
  height: 1em;
  display: inline-block;
  position: relative;
  top: 0.25em;
  right: 0.25em;
}

hr {
  color: transparent;
  border: 0.25rem solid #d43030;
  border-image-source: linear-gradient(90deg, #d43030, #d87a00, #e4c900, #37bc37, #4343c6, #9b1cf5, #b902b9);
  border-image-slice: 33;
  border-image-width: 0 0 0.25rem;
  border-image-outset: 0 0 0.25rem;
}

blockquote {
  border: 0.25rem solid;
  background-color: #010902;
  color: #fff;
  border-image: linear-gradient(90deg, #d43030, #d87a00, #e4c900, #37bc37, #4343c6, #9b1cf5, #b902b9) 60;
  margin: 1rem 0;
  padding: 2rem 3rem;
  font-size: 1.125rem;
}
blockquote p {
  margin: 0;
  padding: 0;
}

strong, em, q, i, code {
  background: #9b1cf5;
  color: #0b0909;
  text-transform: uppercase;
  font-weight: 400;
}
strong.cyan, em.cyan, q.cyan, i.cyan, code.cyan {
  background: #1ba5a5;
  color: #0b0909;
  animation: none;
}
strong.magenta, em.magenta, q.magenta, i.magenta, code.magenta {
  background: #c013b4;
  color: #0b0909;
  animation: none;
}
strong.yellow, em.yellow, q.yellow, i.yellow, code.yellow {
  background: #c6b21f;
  color: #0b0909;
  animation: none;
}
strong.black, em.black, q.black, i.black, code.black {
  background: #dbd8c5;
  color: #0b0909;
  animation: none;
  color: #0b0909;
}

em, i {
  background: #e4c900;
  color: #0b0909;
  padding-right: 0.35rem;
  margin-right: -0.35rem;
}

q {
  background: #4343c6;
  color: #0b0909;
}

i {
  background: #37bc37;
  color: #0b0909;
}

code {
  font-family: "VT323", monospace;
  background: #fff;
  color: #0b0909;
  padding: 0 0.25em;
}

pre {
  background: #37bc37;
  padding: 1em 3em;
  font-size: 1.25em;
}
pre code {
  background: none;
}
pre code:last-child:after {
  content: "";
  animation: blink 1000ms linear infinite alternate;
  background: #0b0909;
  width: 0.5em;
  height: 1em;
  display: inline-block;
  position: relative;
  top: 0.25em;
  right: 0.25em;
}

ul, ol, dl {
  font-family: "Share Tech Mono", monospace;
  margin: 3em 0;
}
ul li, ul dd, ul dt, ol li, ol dd, ol dt, dl li, dl dd, dl dt {
  margin: 1.618em 0;
}

ul {
  list-style: none;
}
ul li {
  position: relative;
}
ul li:before {
  content: "\203A";
  position: relative;
  right: 0.25em;
  font-size: 1.25em;
}

a:link, a:visited {
  color: #dbd8c5;
  text-decoration: none;
  border-bottom: 2px dashed #dbd8c5;
  border-image-source: linear-gradient(90deg, #d43030, #d87a00, #e4c900, #37bc37, #4343c6, #9b1cf5, #b902b9);
  border-image-slice: 33;
  padding: 0 0 0.125rem;
}

a:hover, a:active, a:focus {
  text-shadow: none;
  background: linear-gradient(90deg, #d43030, #d87a00, #e4c900, #37bc37, #4343c6, #9b1cf5, #b902b9);
  background-clip: text;
  color: transparent;
  border-image-source: linear-gradient(90deg, #d43030, #d87a00, #e4c900, #37bc37, #4343c6, #9b1cf5, #b902b9);
  border-image-slice: 33;
}

.primary {
  text-transform: uppercase;
  color: #d43030;
}

.secondary {
  text-transform: uppercase;
  color: #d87a00;
}

.tertiary {
  text-transform: uppercase;
  color: #e4c900;
}

.quaternary {
  text-transform: uppercase;
  color: #37bc37;
}

.quinary {
  text-transform: uppercase;
  color: #4343c6;
}

.senary {
  text-transform: uppercase;
  color: #9b1cf5;
}

.septenary {
  text-transform: uppercase;
  color: #b902b9;
}

.palette {
  display: flex;
  margin: 0;
  padding: 0;
}
.palette li {
  width: calc( 100% / 7 );
  height: 3rem;
  display: inline-block;
}
.palette .primary {
  background: #d43030;
}
.palette .secondary {
  background: #d87a00;
}
.palette .tertiary {
  background: #e4c900;
}
.palette .quaternary {
  background: #37bc37;
}
.palette .quinary {
  background: #4343c6;
}
.palette .senary {
  background: #9b1cf5;
}
.palette .septenary {
  background: #b902b9;
}
.palette li:before {
  content: "";
}

.secondary-palette {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
}
.secondary-palette li {
  width: 25%;
  height: 1.5rem;
}
.secondary-palette .cyan {
  background: #1ba5a5;
}
.secondary-palette .magenta {
  background: #c013b4;
}
.secondary-palette .yellow {
  background: #c6b21f;
}
.secondary-palette .black {
  background: #010902;
}
.secondary-palette li:before {
  content: "";
}

.rainbow {
  background: #d43030;
  color: #0b0909;
}
