/* ==========================================================================
   Reset e estilos de base
   ========================================================================== */

:root {
  --color-accent: #0000ee;
  --color-accent-foreground: #fcfcfc;
  --color-accent-soft: #d9d9fc;

  --color-foreground: #18181b;
  --color-muted: #696972;
  --color-border: #dedee0;
  --color-default: #ebebec;
  --color-page-bg: #f4f4f5;

  --color-success: #17c964;
  --color-warning: #f5a524;

  --color-content-emerald: #a7f3d0;
  --color-content-purple: #e9d5ff;
  --color-content-orange: #fed7aa;
  --color-content-cyan: #a5f3fc;

  --color-folder-red: #f53153;
  --color-folder-green: #44af69;
  --color-folder-orange: #f98838;
  --color-folder-purple: #2b193d;

  --shadow-surface:
    0 2px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06),
    0 0 1px rgba(0, 0, 0, 0.06);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html, body {
  min-height: 100%;
  line-height: 1.5;

  color: var(--color-foreground);
  background: var(--color-page-bg);
  
  scroll-behavior: smooth;
}

ul,
ol {
  list-style: none;

  padding: 0;
}

a {
  text-decoration: none;

  color: inherit;
}

button {
  color: inherit;
  background: none;
  border: none;
}

fieldset {
  padding: 0;

  border: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.font-math {
  font-family: "Libertinus Math", serif;
}

.sr-only {
  position: absolute;

  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;

  white-space: nowrap;

  border: 0;
  clip-path: inset(50%);
}
