* {
  box-sizing: border-box;
}

:root {
  font-size: 2vw;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  line-height: 1.2;
}
body {
  overflow: hidden;
  background: #080000;
  font-family: "Orbitron", sans-serif;
  font-weight: 400;
  color: #43f4f4;
}

.hide {
  visibility: hidden;
}

.fancy {
  box-shadow: 0 5px 5px rgba(0,0,0,.2);
  border-radius: 0 0 500px 500px / 0 0 4px 4px;
  position: relative;
  display: block;
}
.fancy:before, .fancy:after {
  box-shadow: 0 15px 5px rgba(0, 0, 0, .5);
  position: absolute;
  bottom: 15px;
  z-index: -1;
  width: 50%;
  display: block;
  max-width: 300px;
  content: "";
  height: 50px;
}
.fancy:after {
  transform: rotate(-3deg);
  left: 5px;
}
.fancy:before {
  transform: rotate(3deg);
  right: 5px;
}

section {
  width: 100vw;
  height: 56.25vw;
  margin: auto;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  display: none;
  background-image:
    radial-gradient(
      ellipse farthest-corner at center ,
      #0B1519 70%,
      #1d3a3f
    );
  padding: 1rem 1rem 2rem;

  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  font-size: 2.5rem;
}

section:before {
  width: 100vw;
  height: 60vw;
  content: '';
  display: block;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(to bottom, transparent, rgba(255,255,255,.03), transparent);
  background-repeat: repeat;
  background-size: auto .4rem;
  animation: 4s shift linear infinite;
  pointer-events: none;
}

@keyframes shift {
  from {
    transform: translate3d(0,-1.6rem,0);
  }
  to {
    transform: translate3d(0,0,0);
  }
}

section > p {
  font-size: 1.5rem;
}

section.full {
  padding: 0;
}

iframe {
  width: 80%;
  height: 90%;
  border: 0 none;
  background: #011;
}

h1, h2, h3, h4, .glow {
  margin-top: 0;
  text-align: center;
  margin-bottom: 0;
  font-weight: 700;
  word-wrap: break-word;
  max-width: 80vw;
  text-shadow: 0 0 4em #43f4f4cc;
  -moz-text-fill-color: #43f4f411;
  -webkit-text-fill-color: #43f4f411;
  -moz-text-stroke-color: #43f4f4;
  -webkit-text-stroke-color: #43f4f4;
  -moz-text-stroke-width: 2px;
  -webkit-text-stroke-width: 2px;
}

.evil {
  color: #FF8C00;
  text-shadow:
    0 0 4em #FF8C00,
    0 0 4em #FF8C0088;
  position: relative;
  z-index: 1;
  -moz-text-fill-color: #FF8C0033;
  -webkit-text-fill-color: #FF8C0033;
  -moz-text-stroke-color: #FF8C00;
  -webkit-text-stroke-color: #FF8C00;
}

h2, h3, h4 {
  font-weight: 500;
  -moz-text-stroke-width: 1px;
  -webkit-text-stroke-width: 1px;
}

h1 {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 4rem;
}

h3 {
  font-size: 3rem;
}

@media (min-aspect-ratio: 16/9) {
  :root {
    font-size: calc(16 / 9 * 2vh);
  }
  section {
    width: 177vh;
    height: 100vh;
  }
}

.note {
  font-size: .5em;
}

.center {
  text-align: center;
}

section.active {
  display: flex;
}

section img,
section video {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  flex: 1 1 100%;
  vertical-align: middle;
}
section > * + * {
  margin-top: .5rem;
}

section .cols {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

section > .contain {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  object-fit: contain;
  background: #000;
}

.clean {
  -moz-text-fill-color: initial;
  -webkit-text-fill-color: initial;
  -moz-text-stroke-color: initial;
  -webkit-text-stroke-color: initial;
  -moz-text-stroke-width: initial;
  -webkit-text-stroke-width: initial;
  text-shadow: 0 none;
}
pre {
  text-align: left;
  -moz-text-fill-color: currentColor;
  -webkit-text-fill-color: currentColor;
  -moz-text-stroke-color: currentColor;
  -webkit-text-stroke-color: currentColor;
  -moz-text-stroke-width: currentColor;
  -webkit-text-stroke-width: currentColor;
  color: #fff;
}
pre:first-child {
  margin-top: 0;
}
pre code {
  font-size: 1rem;
  line-height: 1.2;
}

h1:last-child {
  margin: 0;
}

ul {
  margin: 0;
}

.cite {
  font-size: 2rem;
  color: inherit;
}
.cite:after {
  content: ':\00a0\00a0' attr(href);
}

.term {
  background: #222;
  color: #ddd;
  white-space: pre;
  width: 42ch;
  margin: 0 1ch;
  padding: 1ch;
}
.nowid {
  width: auto;
}
.fw {
  width: 100%;
}
.bigger {
  font-size: 1.5em;
}
.pr {
  position: relative;
}
.white {
  color: white;
}

blink {
  animation: 1s blink linear infinite;
}

@keyframes blink {
  50% {
    opacity: 1;
  }
  51% {
    opacity: 0;
  }
  to {
    opacity: 0;
  }
}

pre {
  max-width: 90%;
  max-height: 100%;
  margin-bottom: 0;
  overflow: auto;
}

.cani {
  width: 35rem;
  height: 15rem;
  transform: scale(1.25);
}

.stylish {
  display: block;
  padding: 1rem;
  text-align: left;
  font-size: .8rem;
  font-family: monospace;
  white-space: pre;
  overflow: auto;
  max-height: 80vh;
  background: rgba(255,255,255,.1);
}

.stack > div {
  text-align: center;
  border: .1em solid black;
  margin-top: -.1em;
  display: flex;
  flex-direction: row;
  justify-content: center;
  min-width: 10em;
  line-height: 1.8
}
.stack > div > div {
  flex-grow: 1;
  width: 100%;
  text-align: center;
}
.stack > div > div + div {
  border: 0 none;
  border-left: .1em solid black;
}

.zoom-1-5 {
  width: 53%;
  height: 66%;
  transform: scale(1.5);
}

.zoom-2 {
  width: 40%;
  height: 50%;
  transform: scale(2);
}

.progress {
  position: absolute;
  bottom: 0px;
  height: .5vh;
  left: calc(-100vw + 1.5vh);
  transition: 300ms transform ease-out;
  background: #000;
  width: calc(100vw - 1.5vh);
  transform: translate(0, 0);
  --color: black;
  background: var(--color);
  box-shadow: 0 0 1em var(--color);
}
.progress:after {
  background: var(--color);
  box-shadow: 0 0 1em var(--color);
  content: '';
  width: 1.5vh;
  height: 1.5vh;
  position: absolute;
  right: -1.5vh;
  top: -.5vh;
  border-radius: 1vh;
}
.talk-progress {
  bottom: 3.5vh;
  --color: rgb(255,140,0);
}
.time-progress {
  bottom: 1.5vh;
  --color: rgb(0,255,255);
}

.nope:before {
  z-index: 1;
  content: url(img/nope.svg);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
}

.tall {
  height: 100vh;
}

section > .cover {
  pointer-events: none;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  object-fit: cover;
}
iframe.cover {
  pointer-events: auto;
}

.ua {
  font-size: 1.2rem;
}
