/* Speed Madness. The fullscreen banner and the screenshot lightbox are the parts
   the old Revolution Slider and Lightbox2 used to own. Both now run on Bootstrap 5. */

body {
  background: #07080c;
  color: #e7ffe8;
}

#ewMainNav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: #161616 !important;
  border: 0 !important;
}

#ewMainNav > .container {
  max-width: none;
}

#ewMainNav .navbar-brand.position-absolute {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin-right: 1rem;
}

#ewMainNav .ew-site-logo {
  max-height: 4.2rem !important;
}

#ewMainNav .nav-link {
  font-family: "Source Code Pro", monospace;
  font-weight: 300;
  font-size: 0.81rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #fff !important;
  text-decoration: none !important;
}

#ewMainNav .navbar-nav .nav-item:nth-child(1) .nav-link {
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #00f3ff, 0 0 35px #00f3ff;
}

#ewMainNav .navbar-nav .nav-item:nth-child(2) .nav-link {
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #ff7600, 0 0 35px #ff7600;
}

#ewMainNav .navbar-nav .nav-item:nth-child(3) .nav-link {
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #fff700, 0 0 35px #fff700;
}

#ewMainNav .navbar-nav .nav-item:nth-child(4) .nav-link {
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #ff00a5, 0 0 35px #ff00a5;
}

#ewMainNav .navbar-nav .nav-item:nth-child(5) .nav-link {
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #00f3ff, 0 0 35px #00f3ff;
}

#ewMainNav .navbar-nav .nav-item:nth-child(6) .nav-link {
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #91ff00, 0 0 35px #91ff00;
}

@media (min-width: 992px) {
  #ewMainNav .navbar-nav {
    flex-direction: row-reverse;
    gap: 2.4rem;
  }

  #ewMainNav .navbar-nav .nav-item:nth-child(1) {
    display: none;
  }
}

#ew-slider-hero,
#ew-slider-hero .carousel-inner,
#ew-slider-hero .carousel-item,
#ew-slider-hero .ew-slider-slide,
#ew-slider-hero .ew-slider-frame,
#ew-slider-hero .ew-slider-image {
  min-height: 100vh;
  background: #000;
}

#ew-slider-hero.sm-slicing .ew-slider-image {
  opacity: 0;
}

#ew-slider-hero .carousel-item {
  position: relative;
}

#ew-slider-hero.carousel .carousel-item {
  transition: transform 0s;
}

#ew-slider-hero .sm-slices {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

#ew-slider-hero .sm-slice {
  position: absolute;
  top: 0;
  height: 100%;
  background-repeat: no-repeat;
  transform-origin: center center;
  animation: smSlotIn 1.35s cubic-bezier(0.45, 0, 0.55, 1) both;
}

@keyframes smSlotIn {
  0% {
    transform: translateX(100vw) scale(2.15);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

#ew-slider-hero .sm-slide-copy {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12vh 6vw 10vh;
  pointer-events: none;
  perspective: 800px;
}

#ew-slider-hero .sm-slide-title {
  margin: 0;
  text-align: right;
  font-family: "Share Tech Mono", monospace;
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
}

#ew-slider-hero .sm-line {
  display: block;
  margin-top: 0.35rem;
}

#ew-slider-hero .sm-char {
  display: inline-block;
  padding: 0.42em 0.08em 0.38em;
  color: #fff;
  background: transparent;
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #00f3ff, 0 0 35px #00f3ff;
  transform-origin: center center;
  animation: smCharIn 1.15s cubic-bezier(0.22, 0.7, 0.3, 1) both;
}

@keyframes smCharIn {
  0% {
    opacity: 0;
    background: transparent;
    transform: translateX(28vw);
  }
  40% {
    opacity: 1;
    background: transparent;
  }
  100% {
    opacity: 1;
    background: #161616;
    transform: none;
  }
}

#ew-e-smdesc,
#ew-e-smnews,
#ew-e-smshots,
#ew-e-smtrailer,
#ew-e-smdet,
#ew-e-smmore {
  padding-top: 4.5rem;
  padding-bottom: 1rem;
}

#ew-e-smdesc h2,
#ew-e-smnews h2,
#ew-e-smshots h2,
#ew-e-smtrailer h2,
#ew-e-smdet h2,
#ew-e-smdet h3,
#ew-e-smmore h2 {
  font-family: "Share Tech Mono", monospace !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em;
  text-transform: none !important;
  color: #fff !important;
}

#ew-e-smdesc h2 {
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #91ff00, 0 0 35px #91ff00;
}

#ew-e-smtrailer h2 {
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #00f3ff, 0 0 35px #00f3ff;
}

#ew-e-smnews h2 {
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #ff00a5, 0 0 35px #ff00a5;
}

#ew-e-smshots h2,
#ew-e-smmore h2 {
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #fff700, 0 0 35px #fff700;
}

#ew-e-smdet h2 {
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #ff7600, 0 0 35px #ff7600;
}

#ew-e-smdet h3,
.sm-purple {
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #00f3ff, 0 0 35px #00f3ff;
}

.sm-purple {
  font-family: "Share Tech Mono", monospace;
  color: #fff;
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #ff00a5, 0 0 35px #ff00a5;
}

.sm-video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}

.sm-shot {
  display: block;
}

.sm-shot img {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sm-shot:hover img {
  transform: scale(1.03);
  box-shadow: 0 0 0 2px #7cff6b;
}

#smLightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.88);
}

#smLightbox.is-open {
  display: flex;
}

#smLightbox img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  object-fit: contain;
}

#smLightboxClose {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

#ewSiteFooter {
  border-top: 1px solid rgba(124, 255, 107, 0.25);
}

#ewSiteFooter .card,
#ew-e-smnews .card {
  background: #10131a;
  color: #e7ffe8;
  border-color: rgba(124, 255, 107, 0.2) !important;
}

#ew-e-smnews .text-muted {
  color: #8d9a90 !important;
}

@media (max-width: 767.98px) {
  #ew-slider-hero .sm-slide-copy {
    align-items: flex-end;
    justify-content: center;
    padding: 0 1rem 12vh;
  }

  #ew-slider-hero .sm-slide-title {
    text-align: center;
    letter-spacing: 0.12em;
  }
}
