* {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Add an offset to the link target so that it isn't obscured by the menu when we scroll to it
 * This only works if the target can collapse its margin with its children - i.e. not flexbox or grid
 * https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_box_model/Mastering_margin_collapsing
 */
:target::before {
    content: '';
    display: block;
    margin: -75px 0 0;
    height: 75px;
}

body {
    margin: 0;
    background: #fff;
}

::selection {
    background: #E8DDFF;
}

::-moz-selection {
    background: #E8DDFF;
}

img {
    max-width: 100%;
}
