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

:root {
	--tinylytics: rgb(79,70,229);
	--scribbles: rgb(255,193,7);
	--sublimefeed: #ea053b;
	--sublimeads: #f35815;
	--microblog: rgb(255, 136, 0);
	--inkwell: #765eef;
	--blue: rgb(29,78,216);
	--shoutouts: #ADE374;
	--github: #d2a8ff;
	--vincent: oklch(63.7% .237 25.331);
	--bodybeats: #ff00aa;
	--momentaryspace: hsl(205deg 100% 76%);
}

a { text-underline-offset: 4px; text-decoration-color: var(--blue); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  background: #fff;
  color: #171717;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #171717;
  outline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
  .skip-link {
    background: #171717;
    color: #fafafa;
  }

  .skip-link:focus {
    outline-color: #fafafa;
  }
}
