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

@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Outfit:wght@100..900&display=swap");

html,
body {
  background: #FBFBFB;
  color: #1A1A1A;
  margin: 0;
  padding: 0;
  font-family: "Outfit", sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-weight: 500;
  letter-spacing: -0.01em;
}

blockquote {
  border-left: 4px solid var(--color-zinc-300);
  margin-left: 0;
  margin-right: 0;
  padding-left: 1rem;
  color: #555;
  font-style: italic;
}

code,
pre {
  padding: 10px;
  margin-bottom: 1.25rem;
}

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

.flash-message-auto-dismiss {
  animation: flashMessage 7s ease-in-out forwards;
}

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

details[open] > :not(summary) {
  animation: dropdownOpen 0.2s ease-out;
}
