@import './variable.css';

@font-face {
	font-family: 'Manrope';
	src: url('../../assets/fonts/Manrope/Manrope-VariableFont_wght.ttf') format('truetype');
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

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

html {
	min-height: 100%;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	min-height: 100%;
	margin: 0;
	color: var(--color-text);
	background: var(--color-bg);
	font: var(--font-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

html {
	scrollbar-width: none;
}

body::-webkit-scrollbar {
	display: none;
}

body,
button,
input,
select,
textarea {
	font-family: var(--font-family-sans);
}

img,
picture,
svg,
video,
canvas {
	display: block;
	max-width: 100%;
}

button,
input,
select,
textarea {
	color: inherit;
	font: inherit;
}

button {
	cursor: pointer;
}

button:disabled,
[aria-disabled='true'] {
	cursor: not-allowed;
}

a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

:focus-visible {
	outline: 2px solid var(--color-action);
	outline-offset: 3px;
}

::selection {
	color: var(--color-text-inverse);
	background: var(--color-action);
}

h1,
h2,
h3,
h4,
p {
	margin-top: 0;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
