/* Explain: Base reset and custom Swiper/form styling. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
}

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

img {
    max-width: 100%;
}

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

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}