/* Base reset and shared layout for Renato Isufi theme. */

*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
	padding: 0;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 4.5rem;
}

body {
	min-height: 100vh;
	font-family: var(--font-primary);
	font-size: var(--fs-body);
	font-weight: var(--fw-regular);
	line-height: 1.5;
	color: var(--color-text-dark);
	background-color: var(--color-bg-light);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
}

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	list-style: none;
}

button {
	background: none;
	border: none;
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--color-text-dark);
	outline-offset: 2px;
}

.container {
	width: 100%;
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: var(--space-md);
}

@media (min-width: 768px) {
	.container {
		padding-inline: var(--space-xl);
	}
}

@media (min-width: 1280px) {
	.container {
		padding-inline: var(--space-2xl);
	}
}
