@font-face {
    font-family: 'TimesDot';
    src: url('/assets/fonts/Times-Bold.woff2') format('woff2'),
        url('/assets/fonts/Times-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TimesDot';
    src: url('/assets/fonts/Times-Italic.woff2') format('woff2'),
        url('/assets/fonts/Times-Italic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TimesDot';
    src: url('/assets/fonts/Times-Roman.woff2') format('woff2'),
        url('/assets/fonts/Times-Roman.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TimesDot';
    src: url('/assets/fonts/Times-Bold.woff2') format('woff2'),
        url('/assets/fonts/Times-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SuisseIntl';
    src: url('/assets/fonts/SuisseIntl.woff2') format('woff2'),
        url('/assets/fonts/SuisseIntl.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --width: 1200px;
    --color: black;
    --link: black;
    --background: #f2f2f0;
    --shadow: rgba(0, 0, 0, 0.75);
    --font-main: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    --font-secondary: 'TimesDot', 'Times New Roman', serif;
    --spacing: 0.5rem;
}

* {
    margin: 0;
    box-sizing: border-box;
}

html {
    font: 14px var(--font-main);
    width: 100%;
    height: 100%;
}

html.night {
    --color: gainsboro;
    --background: #303030;
    --link: gainsboro;
}

body {
    padding: var(--spacing) calc(var(--spacing) * 2);
    color: var(--color);
    background-color: var(--background);
    line-height: 1.25;
    -webkit-text-size-adjust: 100%; /* Prevents Safari from auto-resizing text. */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: normal;
}

p {
    margin-bottom: 2rem;
}

a {
    color: var(--link);
}

img {
    width: 100%;
}

em {
    font-family: var(--font-secondary);
    font-size: 1.1em;
    display: inline;
}

figcaption {
    font-family: var(--font-secondary);
    font-size: 0.9em;
}

ul,
ol {
    margin: 0 0 0 1rem;
    padding: 0;
}

ul.inline-box {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul.inline-box li {
    display: inline;
    border: 1px solid var(--color);
    padding: 0.2rem 0.5rem;
    line-height: 2;
}

table {
    width: 100%;
    border: 1px outset var(--color);
}

td {
    border: 1px inset var(--color);
}

.label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: normal;
}

/* Marquee3k */
.marquee3k__copy {
    padding-right: 10px;
}

/* Breakpoints */
@media screen and (max-width: 1024px) {
    html {
        font-size: 13px;
    }
}