/* Box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default spacing */
* {
    margin: 0;
    padding: 0;
}

/* Better text rendering */
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

/* Body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
    text-rendering: optimizeSpeed;
}

/* Media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* Form elements */
input,
button,
textarea,
select {
    font: inherit;
}

/* Buttons */
button {
    border: 0;
    background: none;
    cursor: pointer;
}

/* Lists */
ul,
ol {
    list-style: none;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
}