/* ///////////////////////////////////////////////////////////////////// */
/* Imports */

@import url(../../../src/utilities/colors.css);

/* ///////////////////////////////////////////////////////////////////// */
/* Hero */

.hero {
  position: relative;
  height: 85vh;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

@media (min-aspect-ratio: 16/10) {
  .hero {
    height: 90vh;
  }
}

@media (min-aspect-ratio: 16/9) {
  .hero {
    height: 90vh;
  }
}

@media (min-width: 1024px) and (max-height: 800px) {
  .hero {
    height: 90vh;
  }
}

/* ///////////////////////////////////////////////////////////////////// */
/* Videos */

.hero-desktop-video {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  height: 100%;
  width: auto;
  pointer-events: none;
  z-index: -1;
}

.hero-mobile-video {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  height: auto;
  width: 100%;
  pointer-events: none;
  z-index: -1;
}

@media (min-width: 768px) and (max-width: 1200px) {
  .hero-desktop-video {
    display: block;
  }

  .hero-mobile-video {
    display: none;
  }
}

@media (min-width: 1201px) {
  .hero-desktop-video {
    display: block;
    height: auto;
    width: 100%;
  }

  .hero-mobile-video {
    display: none;
  }
}

/* ///////////////////////////////////////////////////////////////////// */
/* Container */

.hero-container {
  position: absolute;
  bottom: 2.4rem;
  left: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  z-index: 3;
}

@media (min-width: 1700px) {
  .hero-container {
    bottom: 40%;
    left: 50%;
    transform: translate(-50%, 50%);
    align-items: center;
    width: 100%;
  }
}

@media (min-width: 1024px) and (max-width: 1699px) {
  .hero-container {
    bottom: 37.5%;
    left: 50%;
    transform: translate(-50%, 50%);
    align-items: center;
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-container {
    bottom: 35%;
    left: 50%;
    transform: translate(-50%, 50%);
    align-items: center;
    width: 100%;
  }
}

/* ///////////////////////////////////////////////////////////////////// */
/* Title */

.hero-title {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  justify-content: start;
  justify-items: start;
  align-content: center;
  align-items: center;
  column-gap: 1.2rem;
  font-family: jura, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  padding-right: 1.2rem;
  margin-bottom: 0.6rem;
}

#hero-title-piece-1 {
  grid-column: 1;
  grid-row: 1;
  font-size: 3.6rem;
}

#hero-title-piece-2 {
  grid-column: 1;
  grid-row: 2;
  font-size: 13.25vw;
  line-height: 0.8;
  text-indent: -0.4rem;
}

#hero-title-piece-3 {
  grid-column: 2;
  grid-row: 2;
  font-size: 13.25vw;
  line-height: 0.8;
}

@media (min-width: 1700px) {
  .hero-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.4rem;
    line-height: 1;
    text-indent: 0.8rem;
    padding-right: 0;
  }

  #hero-title-piece-1 {
    font-size: 7.6rem;
  }

  #hero-title-piece-2 {
    font-size: 7.6rem;
    text-indent: 0;
  }

  #hero-title-piece-3 {
    font-size: 7.6rem;
    text-indent: -0.3rem;
  }
}

@media (min-width: 768px) and (max-width: 1699px) {
  .hero-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    line-height: 1;
    text-indent: 0.6rem;
    padding-right: 0;
  }

  #hero-title-piece-1 {
    font-size: 6.3rem;
  }

  #hero-title-piece-2 {
    font-size: 6.3rem;
    text-indent: 0;
  }

  #hero-title-piece-3 {
    font-size: 6.3rem;
    text-indent: -0.3rem;
  }
}

/* ///////////////////////////////////////////////////////////////////// */
/* Sub Title */

.hero-sub-title {
  font-size: 2.4rem;
  text-transform: capitalize;
  padding-right: 1.2rem;
  margin-bottom: 0.6rem;
}

@media (min-width: 1700px) {
  .hero-sub-title {
    font-size: 3.6rem;
    padding-right: 0;
  }
}

@media (min-width: 768px) and (max-width: 1699px) {
  .hero-sub-title {
    font-size: 3rem;
    padding-right: 0;
  }
}

/* ///////////////////////////////////////////////////////////////////// */
/* Text Glow */

.textGlow {
  font-family: jura, sans-serif;
  font-weight: 700;
  text-shadow: 0 0 0.3rem var(--white), 0 0 0.6rem var(--white),
    0 0 0.9rem var(--orange), 0 0 1.2rem var(--orange), 0 0 2.4rem var(--orange),
    0 0 3.6rem var(--orange), 0 0 4.8rem var(--purple), 0 0 5.6rem var(--purple),
    0 0 6.4rem var(--purple);
}

/* ///////////////////////////////////////////////////////////////////// */
/* Subtext */

.hero-subtext {
  padding-right: 1.2rem;
  margin-bottom: 0.6rem;
}

@media (min-width: 1700px) {
  .hero-subtext {
    text-align: center;
    width: 100%;
    max-width: 72rem;
    padding-right: 0;
    margin: 0 auto;
  }
}

@media (min-width: 768px) and (max-width: 1699px) {
  .hero-subtext {
    text-align: center;
    width: 100%;
    max-width: 61rem;
    padding-right: 0;
    margin: 0 auto;
  }
}

/* ///////////////////////////////////////////////////////////////////// */
/* Button Box */

.hero-button-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

@media (min-width: 768px) {
  .hero-button-box {
    flex-direction: row;
    align-items: center;
    margin-top: 3.6rem;
  }
}

/* ///////////////////////////////////////////////////////////////////// */
/* Fade */

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 16.4rem;
  width: 100%;
  background-image: linear-gradient(
    to bottom,
    var(--blue-black-00) 0%,
    var(--blue-black) 100%
  );
  z-index: 2;
}
