/* ==========================================
   Reset
========================================== */

/* Include padding and borders inside an element's width/height */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default browser spacing */
* {
    margin: 0;
    padding: 0;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Better body defaults */
body {
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

/* Form elements inherit the site's typography */
input,
button,
textarea,
select {
    font: inherit;
}

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

/* Remove default link styling */
a {
    color: inherit;
    text-decoration: none;
}

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

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

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