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

.font-serif-display {
  font-family: 'Playfair Display', Georgia, serif;
}

.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(245, 245, 245, 1);
  border-bottom: 1px solid rgb(209, 213, 219);
  transition: background 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
}

.site-navbar.navbar-scrolled {
  background: rgba(245, 245, 245, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(209, 213, 219, 0.4);
}

.ticker-content {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
