/* ==========================================================================
   Reset CSS
   ========================================================================== */

/**
 * 1. Use a more intuitive box-sizing model.
 * 2. Remove default margin and padding where needed.
 */

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

* {
	margin: 0;
	padding: 0;
}

/**
 * 1. Improve text rendering.
 * 2. Prevent font size inflation on mobile browsers.
 */

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

/**
 * 1. Set a stable base line-height.
 * 2. Improve font smoothing.
 */

body {
	min-width: 320px;
	min-height: 100vh;
	min-height: 100dvh;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html,
body {
	scroll-behavior: smooth;
}

/**
 * Remove default list styles.
 */

ul,
ol {
	list-style: none;
}

/**
 * Improve media defaults.
 */

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

/**
 * Keep images responsive by default.
 */

img {
	height: auto;
}

/**
 * Remove built-in form typography styles.
 */

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

/**
 * Reset button styles.
 */

button {
	border: 0;
	background: transparent;
	cursor: pointer;
}

/**
 * Make disabled buttons behave correctly.
 */

button:disabled,
input:disabled,
textarea:disabled,
select:disabled {
	cursor: not-allowed;
}

/**
 * Reset links.
 */

a {
	color: inherit;
	text-decoration: none;
}

/**
 * Improve text wrapping.
 */

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

/**
 * Remove default heading styles.
 */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: inherit;
	font-weight: inherit;
}

/**
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
}

/**
 * Remove default textarea resize issues.
 */

textarea {
	resize: vertical;
}

/**
 * Remove default table spacing.
 */

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/**
 * Make hidden elements actually hidden.
 */

[hidden] {
	display: none !important;
}

/**
 * Better focus behavior for keyboard users.
 */

:focus {
	outline: none;
}

:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

/**
 * Respect users who prefer reduced motion.
 */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}