/*  - - - - -  mobile stylesheet (up to 767px)  - - - - -  */
/* - - - - -  typography start - - - - - */
h1 {
  font-size: 7rem;
  font-weight: normal;
  line-height: 85%;
  text-shadow: 0px 0px 15px #000000;
  color: var(--lrht-color-01);
}

/* h2 {
  font-family: "Cookie";
  font-size: 1.5rem;
}

h3 {
  font-family: "Cookie";
  font-size: 1.25rem;
}

h4 {
  font-family: "Cookie";
  font-size: 1rem;
} */

/* p {
  font-size: 1rem;
} */

a {
  font-size: 1.5rem;
  text-decoration: none;
  color: white;
}
/* - - - - -  typography end - - - - - */

.hero {
  width: 100%;
  height: 100vh;
  background: rgba(12, 3, 51, 0.3); /* fallback color */
  position: relative;
  padding: 0 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.back-video {
  position: fixed; /* changed from absolute */
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover; /* this is the key for perfect scaling */
}

.content {
  text-align: center;
  /* position: relative; ensures it stays above video */
  z-index: 1;
}

.content h1 {
  margin-top: 90%;
  transition: 0.5s;
}

.content a {
  padding: 12px 100px;
}

.content h1:hover {
  color: var(--lrht-color-03);
}

.content a {
  display: inline-block;
  border: 2px solid var(--lrht-color-01);
  padding: 10px 30px;
  margin-top: 50px;
  border-radius: 50px;
  transition: 0.5s;
}

.content a:hover {
  background: var(--lrht-color-05);
  color: yellow;
}

/* iOS-specific fix for fullscreen video */
@supports (-webkit-touch-callout: none) {
  .back-video {
    height: 100vh;
  }
}
