/* 1. Modern CSS Reset – Josh Comeau style + enhancements */
/* https://www.joshwcomeau.com/css/custom-css-reset/ */

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

* {
  margin: 0;
  padding: 0;
  font: inherit;
}

html {
  /* Improve font smoothing */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Prevent adjustments of font size after orientation changes in iOS */
  -webkit-text-size-adjust: 100%;
}

body {
  /* Ensure body takes full height */
  min-height: 100vh;
  /* Default line height */
  line-height: 1.5;
}

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

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

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

/* Remove list styles */
ul, ol {
  list-style: none;
}

/* Remove default button styles */
button, [type="button"], [type="reset"], [type="submit"] {
  -webkit-appearance: none;
  appearance: none;
}

/* Improve media defaults */
audio, canvas, iframe, img, svg, video {
  vertical-align: middle;
}

/* Remove built-in form typography styles */
input, textarea, button, select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

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

/* Create a root stacking context */
#root, #__next {
  isolation: isolate;
}

