*, *:after, *:before {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    outline: 0 !important;
}

::selection {
    background: var(--theme--color--primary);
    color: var(--theme--color--background);
    text-shadow: none;
}

body {
    min-width: 320px;
}

p, pre {
    margin: 0 0 1.5em;
}

dl, ol, ul {
    margin: 0.5em 0 1.5em;
    padding-left: 2em;
}

hr {
    border: 0;
    border-bottom: 1px solid;
    color: var(--theme--color--primary);
    margin-top: 0;
    margin-bottom: 0;
}

img {
    max-width: 100%;
    height: auto;
}

strong {
    font-weight: 700;
}

blockquote {
    margin: 0;
    padding: 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: currentColor;
}

a:hover, a:focus, a:active {
    text-decoration: underline;
}

/* fix avoid text-decoration for fontawesome */
i[class*='fa-']::before {
    display: inline-block;
    text-decoration: none;
}
