* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  scrollbar-width: thin;
  scrollbar-color: #b98a46 #06182b;
}

body {
  min-width: 20rem;
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* A restrained, site-wide scrollbar for Chromium, Safari, and Edge. */
::-webkit-scrollbar {
  width: 0.7rem;
}

::-webkit-scrollbar-track {
  background: #06182b;
}

::-webkit-scrollbar-thumb {
  border: 0.18rem solid #06182b;
  border-radius: 999px;
  background: linear-gradient(180deg, #d5ab64 0%, #a97938 100%);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #e6c07e 0%, #c38f48 100%);
}

::-webkit-scrollbar-corner {
  background: #06182b;
}
