/* Site-wide tokens and fonts. These three colours and three weights are the only ones allowed. */

@font-face {
  font-family: "General Sans";
  src: url("../assets/fonts/GeneralSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "General Sans";
  src: url("../assets/fonts/GeneralSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "General Sans";
  src: url("../assets/fonts/GeneralSans-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-light: #e6e5e3;
  --color-dark: #161615;
  --color-background: #dbdbd8;

  --font-sans: "General Sans", sans-serif;
  --weight-body: 400;
  --weight-action: 500;
  --weight-heading: 600;
}

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

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-dark);
  font-family: var(--font-sans);
  font-weight: var(--weight-body);
}

/* Inside every section: 90% of the page at all breakpoints, no max-width. */
.container {
  width: 90%;
  margin-inline: auto;
}
