.greetings {
  flex-direction: column;
  gap: 0 20px;
}
.hero-banner {
  height: 100vh;
}
.portfolio-profile {
  gap: 0 50px;
}
.hero-banner .row {
  position: relative;
}
.portfolio-profile img {
  max-width: 326px;
}
.hero-banner .portfolio-introduction {
  gap: 10px 0;
}
.hero-banner .portfolio-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  margin-bottom: 20px;
}
.hero-banner .anchor-bottom {
  border-radius: 50px;
}
.hero-banner .portfolio-links {
  gap: 0 20px;
}
.hero-banner .anchor-bottom:hover svg rect {
  stroke: var(--green-white);
  fill: var(--light-green);
}
.hero-banner .anchor-bottom:hover svg path {
  fill: var(--green-white);
}
.hero-banner .portfolio-footer a:hover svg {
  animation: bounce 1s ease-in-out infinite;
}
caret {
  border-right: 0.05em solid;
  animation: caret 1s steps(1) infinite;
}
.banner-text {
  height: 30px;
  overflow: hidden;
}
.main-text {
  animation: showUp 10s infinite;
  opacity: 1;
}
.second-text {
  animation: showUp2 10s infinite;
}
.floating-image {
  position: absolute;
  right: 0;
  bottom: 37%;
  height: 20%;
  margin-right: 190px;
  animation: floating-image 5s infinite;
}
@keyframes floating-image {
  0% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(-5px);
  }
}
@keyframes showUp {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  15% {
    transform: translateY(0);
    opacity: 1;
  }
  30% {
    transform: translateY(-30px);
    opacity: 1;
  }
  45% {
    transform: translateY(-30px);
    opacity: 0;
  }
  60% {
    opacity: 0;
  }
  75% {
    opacity: 0;
    transform: translateY(30px);
  }
  90% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes showUp2 {
  0% {
    margin-top: 0;
  }
  15% {
    margin-top: 0;
  }
  30% {
    margin-top: -30px;
  }
  45% {
    margin-top: -30px;
  }
  60% {
    margin-top: -60px;
  }
  75% {
    margin-top: -60px;
  }
  90% {
    margin-top: -90px;
  }
  100% {
    margin-top: -90px;
  }
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-15px);
  }
}

/* Responsiveness */
@media (max-width: 1520px) {
  .floating-image {
    bottom: 45%;
    margin-right: 150px;
  }
}
@media (max-width: 1250px) {
  .floating-image {
    bottom: 49%;
    margin-right: 130px;
    height: 17%;
  }
}
@media (max-width: 1080px) {
  .portfolio-profile {
    flex-direction: column;
    gap: 20px 0;
  }
  .greetings {
    flex-direction: row;
  }
}
@media screen and (max-width: 1024px) {
  .portfolio-profile img {
    max-width: 256px;
  }
}
@media screen and (max-width: 767px) {
  .portfolio-profile {
    flex-direction: column;
    gap: 50px 0;
  }
  .floating-image {
    bottom: 57%;
    height: 13%;
    margin-right: 130px;
  }
  .banner-text,
  .banner-text div {
    height: 46px;
  }
  @keyframes showUp {
    0% {
      transform: translateY(0);
      opacity: 1;
    }
    15% {
      transform: translateY(0);
      opacity: 1;
    }
    30% {
      transform: translateY(-46px);
      opacity: 1;
    }
    45% {
      transform: translateY(-46px);
      opacity: 0;
    }
    60% {
      opacity: 0;
    }
    75% {
      opacity: 0;
      transform: translateY(46px);
    }
    90% {
      opacity: 1;
      transform: translateY(0);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes showUp2 {
    0% {
      margin-top: 0;
    }
    15% {
      margin-top: 0;
    }
    33% {
      margin-top: -46px;
    }
    45% {
      margin-top: -46px;
    }
    60% {
      margin-top: -92px;
    }
    75% {
      margin-top: -92px;
    }
    90% {
      margin-top: -138px;
    }
    100% {
      margin-top: -138px;
    }
  }
}
@media screen and (max-width: 575px) {
  .portfolio-profile img {
    max-width: 206px;
  }
  .floating-image {
    bottom: 60%;
    height: 13%;
  }
}
@media (max-width: 475px) {
  .floating-image {
    bottom: 73%;
    margin-right: 70px;
    height: 10%;
  }
  .greetings {
    flex-direction: column;
  }
}
@media (max-width: 390px) {
  .floating-image {
    bottom: 78%;
    margin-right: 60px;
    height: 8%;
  }
}
