/* animations */
@keyframes arrow {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* panel 1 */
#hero {
  height: calc(100vh - 100px);
  align-content: end;
  align-content: flex-end;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

#hero .mobile-image {
  position: relative;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

#hero div {
  position: relative;
  z-index: 2;
  padding: 1.5rem 1rem 3rem 1rem;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 212, 255, 0) 100%
  );
}

#hero img.hero-arrow {
  margin-top: 2rem;
}

#hero p {
  font-size: 1.25rem;
}

#hero h1 {
  font-size: 2.5rem;
  line-height: 1;
}

#hero img.hero-arrow {
  animation-name: arrow;
  animation-duration: 2s;
  animation-timing-function: ease-out;
}

@media (min-width: 767px) {
  #hero h1 {
    font-size: 5rem;
  }

  #hero img.hero-arrow {
    margin-top: 3rem;
  }

  #hero p {
    font-size: 1.625rem;
  }

  #hero .desktop-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}
