@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ==================================================================== */
/* =============================== VARS =============================== */
/* ==================================================================== */

:root {
	/* ========= THEMES ========= */

	--clr-surface-a0: #ffffff;
	--clr-surface-a10: #f0f0f0;
	--clr-surface-a20: #e1e1e1;
	--clr-surface-a30: #d3d3d3;
	--clr-surface-a40: #c5c5c5;
	--clr-surface-a50: #b6b6b6;

	--clr-primary-a0: #026e5e;
	--clr-primary-a10: #217062;
	--clr-primary-a20: #327365;
	--clr-primary-a30: #407569;
	--clr-primary-a40: #4c776d;
	--clr-primary-a50: #577971;

	/* ========= COLORS ========= */

	--clr-primary: #702ca1; /*#38ad9b;*/
	--clr-primary-dark: #470079; /*#009688;*/
	--clr-secondary: #CD6889;
	--clr-secondary-dark: #FAA00F;
	--clr-detail: "";
	--clr-detail-secondary: "";

	--clr-green: #66BB6A;
	--clr-green-dark: #4CAF50;
	--clr-red: #EF5350;
	--clr-red-dark: #F44336;
	--clr-orange: #FFCA28;
	--clr-orange-dark: #FFC107;;

	--clr-highlight: #FFFF99;

	/* ========= SIZES ========= */

	--size-xxs: 2px;
	--size-xs: 4px;
	--size-s: 8px;
	--size-m: 16px;
	--size-l: 32px;
	--size-xl: 64px;

	--nav-height: 70px;

	/* ========= BORDER ========= */

	--radius-xs: 4px;
	--radius-s: 8px;
	--radius-m: 16px;
	--radius-l: 32px;
	--radius-xl: 64px;
}

/* ==================================================================== */
/* =============================== RESET ============================== */
/* ==================================================================== */

* {
	font-family: 'Inter', sans-serif;
}

/* Box sizing rules */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Prevent font size inflation */
html {
	-moz-text-size-adjust: none;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;

	scroll-padding-top: 16px;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
	margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
	list-style: none;
}

/* Set core body defaults */
body {
	min-height: 100vh;
	line-height: 1.5;

	display: flex;
	flex-direction: column;
}

body:has([data-disabled-scrolled].active) {
	overflow: hidden;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
	line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
	text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
	text-decoration-skip-ink: auto;
	color: currentColor;
}

/* Make images easier to work with */
img,
picture {
	max-width: 100%;
	display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
	font: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
	min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
	scroll-margin-block: 5ex;
}

/* ==================================================================== */
/* ============================= SCROLLBAR ============================ */
/* ==================================================================== */

/* Firefox (uncomment to work in Firefox, although other properties will not work!) */
/** {
  scrollbar-width: thin;
  scrollbar-color: #404040 #FFFFFF;
}*/

/* Chrome, Edge and Safari */
*::-webkit-scrollbar {
	height: 10px;
	width: 10px;
}

*::-webkit-scrollbar-track {
	border-radius: 10px;
	background-color: transparent;
}

*::-webkit-scrollbar-track:hover {
	background-color: transparent;
}

*::-webkit-scrollbar-track:active {
	background-color: transparent;
}

*::-webkit-scrollbar-thumb {
	border-radius: 8px;
	background-color: var(--bs-border-color);
	border: 2px solid transparent;
}

*::-webkit-scrollbar-thumb:hover {
	background-color: var(--bs-border-color);
}

*::-webkit-scrollbar-thumb:active {
	background-color: var(--bs-border-color);
}
