*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: var(--bw-background);
    color: var(--bw-text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

body.bw-menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

::selection {
    background: var(--bw-primary);
    color: #fff;
}

.bw-skip-link {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 9999;
    padding: 12px 18px;
    border-radius: var(--bw-radius-md);
    background: var(--bw-primary);
    color: #fff;
    text-decoration: none;
    transition: top var(--bw-transition);
}

.bw-skip-link:focus {
    top: 16px;
}