/* Use a custom cascade layer to keep the reset isolated */
@layer reset {
	/* Use border-box for easier sizing */
	*,
	*::before,
	*::after {
		box-sizing: border-box;
	}

	/* Reset default margin and padding on all elements */
	* {
		margin: 0;
		padding: 0;
	}

	/* Improve the body and document flow */
	body {
		line-height: 1.5;
		-webkit-font-smoothing: antialiased;
	}

	/* Make media elements responsive and remove extra space below them */
	img,
	picture,
	video,
	canvas,
	svg {
		display: block;
		max-inline-size: 100%;
	}

	/* Ensure text-based form elements inherit the font */
	input,
	button,
	textarea,
	select {
		font: inherit;
	}

	/* Avoid text overflows */
	p,
	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		overflow-wrap: break-word;
	}
}

img {
	height: 100svh;
	width: 100%;
	object-fit: cover;
}
