.heroImg.active .arrowAnimation2 {
  animation: arrowAnimation 8s ease-out infinite;
  -webkit-animation: arrowAnimation 8s ease-out infinite;
}

@keyframes arrowAnimation {
  0%,
  100% {
    top: 100%;
  }
  10%,
  90% {
    top: 0;
  }
}

.heroImg.active .mainImage2 img {
  animation: arrowAnimation 4s ease-out infinite;
  -webkit-animation: arrowAnimation 4s ease-out infinite;
}

/* Container styling */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 1rem;
  height: 30px;
  margin: 0 auto;
}

/* Bar styling */
.bar {
  width: 7%;
  height: 0.6vw;
  background-color: #444;
  opacity: 0.3;
  animation: blink 1s infinite ease-in-out;
}

@keyframes blink {
  0%,
  50%,
  100% {
    opacity: 0.3;
  }
  25% {
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  .bar {
    width: 30px;
    height: 6px;
  }
}

/* text slider */
.slide-container {
  width: 150%;
  height: auto;
  overflow: hidden;
  background: white;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
}

.wrapper {
  width: 100%;
  max-width: 2526px;
  margin: auto;
  height: 50px;
  position: relative;
}

.item {
  width: 300px;
  height: 100%;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  position: absolute;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -o-transition: 0.2s;

  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-container .item {
  animation: scrollLeft 30s linear infinite;
  -webkit-animation: scrollLeft 30s linear infinite;
  left: calc(300px * 10);
}

.slide-container.rightSlider .item {
  animation: scrollRight 30s linear infinite;
  -webkit-animation: scrollRight 30s linear infinite;
  left: -300px;
}

.item h4 {
  font-size: 51px;
  text-transform: uppercase;
  animation: text_animation 1s ease-in-out infinite;

  color: white;
  -webkit-text-stroke: 1.5px black;
}

.slide-container.footer_slide h4 {
  color: black;
}

.item:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}

@keyframes scrollLeft {
  to {
    left: -300px;
  }
}

@keyframes scrollRight {
  to {
    left: calc(300px * 10);
  }
}

/* media queries */
@media screen and (max-width: 1024px) {
  .slide-container {
    width: 190%;
  }
}

.how-to-animation {
  display: inline-block;
  animation: rotateShakeSubtle 3.2s ease-in-out infinite;
  transform-origin: 50% 50%;
}

@keyframes rotateShakeSubtle {
  0% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(-3deg);
  }
  30% {
    transform: rotate(2deg);
  }
  50% {
    transform: rotate(-2deg);
  }
  70% {
    transform: rotate(1deg);
  }
  90% {
    transform: rotate(-1deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* social hover */
.social-btn {
  transition: 0.3s ease-in-out;
}

.social-btn:hover {
  transform: rotate(15deg) scale(1.1);
}

/* rotate */

.rotate_animation {
  animation: rotate_animation 10s linear infinite;
}

@keyframes rotate_animation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
  }
}

/* shake animation */
.shake_animation {
  animation: shake_animation 2s linear infinite;
}

@keyframes shake_animation {
  0% {
    transform: rotate(0deg);
  }
  20%,
  40%,
  50% {
    transform: rotate(2deg);
  }
  30%,
  50%,
  60% {
    transform: rotate(-2deg);
  }
  70% {
    transform: rotate(0deg);
  }
}

/* animation */
.float_animation {
  animation: float 2s ease-in-out infinite;
  -webkit-animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translatey(0px);
  }
  50% {
    transform: translatey(-10%); 
  }
  100% {
    transform: translatey(0px);
  }
}

.zoomIn_animation {
  animation: zoomIn_animation 12s ease-in-out infinite;
  -webkit-animation: zoomIn_animation 12s ease-in-out infinite;
}

@keyframes zoomIn_animation {
  0%,
  100% {
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
  }
  50% {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
  }
}
