/* Base Styles */
body {
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

/* Animations Classes */
.animate-fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
}

.animate-fade-in-down {
  animation: fadeInDown 0.3s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Custom Wave Animation */
@keyframes move-forever {
  0% { transform: translate3d(-90px, 0, 0); }
  100% { transform: translate3d(85px, 0, 0); }
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

/* Utility for dynamic classes */
.nav-scrolled {
  background-color: white !important;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1) !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.nav-transparent {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

#info {
  border-radius: 300px; 
  margin: 10px 31% 0 31%;
}

#gallery {
  height: 600px;
}

@keyframes auto-advance {
  0%, 28% { z-index: 10; opacity: 1; }
  33%, 95% { z-index: 0; opacity: 0; }
  100% { z-index: 10; opacity: 1; }
}

.animate-slide-1 { animation: auto-advance 12s ease-out infinite; }
.animate-slide-2 { animation: auto-advance 12s ease-out infinite; }
.animate-slide-3 { animation: auto-advance 12s ease-out infinite; }
.animate-slide-4 { animation: auto-advance 12s ease-out infinite; }
.animate-slide-5 { animation: auto-advance 12s ease-out infinite; }
.animate-slide-6 { animation: auto-advance 12s ease-out infinite; }
.animate-slide-7 { animation: auto-advance 12s ease-out infinite; }
.animate-slide-8 { animation: auto-advance 12s ease-out infinite; }
.animate-slide-9 { animation: auto-advance 12s ease-out infinite; }
.animate-slide-10 { animation: auto-advance 12s ease-out infinite; }
.animate-slide-11 { animation: auto-advance 12s ease-out infinite; }
.animate-slide-12 { animation: auto-advance 12s ease-out infinite; }
.animate-slide-13 { animation: auto-advance 12s ease-out infinite; }

@media (max-width: 469px) {
  #info { margin: 10px 14% 0 14% }
  #maintext {margin-top: 70px;}
  #gallery {height: 250px !important}
}

@media (min-width: 470px) {
  #info { margin: 10px 18% 0 18% }
}

@media (min-width: 580px){
  #info { margin: 10px 31% 0 31% }
}