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


 html, body: {
  --font-sans: system-ui;
  --font-serif: ui-serif, serif;
  --font-mono: ui-monospace, monospace;
  --hover-size: 0.15rem;
  --hover-filter: brightness(1);

  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
  font-family: var(--font-sans);
  line-height: 1.4;
  overflow: unset;
  scroll-behavior: smoooth;
  text-rendering: optimizeLegibility;
  text-size-adjust: none;
  height: 100%;
 }

 @keyframes bounce-smooth {
  0%, 100% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1); /* Smooth landing */
  }
  50% {
    transform: translateY(-10px);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1); /* Quick bounce up */
  }
}

.bounce-animation {
  animation: bounce-smooth 2s ease-in-out 2; /* 0.5s per bounce, repeats 2 times (total 2s) */
}

.fade-out {
  animation: fadeOut 2s forwards; /* 2 seconds duration */
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}