*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  height: 100%;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background-color: #9ad8e8;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("img/bg-Desktop.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  animation: fade-in 1s ease both;
}

.stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(1rem, 3vw, 2.5rem);
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.banner {
  display: block;
  width: min(100%, 1280px);
  line-height: 0;
}

.banner img {
  display: block;
  width: 100%;
  height: auto;
  animation: soft-float 10s ease-in-out infinite alternate;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes soft-float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-6px);
  }
}

@media (max-width: 768px) {
  .bg {
    background-image: url("img/bg-Moblie.jpg");
  }

  .stage {
    padding: 1rem 0.75rem;
  }

  .banner {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
