/*
  Modern CSS Reset
  Based on Josh Comeau's CSS Reset with modifications
  https://www.joshwcomeau.com/css/custom-css-reset/
*/

/* Use a more intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margins and padding */
* {
  margin: 0;
  padding: 0;
}

/* Set core body defaults */
html,
body {
  height: 100%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

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

/* Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove button default styles */
button {
  background: none;
  border: none;
  cursor: pointer;
}

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

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

/* Better table defaults */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Remove textarea resize handle */
textarea {
  resize: vertical;
}

/* Better anchor defaults */
a {
  text-decoration: none;
  color: inherit;
}

/* Remove default fieldset/legend styling */
fieldset {
  border: none;
}

legend {
  padding: 0;
}

/* Fix line-height in all browsers */
:where(pre) {
  overflow: auto;
}
