/* Explain: Base reset and typography defaults. */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--background-color);
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.75;
}

section[id] {
    scroll-margin-top: 5.5rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.35;
}

::selection {
    background: var(--primary-color);
    color: #fff;
}

[x-cloak] {
    display: none !important;
}