:root {
    --main-heading-color: #437a99;
    --main-copy-color: #595959;
}

html {
    box-sizing: border-box;
    font-family: "Proxima Nova", "Trebuchet MS", Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
}

* {
    margin: 0;
    padding: 0;
}

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

body {
    background-color: #f2f2f2;
    background-image: url(../images/mainBG.jpg);
    background-repeat: repeat-x;
    color: var(--main-copy-color);
}

header,
nav,
main,
footer {
    width: 1216px;
    margin: 0 auto;
}

header {
    height: 166px;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 0px 43px 43px;
    gap: 16px;
}

header h1 {
    grid-row: 2;
    color: var(--main-heading-color);
    font-size: 4em;
    font-weight: 800;
    text-transform: uppercase;
}

header h2 {
    grid-row: 3;
    color: var(--main-copy-color);
    font-size: 3.5em;
    font-weight: 100;
}

.align-right {
    text-align: right;
}

header h2 a,
header h2 a:visited {
    color: var(--main-copy-color);
    text-decoration: none;
}

header h2 a:hover {
    text-decoration: underline 2px;
}

#headerTitle {
    width: 434px;
    height: 102px;
    margin-top: 32px;
}

#headerSubtitle {
    width: 286px;
    height: 43px;
    margin-top: 91px;
}

#headerSubtitle:hover {
    outline: 2px solid var(--main-copy-color);
    outline-offset: 10px;
}

nav {
    height: 40px;
    color: #fff;
    font-size: 32px;
    font-weight: 500;
    vertical-align: middle;
}

nav a,
nav a:visited {
    color: #fff;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

p {
    background-color: #fff;
    margin-top: 16px;
    padding: 16px;
    width: 100%;
    line-height: 32px;
    font-size: 32px;
    border-radius: 4px;
    box-shadow: 0px 8px 8px rgba(0, 0, 0, .05);
}

section {
    padding-top: 32px;
}

section h3 {
    color: var(--main-heading-color);
    line-height: 32px;
    font-size: 32px;
    font-weight: 600;
}

section p a,
section p a:visited {
    color: var(--main-heading-color);
    text-decoration: none;
}

section p a:hover {
    text-decoration: underline;
}

footer {
    margin-top: 16px;
    height: 40px;
    font-size: 24px;
    vertical-align: middle;
}

footer a,
footer a:visited {
    color: var(--main-copy-color);
    font-weight: 600;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}