﻿@font-face {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('/_fonts/Merriweather-Latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('/_fonts/SourceSans3-Latin.woff2') format('woff2');
}


:root {
    --color-white: #ffffff;
    --color-light-gray: #e6e6e6;
    --color-medium-gray: #c0c0c0;
    --color-light-yellow: #f8f2e2;
    --color-sand: #f3ecd7;
    --color-ocher: #f9f0dc;
    --color-ivory: #f7f4e6;
    --color-light-brown: #f2eee6;
    --color-light-blue: #5b81ac;
    --color-medium-blue: #364f6b;
    --color-dark-blue: #253649;
    --color-alarm: #d93025;
    --banner-background-image-aspect: 1;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    height: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    font-size: 18px;
}

main {
    flex: 1 0 auto;
    padding-top: 4em;
    color: var(--color-medium-blue);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 400;
}

p {
    margin: 0 0 1lh;
}

a {
    color: inherit;
}

section {
    padding-top: 5em;
    padding-bottom: 5em;
}

.margin {
    margin-bottom: 5em;
}

.background {
    width: 100%;
}

.content {
    height: 100%;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2em;
    padding-right: 2em;
}

.light {
    background-color: var(--color-white);
}

.dark {
    background-color: var(--color-light-gray);
}

.banner-background {
    height: 515px;
    margin-top: 3em;
    background-color: var(--color-light-yellow);
    background-repeat: no-repeat;
    background-size: auto 120%;
    background-position: calc(50% + 400px) center;
}

.banner-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

a.primary-button {
    appearance: button;
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    background-color: var(--color-light-blue);
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.2em;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    a.primary-button:hover {
        background-color: var(--color-medium-blue);
        transform: scale(1.02);
    }

.scroll-target {
    scroll-margin-top: 6em;
}
