@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 100 900;
  src: url("../assets/fonts/Onest/Onest-VariableFont_wght.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: Caprasimo;
  font-style: normal;
  font-weight: 400;
  src: url("../assets/fonts/Caprasimo/Caprasimo-Regular.ttf") format("truetype");
  font-display: swap;
}

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

body {
  min-width: 384px;
  max-width: 1536px;
  margin: 0 auto;
  padding: var(--space-l);

  color: var(--oc-black);
  background-color: var(--oc-white);

  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body);
  line-height: var(--line-height-body);
}

body:has(> .footer) {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-bottom: 0;
}

body:has(> .footer) > :is(header, main) {
  flex-shrink: 0;
}

body:has(> .footer) > main {
  margin-bottom: var(--space-l);
}
