// =============================================================================
// base/_reset.scss
// Minimal modern reset on top of Bulma's built-in normalisation.
// =============================================================================

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

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

body {
	background-color: var(--color-background);
	color: var(--color-text);
	font-family: var(--font-family-base);
	font-size: var(--font-size-base);
	line-height: var(--line-height-base);
	transition:
		background-color var(--transition-base),
		color var(--transition-base);
}

img,
video,
svg {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--color-primary);
	text-underline-offset: 0.2em;

	&:hover {
		color: var(--color-primary-dark);
	}

	@include focus-ring;
}

button {
	cursor: pointer;
}

// Remove default list style for navigation lists.
nav ul,
nav ol {
	list-style: none;
	margin: 0;
	padding: 0;
}
