*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--wd-page-bg);
    color: var(--wd-text);
    font-family: var(--wd-font-sans);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.wd-container {
    width: min(
        calc(100% - 48px),
        var(--wd-max-width)
    );
    margin-inline: auto;
}

@media (max-width: 720px) {
    .wd-container {
        width: min(
            calc(100% - 28px),
            var(--wd-max-width)
        );
    }
}
