body {
  margin: 0;
}

section#banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

section#banner video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  object-fit: cover;
}

section#banner div.banner {
  position: relative;
  z-index: 1;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

section#banner div.banner h4,
section#banner div.banner h1,
section#banner div.banner h2,
section#banner div.banner a.btn_start {
  margin: 1rem;
}

section#banner div.banner object {
  margin: 2rem auto;
  width: 50rem;
  height: auto;
  user-select: none;
}

section#banner div.banner h1 span {
  font-size: 8rem;
  font-weight: 600;
  font-family: "Aware", 'inter', sans-serif;
  color: white;
  -webkit-text-stroke: 1px white;
  text-align: center;
  clip-path: inset(0 100% 0 0);
  transition: all 0.6s cubic-bezier(0.76, 0, 0.24, 1);
  transition-delay: 0.6s;
}

section#banner div.banner h2 span {
  font-size: 3.5rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: white;
  letter-spacing: 0.5px;
  text-align: center;
  clip-path: inset(0 100% 0 0);
  transition: all 0.6s cubic-bezier(0.76, 0, 0.24, 1);
  transition-delay: 1s;
}

section#banner div.banner h1 div.clipBg,
section#banner div.banner h2 div.clipBg {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  clip-path: inset(0 100% 0 0);
}

section#banner div.banner h4 {
  margin: 0.5rem auto;
  font-size: 4rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: white;
  letter-spacing: 0.5px;
  text-align: center;
  transform: scale(0);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.61, 0.97);
}

section#banner div.banner a.btn_start {
  margin: 2rem auto;
  padding: 0.6rem 3.2rem;
  font-size: 2.5rem;
  font-weight: 600;
  font-family: var(--primaryfont_sans);
  color: white;
  background: var(--darkblack);
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  letter-spacing: 0.5px;
  transform: scale(0);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.61, 0.97);
}

section#banner div.banner.loaded::before {
  opacity: 1;
  visibility: visible;
}

section#banner div.banner.loaded h1 span,
section#banner div.banner.loaded h2 span {
  clip-path: inset(0 0 0 0);
}

@keyframes clip_path {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  50% {
    clip-path: inset(0 0 0 0);
  }
  100% {
    clip-path: inset(0 0 0 100%);
  }
}

section#banner div.banner.loaded h4,
section#banner div.banner.loaded a.btn_start {
  transform: scale(1);
}

@media (max-width: 768px) {
  section#banner div.banner h2 span {
    font-size: 2.5rem;
  }
}

@media (max-width: 414px) {
  section#banner div.banner h2 span {
    font-size: 1rem;
    clip-path: none; 
  }
 
 @media (max-width: 768px) {
  section#banner div.banner h1 span {
    font-size: 5rem;
  }
  
  section#banner div.banner h2 span {
    font-size: 2rem;
  }
  
  section#banner div.banner h4 {
    font-size: 2rem;
  }
  
  section#banner div.banner a.btn_start {
    padding: 0.6rem 2.2rem;
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  section#banner div.banner h1 span {
    font-size: 5rem;
  }
  
  section#banner div.banner h2 span {
    font-size: 2rem;
  }
  
  section#banner div.banner h4 {
    font-size: 2rem;
  }
  
  section#banner div.banner a.btn_start {
    padding: 0.6rem 2.2rem;
    font-size: 2rem;
  }
}

}

@keyframes line_forward {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes line_reverse {
  100% {
    stroke-dashoffset: 640;
  }
}


