body {
    font-size: calc(.015 * var(--width));
    color: var(--very-light-porsche);
}
body {
    visibility: hidden;
    opacity: 0;
    transition: all 1s ease;
}
body.loaded {
    visibility: visible;
    opacity: 1 !important;
}
h1, h2, h3, h4 {
    color: var(--porsche);
    font-family: Oswald, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
}

h1 {
    font-size: calc(.075 * var(--width));
    text-shadow: 0 -1px 1px #fdf1e4d9, 0 2px 2px rgba(0,0,0, .5);
}
h2 {
    font-size: calc(.05 * var(--width));
    text-shadow: 0 -1px 1px #fdf1e4d9, 0 2px 2px rgba(0,0,0, .3);
    margin-bottom: .5em;
}
h4 {
    text-transform: none;
    font-size: calc(.02 * var(--width));
    color:var(--dark-porsche);
    text-shadow: 0 2px 2px rgba(0,0,0, .15);
}
ul, p {
    text-shadow: 0 -1px 0 rgba(0,0,0,0.5);
    font-weight: 500;
}
ul {
    list-style-type: square;
}
li {
    margin: 2vw 0;
}

a {
    color: var(--turquoise);
}
a:hover {
    color: var(--dark-turquoise);
}

code {
    font-family: 'Share Tech Mono', Courier, monospace;
}

ul {
    max-width:80%;
    margin:auto;
}

.slide {
    min-width: 70vw;
    max-width: 90vw;
}
#bars {
    position: absolute;
    bottom:9px;
    left:0;
    height:10vw;
    width:100%;
    z-index:9;
    display:flex;
    align-items: flex-end;
    opacity: .8;
    mix-blend-mode: multiply;
}
.bar {
    border-radius: 3px;
    margin:6px;
    flex: 1;
    box-shadow: 0 0 13px #84ece1;
    background: #84ece199 radial-gradient(#84ece1 50%, transparent 50%);
    position: relative;
    background-size: 7px 7px;
    background-position: 0 0, 100%, 100%;
    background-position: left bottom;
}
.bar:after {
    border-radius: 3px;
    position: absolute;
    left:0;
    bottom: -21px;
    content: " ";
    width:100%;
    box-sizing: border-box;
    background: #ffbeac;
    height: 15px;
    border:solid 1px #d66d76;
    box-shadow: 0 0 5px #ff5b6988;
}
.colorize:after {
    content: " ";
    position: absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    background: var(--chocolate);
    mix-blend-mode: hue;
    z-index: 3;
}
.video video, #stand-by video, #testing video {
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
}
.video video {
    height:auto;
}
#bad-guy {
    pointer-events: none;
    position:absolute;
    left:0;
    top:0;
    z-index:9;
    width:100%;
    height:100%;
    overflow:hidden;
    mix-blend-mode: hard-light;
}
#bad-guy video {
    opacity:.8;
    /* transform: translateY(-25%); */
    transform: translateY(-5%);
}
.video.substep {
    transition: opacity 1s ease-in-out !important;
}
.video.substep.substep-visible {
    opacity: .8;
}


.text-truffle {
    font-family: 'Roboto Mono', monospace;
    font-weight: 600;
    letter-spacing: .125em;
    text-transform: uppercase;
    font-style:normal;
  
  }
  .text-ganache {
    font-family:'Grand Hotel', serif;
    font-size: 1.5em;
    font-style:normal;
    line-height: 1.1em !important;
  }
  .text-drizzle {
    font-family:'Varela Round', sans-serif;
    font-size: 1.1em;
    font-style:normal;
  }
  .text-drizzle span {
    display:inline-block;
  }
  .text-drizzle span:nth-child(1) {
    transform:skewY(-20deg) translateX(0.06em);
  }
  .text-drizzle span:nth-child(2) {
    transform:skewY(-20deg) translate(-0.06em, 0.26em)
  }
  
  .text-deemphasized {
    font-family: Oswald;
    font-weight: 200;
    color: var(--very-light-porsche2);
  }


  #qr img {
    filter: hue-rotate(-154deg);
    animation: hue-rotate 60s linear infinite;
  }

  @keyframes hue-rotate {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(359.9deg);
    }
  }