.incisive_icon {
  width: 100px;
  height: 100px;
}

#hero .container {
  align-items: start;
  justify-content: flex-end;
  overflow-y: hidden;
}

#hero .grid {
  display: grid;
}

#hero .grid > div {
  grid-area: stack;
  display: grid;
  width: 100%;
  height: 80%;
}

#hero-icon {
  position: relative;
  animation: kiteFlyIn 1.6s forwards;
}

#hero-icon > img {
  grid-row: 3;
  grid-column: 2;
  position: absolute;
  animation: kiteFlyInRotation 2s forwards ease-in;
  transform: rotate(120deg) scale(0.1);
}

#hero-title {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(6, 100px);
  max-width: 820px;
  width: fit-content;
}

#hero-title div {
  grid-row: 4;
}

@keyframes kiteFlyInRotation {
  0% {
    transform: rotate(120deg) scale(0.1);
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  18% {
    transform: rotate(30deg);
  }

  24% {
    transform: rotate(20deg);
  }

  40% {
    transform: rotate(8deg);
  }

  80% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(0deg) scale(1);
  }
}

@keyframes kiteFlyIn {
  0% {
    grid-template-columns: 0% 10% repeat(9, 10%);
    grid-template-rows: 0% 10%;
  }

  18% {
    grid-template-rows: 95% 5%;
  }

  22% {
    grid-template-rows: 93% 7%;
  }

  100% {
    grid-template-columns: 90% minmax(100px, 10%) repeat(9, 0%);
    grid-template-rows: 20% 30%;
  }
}

@media screen and (max-width: 640px) {
  #hero .container {
    padding-left: 0;
  }

  #hero .grid {
    padding-left: 20px;
  }

  #hero-icon > img {
    grid-row: 8;
    grid-column: 2;
    animation: none;
    transform: rotate(0deg);
  }

  #hero-title div {
    grid-row: 5;
  }

  @keyframes kiteFlyIn {
    0% {
      grid-template-columns: 25% 25% 50%;
      grid-template-rows: repeat(6, 10%) 20% 10%;
      opacity: 0;
    }

    100% {
      grid-template-columns: 80% 10% 0%;
      grid-template-rows: repeat(6, 10%) 5% 30%;
      opacity: 1;
    }
  }
}

@media screen and (max-width: 390px) {
  @keyframes kiteFlyIn {
    0% {
      grid-template-columns: 25% 25% 50%;
      grid-template-rows: repeat(6, 10%) 20% 10%;
      opacity: 0;
    }

    100% {
      grid-template-columns: 75% 10% 0%;
      grid-template-rows: repeat(6, 10%) 10% 15%;
      opacity: 1;
    }
  }
}
