/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Notification animations */
.notification-enter {
  animation: fadeIn 0.2s ease-in;
}

.notification-exit {
  animation: fadeOut 0.2s ease-out;
}

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

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

/* Mobile responsive adjustments for notifications */
@media (max-width: 640px) {
  #contact-notifications {
    right: 1rem;
    left: 1rem;
    max-width: calc(100% - 2rem);
  }
}

/* Snow background effect */
.snow-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* Override background for secondary light elements except body for snow background effect */
.bg-secondary-light:not(body) {
  background: transparent !important;
}
