/* --- Paleta --- */
:root {
	--noche: #1d1920;
	--bosque: #2c3631;
	--musgo: #465845;
	--oliva: #909a67;
	--crema: #eae3d3;
	--tinta: #352632;
	color-scheme: dark;
}

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

* {
	margin: 0;
}

html {
	text-size-adjust: none;
	-webkit-text-size-adjust: none;
}

body {
	min-height: 100svh;
	line-height: 1.6;
}

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

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

h1,
h2,
h3,
p {
	overflow-wrap: break-word;
}

h1,
h2,
h3 {
	line-height: 1.2;
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

/* --- Esqueleto --- */
body {
	font-family: system-ui, sans-serif;
	background: var(--bosque);
	color: var(--crema);
	padding: 2rem 1.25rem;
}

main,
footer {
	max-width: 65ch;
	margin-inline: auto;
}

main>*+* {
	margin-top: 1em;
}

a {
	color: var(--oliva);
}

footer {
	margin-top: 2rem;
	font-size: 0.85em;
	opacity: 0.7;
}