.banner-wrap {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  background: white;
  height: 420px;
}

.banner-left {
  max-width: 50%;
}

.title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateX(60px);
  animation: slideIn 1s ease forwards;
}

.subtitle {
  font-size: 1rem;
  opacity: .8;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateX(60px);
  animation: slideIn 1s ease forwards;
}

.info .event-title {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(60px);
  animation: slideIn 1s ease forwards;
}

.event-desc {
  opacity: 0;
  transform: translateX(60px);
  animation: slideIn 1s ease forwards;
}

.right-img {
  width: 460px;
  border-radius: 14px;
  animation: float 4s ease-in-out infinite;
}

/* @keyframes float {
  50% { transform: translateY(-16px); }
} */
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .title {
    font-size: 2rem;
  }

  .banner {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  .banner-left,
  .banner-right {
    max-width: 100%;
  }

  .right-img {
    width: 320px;
  }

  /* @keyframes float {
    50% {
      transform: translateX(-16px);
    }
  } */
}