/* =====================================================
   GLOBAL RESET
   Normalizes browser defaults across Chrome/Safari/Firefox
   ===================================================== */

/* Box sizing */

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

/* Remove default margins */

body,
h1, h2, h3, h4, h5, h6,
p,
ul,
ol,
figure {
    margin: 0;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

ul,
ol {
    list-style: none;
    padding: 0;
}

/* Images behave better */

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

/* Inherit fonts */

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

/* Prevent overflow issues */

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

/* Buttons behave consistently */

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

/* Tables */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html {
    scroll-behavior: smooth;
}
