/* import base css */
@import "base.css";

:root {
  --bg-animation-delay: 1000ms;
  --bg-animation-length: 500ms;
  --bg-animation-timing-function: linear;
}

body {
  position: relative;
  min-height: 100vh;
}

body::after {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  height: 100%;
  width: 50px;
  background-color: var(--bg-color);
  transform: translate(-50%, -50%) skew(-11deg);
  z-index: -1;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.25);
  filter: blur(10px);
  animation: background_appear_animation var(--bg-animation-length) var(--bg-animation-delay) var(--bg-animation-timing-function) forwards;
}

@keyframes background_appear_animation {
  to {
    box-shadow: 0 0 50px 100px rgba(255, 255, 255, 0.25);
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh;
  position: relative;
}

.hero__title_wrapper {
  overflow: hidden;
  white-space: nowrap;
  opacity: 0.5;
  animation: hero__title_appear var(--bg-animation-length) var(--bg-animation-delay) var(--bg-animation-timing-function) forwards;
  display: grid;
  grid-template-columns:0fr;
  justify-content: center;
}

@keyframes hero__title_appear {
  to {
    grid-template-columns: 1fr;
    opacity: 1;
  }
}

.hero__title {
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 1.2;
  font-weight: 900;
  opacity: 0.85;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__subtitle_wrapper {
  position: absolute;
  margin-top: clamp(3rem, 10vw, 7rem);
  overflow: hidden;
  white-space: nowrap;
  opacity: 0.25;
  animation: hero__subtitle_appear calc(var(--bg-animation-length) / 2) calc(var(--bg-animation-delay) + (var(--bg-animation-length) / 2)) var(--bg-animation-timing-function) forwards;
  display: grid;
  grid-template-rows: 0fr;
  transform: translateY(50%);
}

@keyframes hero__subtitle_appear {
  to {
    grid-template-rows: 1fr;
    opacity: 1;
  }
}

.hero__subtitle {
  font-size: clamp(1rem, 5vw, 2rem);
  font-weight: 400;
  opacity: 0.75;
  overflow: hidden;
  /*center texr vertically*/
  display: flex;
  align-items: center;
  justify-content: center;  
  
}
