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

/* REMOVE DEFAULT MARGIN */
* {
    margin: 0;
    padding: 0;
}

/* IMPROVE TEXT RENDERING */
body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-smooth: always;
}

/* REMOVE BUILT-IN TYPOGRAPHY STYLES */
input, button, textarea, select {
    font: inherit;
    color: inherit;
}

/* DEFAULT BODY TEXT */
body {
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background-color: #111;
    color: #eee;
}

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

/* REMOVE DEFAULT LIST STYLES */
ul, ol {
    list-style: none;
}

/* REMOVE DEFAULT LINK STYLES */
a {
    text-decoration: none;
    color: inherit;
}

/* NO CLICKABLE BUTTON DEFAULTS */
button {
    border: none;
    background: none;
    cursor: pointer;
}

/* HEADING TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
}

/* PREVENT TEXT OVERFLOW */
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

/* FULL-HEIGHT WITH HEADER/FOOTER */
#root, #__next {
    isolation: isolate;
}

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

/* ACCESSIBLE LINKS AND BUTTONS */
a, button {
    transition: 0.2s ease-in-out;
}