.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 64px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fadeSlide 15s infinite;
}

.bg1 {
  background-image: url("/images/top-mv1.jpeg");
  animation-delay: 0s;
}

.bg2 {
  background-image: url("/images/top-mv2.jpeg");
  animation-delay: 5s;
}

.bg3 {
  background-image: url("/images/top-mv3.jpeg");
  animation-delay: 10s;
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  animation: fadeInText 2s ease-out 1;
}

@keyframes fadeInText {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: 90px;
  font-weight: 700;
  line-height: 1.5;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
}
.hero-content p {
  font-size: 32px;
  text-align: left;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
}
@media screen and (max-width: 768px) {
  .hero-content h1 {
    font-size: 48px;
  }
  .hero-content p {
    font-size: 24px;
    text-align: center;
  }
}
