@font-face {
    font-family: 'Starjedi';
    src: url(Starjedi.ttf);
}


*{
    margin: 0;
    padding: 0;
}

body{
    background-image: url(./img/1.webp);
    perspective: 500px;
    overflow: hidden;
}

.container {
    display: block;
  text-align: center;
}

#hero {
  
  font-family: 'Starjedi';
  font-size: 220px;
  -webkit-text-stroke: 10px yellow;   
  -webkit-text-fill-color: black;    
  letter-spacing: 3;
  opacity: 0;
  letter-spacing: 10px;
  /* animation: throwLeftArc 1s ease-out; */
  animation: appearandaway 10s ease-in;
}


@keyframes appearandaway {
  0% {
    opacity: 0;
    transform: scale(1.5) translateY(20px);

  }
  50% {
    opacity: 1;
    transform: scale(1) translateY(20px);
  }
  100% {
    opacity: 0;
    transform: scale(0.8) translateY(-250px);
  }
}

  /* @keyframes throwLeftArc {
    0% {
      opacity: 1;
      transform: translate(0, 0) rotate(0deg);
    }
    25% {
      opacity: 1;
      transform: translate(-100px, -50px) rotate(90deg);
    }
    50% {
      opacity: 1;
      transform: translate(-200px, -100px) rotate(180deg);
    }
    75% {
      opacity: 1;
      transform: translate(-300px, -50px) rotate(270deg);
    }
    100% {
      opacity: 1;
      transform: translate(-400px, 0) rotate(360deg);
    }
  } */


.container2{
    text-align: center;
}

#bottom{
   
    animation: crawl 5s linear;
}
.crawl{
    font-family: 'Starjedi';
    font-size: 50px;
    color: yellow;
    position: absolute;
    bottom: -100%;
    width: 90%;
    margin: 0 5%;
    text-align: center;
    font-size: 2em;
    line-height: 1.5em;
    transform-origin: 50% 100%;
    transform: rotateX(35deg);
    animation: crawl 40s linear;
    animation-delay: 2s;
    opacity: 0;
}

.highlight {
font-size: 4em;
line-height: 1em;
color: yellow;  
}

@keyframes crawl {
  0%{
    opacity: 1;
    bottom: -225%;
  }
  50%{
    opacity: 0.7;
    bottom: -100%;
  }
  100%{
    opacity: 0;
    bottom: 100%;
  }
}