:root {
	/**Theme colors*/
	--blue-50: #f0f1f3;
	--blue-100: #dee2e9;
	--blue-200: hsl(220, 33%, 74%);
	--blue-300: #525e75;
	--blue-700: #323845;
	--blue-800: #2a303c;
	--blue-900: #15181e;
	--orange-500: #f69b41;
	--orange-700: #cc741d;

	--teal-50: #e9f1f1;
	--teal-100: #d3e3e3;
	--teal-200: #a7c7c8;
	--teal-300: #7cacac;
	--teal-400: #509091;
	--teal-500: #247475;
	--teal-600: #1d5d5e;
	--teal-700: #164646;
	--teal-800: #0e2e2f;
	--teal-900: #071717;

	--neutral-50: #fafafa;
	--neutral-100: #f5f5f5;
	--neutral-200: #e5e5e5;
	--neutral-300: #d4d4d4;
	--neutral-400: #a3a3a3;
	--neutral-500: #737373;
	--neutral-600: #525252;
	--neutral-700: #404040;
	--neutral-800: #262626;
	--neutral-900: #171717;
	--neutral-950: #0a0a0a;

	--font-xs: 0.75rem;
	--font-sm: 0.875rem;
	--font-base: 1rem;
	--font-lg: 1.125rem;
	--font-xl: 1.25rem;
	--font-2xl: 1.5rem;
	--font-3xl: 1.875rem;
	--font-4xl: 2.25rem;
	--font-5xl: 3rem;
	--font-6xl: 3.75rem;

	--line-height-xs: calc(1 / 0.75);
	--line-height-sm: calc(1.25 / 0.875);
	--line-height-base: calc(1.5 / 1);
	--line-height-lg: calc(1.75 / 1.125);
	--line-height-xl: calc(1.75 / 1.25);
	--line-height-2xl: calc(2 / 1.5);
	--line-height-3xl: calc(2.25 / 1.875);
	--line-height-4xl: calc(2.5 / 2.25);
	--line-height-5xl: 1;
	--line-height-6xl: 1;

	--border-radius-xs: 0.125rem;
	--border-radius-sm: 0.25rem;
	--border-radius-md: 0.375rem;
	--border-radius-lg: 0.5rem;
	--border-radius-xl: 0.75rem;
	--border-radius-2xl: 1rem;
	--border-radius-3xl: 1.5rem;
	--border-radius-4xl: 2rem;
}

html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
}

.layout {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	padding: 0;
	background: #2a303c;
	background: linear-gradient(180deg, rgba(42, 48, 60, 1) 0%, rgba(21, 24, 30, 1) 300%);
	color: var(--blue-100);
}

.navbar {
	background-color: var(--blue-800);
}

footer {
	background-color: var(--blue-900);
	color: var(--blue-100);
}

.logo,
.logo-text {
	color: var(--blue-50);
}

#main {
	flex: 1; /* Takes up remaining space */
	overflow-y: auto; /* Scroll inside body if content overflows */
}

@font-face {
	font-family: 'Space Grotesk';
	src: url('/fonts/space_grotesk/SpaceGrotesk-VariableFont_wght.ttf') format('truetype');
	font-weight: 100 900;
	font-display: swap;
}

@font-face {
	font-family: 'Libre Franklin';
	src: url('/fonts/libre-franklin/LibreFranklin-VariableFont_wght.ttf') format('truetype');
	font-weight: 100 900;
	font-display: swap;
}

@font-face {
	font-family: 'Libre Franklin';
	src: url('/fonts/libre-franklin/LibreFranklin-Italic-VariableFont_wght.ttf') format('truetype');
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Metropolis';
	src: url('/fonts/metropolis/Metropolis-ExtraLight.otf') format('opentype');
	font-weight: 100;
	font-display: swap;
}

@font-face {
	font-family: 'Metropolis';
	src: url('/fonts/metropolis/Metropolis-Light.otf') format('opentype');
	font-weight: 200;
	font-display: swap;
}

@font-face {
	font-family: 'Metropolis';
	src: url('/fonts/metropolis/Metropolis-Regular.otf') format('opentype');
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: 'Metropolis';
	src: url('/fonts/metropolis/Metropolis-Medium.otf') format('opentype');
	font-weight: 500;
	font-display: swap;
}

