:root {
    --color-orange: #fe713c;
    --color-impact-blue: #37405b;
    --color-yellow: #ffcc00;
    --color-teal: #79c7c3;
    --color-off-white: #f4f4f2;
    --color-gray: #c4c4c4;

    --color-primary: var(--color-orange);
    --color-secondary: var(--color-impact-blue);
    --color-tertiary: #var(--color-yellow);
    --color-quaternary: var(--color-teal);
}

* {
    box-sizing: border-box;
}

::-moz-selection { background-color: var(--color-yellow); }
::selection { background-color: var(--color-yellow); }


html {
    min-height: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
    font-family: sophia-pro, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: #474649;
}

html, body {
    scroll-behavior: smooth;
    -webkit-scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

.wrapper {
    position: relative;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    max-width: 1024px;
}

p {
    margin: 25px 0;
}

.p1 {
    font-size: 20px;
    font-weight: 700;
}

.p2 {
    font-size: 20px;
}

.p3 {
    font-size: 16px;
}

.p4 {
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;

    &:hover { color: inherit; }
}

h1, h2, h3, h4, h5, h6,
.alpha, .beta, .gamma, .delta, .epsilon, .zeta {
    color: var(--color-secondary);

    &.underline {
        span {
            background-image: linear-gradient(to top, transparent 0%, transparent 13%, var(--color-tertiary) 13%, var(--color-tertiary) 30%, transparent 30%);
        }
    }

    &.color-white { color: white; }
}

h1,
.alpha {
    margin: 24px 0;
    font-family: sophia-pro, sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 54px;
}

h2,
.beta {
    margin: 16px 0;
    font-size: 36px;
    font-weight: 600;
    line-height: 42px;
}

h3,
.gamma {
    margin: 16px 0;
    font-size: 28px;
    font-weight: 600;
    line-height: 32px;
}

h4,
.delta {
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 0.05pt
}

h5,
.epsilon {
    margin: 5px 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

h6,
.zeta {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05pt
}

.omega {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05pt;
}


@media (max-width: 768px) {
    h1,
    .alpha {
        margin: 20px 0;
        font-size: 38px;
        line-height: 40px;
    }

    h2,
    .beta {
        margin: 12px 0;
        font-size: 28px;
        line-height: 32px;
    }

    h3,
    .gamma {
        margin: 10px 0;
        font-size: 24px;
        line-height: 28px;
    }
}

.body {
    flex: 1 0 0;
    background: white;
}

strong, b {
    font-weight: bold;
}

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


.button {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    display: inline-block;
    margin: 5px 0;
    padding: 8px 24px 10px 24px;
    border: 1px solid transparent;
    border-radius: 2px;
    vertical-align: middle;
    font-family: sophia-pro, sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 22px;
    text-align: center;
    text-decoration: none;
    text-transform: capitalize;
    background-color: #ccc;
    color: white;
    cursor: pointer;
    outline: none;
    transition: all 200ms ease;

    &.no-capitalize {
        text-transform: none;
    }

    &.button--primary {
        background-color: var(--color-primary);

        &:hover {
            background-color: darken(var(--color-primary), 10%);
            color: white;
        }
    }

    &.button--secondary {
        background-color: var(--color-secondary);

        &:hover {
            background-color: darken(var(--color-secondary), 10%);
            color: white;
        }
    }

    &.button--tertiary {
        background-color: var(--color-tertiary);
        color: var(--color-secondary);

        &:hover {
            background-color: darken(var(--color-tertiary), 10%);
        }
    }

    &.button--quaternary {
        background-color: var(--color-quaternary);
        color: white;

        &:hover {
            background-color: darken(var(--color-quaternary), 10%);
        }
    }

    &.button--outline {
        background-color: white;
        color: inherit;
        border: 1px solid #aaa;
        border-radius: 3px;
        font-family: sophia-pro, sans-serif;
        font-weight: normal;
        font-size: 14px;
        text-transform: none;

        &:hover {
            background-color: darken(var(--color-tertiary), 10%);
        }
    }

    &.button--large {
        padding: 12px 70px 15px 70px;
        font-size: 16px;
    }

    &.button--black {
        background-color: #000000;
        color: white;

        &:hover {
            background-color: lighten(#000000, 30%);
        }
    }

    a {
        color: white;
        text-decoration: none;
    }
}


.block {
    position: relative;
    padding: 75px 0;
    background-color: transparent;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.block--color-orange {
    background-color: var(--color-orange);
    color: white;

    .button--tertiary {
        &:hover {
            background-color: white;
            color: #fe713c;
        }
    }

    .button--outline {
        &:hover {
            background-color: var(--color-impact-blue);
            color: white;
        }
    }

    h1, h2, h3, h4, h5, h6 { color: var(--color-impact-blue); }
}

.block--color-yellow {
    background-color: var(--color-yellow);
    color: var(--color-impact-blue);

    .button--tertiary {
        &:hover {
            background-color: white;
            color: #fe713c;
        }
    }

    .button--outline {
        &:hover {
            background-color: var(--color-impact-blue);
            color: white;
        }
    }

    h1, h2, h3, h4, h5, h6 {
        color: var(--color-impact-blue);

        &.underline span {
            background-image: linear-gradient(to top, transparent 0%, transparent 13%, white 13%, white 30%, transparent 30%);
        }
    }
}

.block--color-white {
    background-color: white;

    .button--primary {
        &:hover { background-color: var(--color-impact-blue); }
    }
}

.block--color-off-white {
    background-color: var(--color-off-white);

    .button--primary {
        &:hover { background-color: var(--color-impact-blue); }
    }
}

.block--color-teal {
    background-color: var(--color-teal);

    .button--tertiary {
        &:hover {
            background-color: white;
            color: var(--color-orange);
        }
    }

    .button--outline {
        &:hover {
            background-color: var(--color-impact-blue);
            color: white;
        }
    }
}

.block--color-impact-blue {
    background-color: var(--color-impact-blue);

    .button--tertiary {
        &:hover {
            background-color: white;
            color: var(--color-orange);
        }
    }
}
