/* Explain: Base styles, typography, and responsive layout settings. */
* {
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
    background: var(--background-color);
    color: var(--text-color);
    letter-spacing: 0.01em;
}

body::selection {
    background: var(--accent-color);
    color: #ffffff;
}

h1,
h2,
h3,
.atelier-serif {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

p,
a,
button,
input,
select,
textarea,
label {
    font-family: var(--font-body);
}

img {
    max-width: 100%;
}

section {
    scroll-margin-top: 5rem;
}

.text-balance {
    text-wrap: balance;
}

.text-pretty {
    text-wrap: pretty;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 5.75rem;
    }
}