.axili-front-page {
  position: relative;
  min-height: 50dvh;
  overflow-x: hidden;
}

.hero {
  background-color: hsl(var(--axili-background));
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding-bottom: 15%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
}

.hero-video {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-position: 0px 0px;
  background-image: radial-gradient(
    157% 100% at 99% 1%,
    #ffffff00 55%,
    #ffffff00 0%,
    hsl(var(--axili-background)) 100%
  );

  z-index: 1;
}

.hero-content {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 1rem;
  z-index: 2;
  /* background-color: rgba(0, 0, 0, 0.5); */
  justify-content: space-between;
  width: 100%;
  max-width: var(--axili-container-width);
}

@media screen and (max-width: 768px) {
  .hero-content {
    bottom: 0;
    left: 0;
    flex-direction: column-reverse;
  }
}

.hero-description {
  font-size: 5rem;
  font-weight: 600;
  color: hsl(var(--axili-title));
  margin-right: auto;
}

.hero-word {
  display: block;
  width: fit-content;
  line-height: 1;
  padding: 1rem;
  letter-spacing: 0.25rem;
  font-weight: 600;
}
.hero-word:nth-child(2) .hero-letter {
  display: inline-block;
}

@media screen and (max-width: 768px) {
  .hero-description {
    font-size: 3.2rem;
  }
}

@media screen and (max-width: 768px) {
  .hero-actions {
    bottom: 2rem;
    right: 2rem;
  }
}

.hero-content a.btn {
  background-color: transparent;
  margin: 0 auto;
  padding: 1rem 2rem;
  color: color-mix(
    in srgb,
    hsl(var(--axili-primary)) 5%,
    hsl(var(--axili-title))
  );
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 0.5rem;
}

.hero-content a.btn span,
.hero-content a.btn i {
  display: block;
  transform: translateY(0) scale(1);
  transition: transform 0.2s ease-in-out;
}
.hero-content a.btn:hover {
  color: hsl(var(--axili-title));
}

.hero-content a.btn:hover span {
  transform: translateY(-0.25rem) scale(1.05);
}
.hero-content a.btn:hover i {
  transform: translateY(1rem) scale(1.5);
}

@media screen and (max-width: 768px) {
  .hero-content {
    text-align: center;
    text-shadow: 0 0 6px black;
  }
  .hero-description {
    margin: 0 auto;
  }
}
@media screen and (max-width: 1378px) {
  .hero-logo {
    display: none;
  }
}
.hero-logo {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  z-index: 2;
  width: 256px;
}
