/* ===================================
   CSS RESET
   Remove default browser styling
=================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Remove default body spacing */

html,
body {
  height: 100%;
}

/* Improve text rendering */

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Remove list styles */

ul,
ol {
  list-style: none;
}

/* Remove link underline */

a {
  text-decoration: none;
  color: inherit;
}

/* Image responsive */

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Form elements inherit font */

input,
button,
textarea,
select {
  font: inherit;
}

/* Button reset */

button {
  border: none;
  background: none;
  cursor: pointer;
}

/* Table reset */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Headings reset */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

/* Remove default fieldset border */

fieldset {
  border: none;
}

/* Prevent text overflow */

p {
  overflow-wrap: break-word;
}

/* Root stacking context */

#root,
#__next {
  isolation: isolate;
}
