/* ==========================================================================
   RESET
   --------------------------------------------------------------------------
   Quita diferencias entre navegadores y deja una base predecible.
   Normalmente no hace falta tocar este archivo.
   ========================================================================== */

/* Cajas: el padding y el borde cuentan dentro del ancho */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Quita márgenes por defecto */
* {
	margin: 0;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

/* Desplazamiento suave solo si el usuario no pide reducir animaciones */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}

/* Medios: nunca más anchos que su contenedor */
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

/* Formularios heredan la tipografía */
input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

/* Evita desbordes con palabras o URLs muy largas */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

ul,
ol {
	padding-left: 1.25em;
}

table {
	border-collapse: collapse;
	width: 100%;
}