@font-face {
	font-family: 'Metropolis';
	src: url('/fonts/metropolis/Metropolis-SemiBold.otf') format('opentype');
	font-weight: 600;
	font-display: swap;
}

@font-face {
	font-family: 'Metropolis';
	src: url('/fonts/metropolis/Metropolis-Bold.otf') format('opentype');
	font-weight: 700;
	font-display: swap;
}

@font-face {
	font-family: 'Metropolis';
	src: url('/fonts/metropolis/Metropolis-ExtraBold.otf') format('opentype');
	font-weight: 800;
	font-display: swap;
}

@font-face {
	font-family: 'Metropolis';
	src: url('/fonts/metropolis/Metropolis-Black.otf') format('opentype');
	font-weight: 900;
	font-display: swap;
}

ul,
ol {
	padding-left: 1.5rem;
}
ul {
	list-style: square;
}
ol {
	list-style: decimal;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
	@apply font-serif;
}

.markdown {
	hr {
		margin-top: 3rem;
		height: 0.125rem;
		background-color: var(--color-neutral-400);
	}
	p,
	li {
		margin-bottom: 1rem;
	}
	p {
		line-height: 1.5rem;
	}
	ul,
	ol {
		margin-top: 1.5rem;
		margin-bottom: 1.5rem;
		padding-left: 1rem;
	}
}

.markdown h2 {
	margin-bottom: 1rem;
	margin-top: 3rem;
	font-size: 1.25rem;
	line-height: 1.375;
}

.markdown h3 {
	margin-bottom: 1rem;
	margin-top: 2rem;
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.375;
}

blockquote {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
	border-left-width: 0.25rem;
	border-left-color: var(--orange-500);
	padding-left: 1rem;
	font-style: italic;
}

blockquote > p {
	margin-bottom: 1rem;
}

.markdown a {
	font-weight: 500;
	color: var(--orange-500);
	text-decoration: underline;
}

.markdown img {
	max-width: 80%;
	margin: auto;
	margin-top: 2rem;
	margin-bottom: 2rem;
	border-radius: 0.375rem;
}

.markdown iframe {
	max-width: 80%;
	margin: auto;
	margin-top: 2rem;
	margin-bottom: 2rem;
	border-radius: 0.375rem;
}

@keyframes blink {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
}

.blink-cursor {
	display: inline-block;
	animation: blink 2s infinite step-end;
}

/* Expandable Notes */

.note-toggle {
	display: none;
}

.note-trigger {
	cursor: pointer;
	text-decoration: underline dashed;
	text-decoration-color: var(--orange-500);
	text-underline-offset: 0.25rem;
	padding-bottom: 0.125rem;
}

.note-content {
	display: none;
	font-style: italic;
	padding: 0.25;
	border-radius: 0.25rem;
	background-color: var(--blue-300);
}

.note-toggle:checked + .note-trigger + .note-content {
	display: inline;
}

.note-close {
	cursor: pointer;
	font-weight: 600;
}

.text-link {
	font-weight: 500;
	color: var(--orange-500);
}

.text-link-inverted {
	font-weight: 500;
	color: var(--orange-500);
}

.text-secondary {
	color: var(--blue-200);
}

.title-deco {
	font-size: var(--font-2xl);
	line-height: var(--line-height-2xl);
}

.button {
	font-weight: 600;
	border-radius: var(--border-radius-md);
	padding: 1rem 2rem;
}

.button-1 {
	border-color: var(--blue-900);
	background-color: var(--blue-700);
	color: var(--blue-50);
	border: 1px solid var(--blue-50);
}

.button-1:hover {
	background-color: var(--blue-800);
}

.button-2 {
	border-bottom: solid 0.25rem;
	border-color: var(--orange-700);
	background-color: var(--orange-500);
	color: var(--blue-800);
}

.button-2:hover {
	background-color: var(--orange-700);
}

.title-highlight {
	color: var(--blue-200);
}

.service {
	background-color: var(--blue-700);
	border-radius: var(--border-radius-sm);
	border: 1px solid var(--blue-50);
}

.service__subtitle {
	color: var(--blue-200);
}

.bcard {
	background-color: var(--blue-700);
	border: 1px solid var(--blue-100);
}

.bcard__deco-item {
	background-color: var(--blue-50);
}
