/*
 * 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.
 */

.radial-top-fade-mask {
  mask: radial-gradient(
    ellipse 900px 800px at center top,
    black 10%,
    transparent 80%
  );
  -webkit-mask: radial-gradient(
    ellipse 900px 800px at center top,
    black 10%,
    transparent 80%
  );
}

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

.fade-in {
  /* Use CSS variable --duration with a fallback of 1s */
  animation: fadeIn var(--fade-in-duration, 1s) ease-in forwards;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px); /* start 20px left */
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-left {
  animation: fadeInLeft var(--duration, 1s) ease forwards;
}