@import url('fonts.css');

:root {
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
    --colour-dark: #292E30;
    --colour-red: #D34C4C;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--colour-dark);
    color: white;
    overflow-x: hidden;
}

#page {
    position: relative;
    width: 100vw;
    overflow: hidden;
}

.alt {
    color: var(--colour-red);
    font-weight: 800;
}

.border {
    position: relative;
}

.border::after {
    content: "";
    position: absolute;
    bottom: 1px;
    left: 0;
    right: 0;
    height: 2px;
    background: white;
}

.flex-fill {
    flex: 1;
}

.image-circle {
    position: absolute;
    width: 220px;
    height: 220px;
    overflow: hidden;
    border-radius: 50%;
}

.image-circle img {
    max-height: 220px;
}

.image-circle img.portrait {
    max-width: 220px;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
}

p.h4 {
    padding-top: 25px;
    font-size: 125%;
    line-height: 100%;
}

header {
    display: flex;
    flex-direction: column;
    height: 100vh;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

header nav {
    width: 100vw;
    display: flex;
    box-sizing: border-box;
    padding: 20px;
    position: relative;
}

header nav a#logo img {
    max-height: 32px;
}

header nav .email-link {
    margin-left: auto;
    color: white;
    font-size: 1.5em;
    transition: all .1s ease-in-out;
}

header nav .email-link:hover {
    transform: scale(1.25) rotate(2.5deg);
}

header #hero {
    flex-grow: 1;
}

header #hero::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 225px;
    height: 225px;
    background: var(--colour-red);
    border-radius: 50%;
    z-index: -1;
}

header #hero::after {
    content: "";
    position: absolute;
    top: 33vh;
    left: -175px;
    width: 225px;
    height: 225px;
    background: var(--colour-red);
    border-radius: 50%;
    z-index: -1;
}

header #hero h1.lead {
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 800;
    padding-top: max(15vh, 150px);
    font-size: 1.75em;
    animation-delay: .25s;
}

header #hero p {
    text-transform: uppercase;
    animation-delay: 1s;
}

header .image-circle {
    right: -120px;
    margin-top: 75vh;
    z-index: -1;
}

header .scroll-prompt p {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 85%;
    text-align: center;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
    padding-bottom: 25px;
}

header .scroll-prompt p i {
    display: block;
    margin-top: 20px;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 5vw;
    position: relative;
    margin: 50px 0;
}

section.content-top {
    justify-content: flex-start;
}

section.content-top .image-circle {
    bottom: -305px;
    left: -50px;
}

section.content-top p {
    padding-top: 50px;
}

section.purpose .image-circle {
    bottom: -200px;
    left: 10px;
    width: 200px;
    height: 200px;
}

section.content-bottom {
    justify-content: flex-end;
    box-sizing: border-box;
}

section.content-bottom p.h4 {
    padding-top: 50px;
    font-size: 125%;
    line-height: 100%;
}

section.content-bottom strong {
    display: block;
    text-transform: uppercase;
    padding-top: 10px;
    font-size: 90%;
}


section p {
    text-align: center;
    line-height: 175%;
}

footer {
    position: relative;
    overflow: hidden;
    padding: 25px 0 15px 0;
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: -25vw;
    right: -25vw;
    bottom: -100px;
    background: var(--colour-red);
    z-index: -1;
    border-radius: 50%;
}

footer .copyright .copyright-date {
    display: block;
    font-weight: 600;
    margin-top: 10px;
}

.circles {
    position: relative;
    min-height: 275px;
}

.circles.content-top::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -175px;
    width: 275px;
    height: 275px;
    background: var(--colour-red);
    border-radius: 50%;
    z-index: -1;
}

.circles.purpose::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -25px;
    width: 75px;
    height: 75px;
    background: var(--colour-red);
    border-radius: 50%;
    z-index: -1;
}

.circles.purpose::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -50px;
    width: 175px;
    height: 175px;
    background: var(--colour-red);
    border-radius: 50%;
    z-index: -1;
}

.circles.community {
    min-height: 200px;
}

.circles.community::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 25px;
    width: 75px;
    height: 75px;
    background: var(--colour-red);
    border-radius: 50%;
    z-index: -1;
}

.circles.community::after {
    content: "";
    position: absolute;
    top: 0;
    left: 25px;
    width: 125px;
    height: 125px;
    background: var(--colour-red);
    border-radius: 50%;
    z-index: -1;
}