/*
 * 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 {
  background: #FBFBFB;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
.article-title {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #272727;
}

body,
p,
.summary {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: #272727;
}

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;
}

@keyframes item-enter {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}