@font-face {
  font-family: 'Rubik';
  src: url('../css/fonts/Rubik-VariableFont_wght.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('../css/fonts/RobotoCondensed.woff2') format('woff2');
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --light-color: hsl(255 14% 100% / 1);
  --light-color-50: hsl(255 14% 100% / .5);
  --dark-color: hsl(0 0% 4% / 0.98);
  --dark-color-50: hsl(0 0% 4% / 0.50);
  --white-color: #fff;
  --black-color: #111;
  --body-color: light-dark(var(--dark-color), var(--light-color));
  --body-bg: light-dark(var(--light-color), var(--dark-color));
  --body-bg-50: light-dark(var(--light-color-50), var(--dark-color-50));
  --emphasis-color: light-dark(var(--black-color), var(--white-color));
  --primary-color: oklch(52.527% 0.20381 26.639);
  --primary-color-hover: oklch(from var(--primary-color) 60% c h);
  --primary-color-bright: oklch(from var(--primary-color) 70% c h);

  --heading-color: var(--body-color);
  --link-color: var(--primary-color);
  --link-hover-color: var(--primary-color-hover);

  --highlight-color: var(--primary-color-bright);
  --highlight-bg: var(--body-color);
  --border-color: transparent;
  --form-valid-color: #75b798;
  --form-valid-border-color: #75b798;
  --form-invalid-color: #ea868f;
  --form-invalid-border-color: #ea868f;

  --body-font-family: Roboto,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    "Noto Sans",
    "Liberation Sans",
    Arial,
    sans-serif;
  --heading-font-family: 'Rubik',
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    "Noto Sans",
    "Liberation Sans",
    Arial,
    sans-serif;
  --font-monospace: SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    "Courier New",
    monospace;

  --body-font-size: 1.2rem;
  --body-font-weight: normal;
  --body-line-height: 1.4;
  --heading-font-weight: 600;
  --heading-color: var(--body-color);
  --heading-line-height: 1.1;

  --border-width: 1px;

  --font-size-h1: clamp(1.375rem, 1.375rem + 1.5vw, 2.5rem);
  --font-size-h2: clamp(1.325rem, 1.325rem + 0.9vw, 2rem);
  --font-size-h3: clamp(1.3rem, 1.3rem + 0.6vw, 1.75rem);
  --font-size-h4: clamp(1.275rem, 1.275rem + 0.3vw, 1.5rem);
  --font-size-h5: 1.25rem;
  --font-size-h6: 1rem;

  --box-shadow-sm: .15rem .25rem .5rem var(--body-bg-50);
  --box-shadow-lg: .5rem 1rem 1rem var(--body-bg-50);

  --transition-style: ease-in-out;
  --transition-speed: .5s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font: -apple-system-body;
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: var(--body-line-height);
  color: var(--body-color);
  background-color: var(--body-bg);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: #000;
}

hr {
  width: 100%;
  height: 1px;
  margin: 0 0 5dvh;
  border: 0;
  background-color: currentColor;
  opacity: .7;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

abbr[title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  cursor: help;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}

ol,
ul {
  padding-left: 2rem;
}

ol,
ul,
dl {
  margin-block: 0 2ch;
}

ol ol,
ul ul,
ol ul,
ul ol {
  margin-block-end: 0;
}

dt {
  font-weight: 700;
}

dd {
  margin-block-end: 0.5rem;
  margin-inline-start: 0;
}

blockquote {
  margin: 0 0 1rem;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 0.875em;
}

mark {
  padding: 0.1875em;
  color: var(--highlight-color);
  background-color: var(--highlight-bg);
}

sub,
sup {
  position: relative;
  font-size: 0.75em;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

a:link,
a:visited {
  color: var(--link-color);
  text-decoration: none;
}

a:hover, a:active {
  color: var(--link-hover-color);
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
  color: inherit;
  text-decoration: none;
}

pre,
code,
kbd,
samp {
  font-family: var(--font-monospace);
  font-size: 1em;
}

pre {
  display: block;
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
  font-size: 0.875em;
}

pre code {
  font-size: inherit;
  color: inherit;
  word-break: normal;
}

code {
  font-size: 0.875em;
  color: var(--code-color);
  word-wrap: break-word;
}

a>code {
  color: inherit;
}

kbd {
  padding: 0.1875rem 0.375rem;
  font-size: 0.875em;
  color: var(--body-bg);
  background-color: var(--body-color);
  border-radius: 0.25rem;
}

kbd kbd {
  padding: 0;
  font-size: 1em;
}

figure {
  margin: 0 0 1rem;

  &:has(a) {
    margin: 0;
    padding: 0;
  }
}

img,
svg {
  vertical-align: middle;
  transition: all var(--transition-speed) var(--transition-style);
  opacity: .95;

  a:where(:hover, :active, :focus, :focus-within) & {
    filter: brightness(1.05) saturate(120%);
    opacity: 1;
  }
}

table {
  caption-side: bottom;
  border-collapse: collapse;
}

caption {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: var(--secondary-color);
  text-align: left;
}

th {
  text-align: inherit;
  text-align: -webkit-match-parent;
}

thead,
tbody,
tfoot,
tr,
td,
th {
  border-color: inherit;
  border-style: solid;
  border-width: 0;
}

label {
  display: inline-block;
}

button {
  border-radius: 0;
}

button:focus:not(:focus-visible) {
  outline: 0;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
select {
  text-transform: none;
}

[role=button] {
  cursor: pointer;
}

select {
  word-wrap: normal;
}

select:disabled {
  opacity: 1;
}

[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator {
  display: none !important;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

button:not(:disabled),
[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled) {
  cursor: pointer;
}

::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

textarea {
  resize: vertical;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 0.5rem;
  line-height: inherit;
  font-size: calc(1.275rem + 0.3vw);
}

@media (min-width: 1200px) {
  legend {
    font-size: 1.5rem;
  }
}

legend+* {
  clear: left;
}

::-webkit-datetime-edit-fields-wrapper,
::-webkit-datetime-edit-text,
::-webkit-datetime-edit-minute,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-year-field {
  padding: 0;
}

::-webkit-inner-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-cancel-button {
  cursor: pointer;
  filter: grayscale(1);
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-color-swatch-wrapper {
  padding: 0;
}

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}

::file-selector-button {
  font: inherit;
  -webkit-appearance: button;
}

output {
  display: inline-block;
}

iframe {
  border: 0;
}

summary {
  display: list-item;
  cursor: pointer;
}

progress {
  vertical-align: baseline;
}

[hidden] {
  display: none !important;
}

@view-transition {
  navigation: auto;
}

img,
figure,
iframe {
  max-width: 100%;
  height: auto;
  border-radius: .25rem;
}

figure,
iframe {
  padding-block: 1rem;
}

a {
  font-weight: 500;
  border-radius: .15rem;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  margin-block: 0 0.5rem;
  padding-block-start: 1ch;
  color: var(--heading-color);
  font-family: var(--heading-font-family);
  font-weight: var(--heading-font-weight);
  line-height: var(--heading-line-height);
  letter-spacing: -.05rem;
  text-transform: uppercase;
  text-wrap: balance;
  hyphens: none;

  & a {
    font-weight: var(--heading-font-weight);
  }
}

h1,
.h1 {
  font-size: var(--font-size-h1);
  padding-block-start: 0;
}

h2,
.h2 {
  font-size: var(--font-size-h2);
}

h3,
.h3 {
  font-size: var(--font-size-h3);
}

h4,
.h4 {
  font-size: var(--font-size-h4);
  letter-spacing: normal;
}

h5,
.h5 {
  font-size: var(--font-size-h5);
  letter-spacing: normal;
}

h6,
.h6 {
  font-size: var(--font-size-h6);
  letter-spacing: normal;
}

.screen-reader-text,
.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  -webkit-clip-path: rect(0 0 0 0);
  clip-path: rect(0 0 0 0);
  white-space: nowrap;
  border: 0
}

.skip-link {
  background-color: var(--secondary-color);
  color: var(--body-bg);
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  transition: -webkit-transform ease .25s;
  transition: transform ease .25s;
  transition: transform ease .25s, -webkit-transform ease .25s;

  &:where(:focus, :focus-within, :focus-visible) {
    position: fixed !important;
    inset: 0;
    z-index: 10100;
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 2rem;
    padding: .15rem .25rem;
    margin: 0;
    -webkit-clip-path: none;
    clip-path: none;
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}