:root {
	/* --padding: 32px;
	--padding-small: 24px;
	--gap: 16px;
	--radius: 6px;
	--radius-small: 4px; */

	--padding: 20px;
	--padding-small: var(--padding);
	--gap: var(--padding);
	--radius: 5px;
	--radius-small: 4px;

	--black: rgb(0, 0, 0);
	--grey: rgb(110, 110, 110);
	--light: rgb(230, 230, 230);
}

html {
	background-color: var(--white);
	/* font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
		Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */
	/* font-family: Porteron, serif; */
	font-family:
		system-ui,
		-apple-system,
		sans-serif;
	font-weight: 500;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	transition: background 0.3s ease;
}

::selection {
	background-color: var(--black);
	color: white;
}

body {
	margin: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

* {
	box-sizing: border-box;
}

.grid {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding: var(--padding);
	gap: var(--gap);
}

@font-face {
	font-family: Porteron;
	font-weight: 700;
	src: url(/typefaces/Porteron-Trial-Bold.otf);
}

@font-face {
	font-family: Porteron;
	font-weight: 600;
	src: url(/typefaces/Porteron-Trial-Semi.otf);
}

@font-face {
	font-family: Porteron;
	font-weight: 500;
	src: url(/typefaces/Porteron-Trial-Medium.otf);
}

@font-face {
	font-family: Porteron;
	font-weight: 400;
	src: url(/typefaces/Porteron-Trial-Regular.otf);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	font-size: 1rem;
	line-height: 1;
	margin-block: 0px;
	font-weight: 500;
}

.noselect {
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Old versions of Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

/* Text styles */

:root {
	/* Brand Display Typeface */
	--brandDisplayTypeface: null;
	--brandDisplayLineHeight: null;
	--brandDisplayTextTransform: null;
	--brandDisplayLetterSpacing: null;
	--brandDisplayFontSize: null;

	/* Brand Typeface */
	--brandTypeface: null;
	--brandLineHeight: null;
	--brandTextTransform: null;
	--brandLetterSpacing: null;
	--brandFontSize: null;
}

.huge {
	font-family: var(--brandDisplayTypeface);
	font-size: 80px;
	line-height: var(--brandDisplayLineHeight, 1.1);
	text-transform: var(--brandDisplayTextTransform);
	letter-spacing: var(--brandDisplayLetterSpacing);
}

.large {
	font-family: var(--brandTypeface);
	font-size: 32px;
	line-height: var(--brandLineHeight, 1.1);
	text-transform: var(--brandTextTransform);
	letter-spacing: var(--brandLetterSpacing);
}

.medium,
.rich-text h4 {
	font-size: 16px;
	line-height: 130%;
	font-weight: 500;
}

.small,
p {
	font-size: 16px;
	line-height: 130%;
	font-weight: 500;
}

.tiny {
	font-size: 14px;
	font-weight: 500;
}

.annotation {
	font-family: monospace;
	text-transform: uppercase;
	font-size: 14px;
}
