/*
 * 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=Literata:ital,opsz,wght@0,7..72,200..900;1,7..72,200..900&family=Outfit:wght@100..900&display=swap");

html,
body {
  background: #fff;
  color: #222;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

p {
  margin-bottom: 1.25rem;
}

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;
  font-family: "Courier New", Courier, monospace;
  margin-bottom: 1.25rem;
}

nav,
h1 {
  font-family: "Literata", serif;
}

@keyframes flashMessage {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  8% {
    opacity: 1;
    transform: translateY(0);
  }
  92% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}

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

.flash-fade-out {
  animation: flashFadeOut 0.3s ease-out forwards;
}
