:root {
    --blue-bar: #09cce7;
    --darker-blue-bar: #248ab8;
    --background-white: #f9f9f9;
    --text-grey: #616161;
    --blue-hover: #08B6CE;
    --neon-pink: #fa6291;
    --neon-pink-hover: #E15882;
    --dark-grey-text: #212121;
}

body,
html {
    height: 100%;
    width: 100%;
}

main {
    overflow-x: hidden;
}

body,
main {
    margin: 0em;
    padding: 0em;
}

body {
    position: relative;
    overflow-x: hidden;
}

.parallax1 {
    background-image: url("/newimages/background/Bryce%20Canyon%20_Background.jpg");
    height: 110vh;
}

.parallax2 {
    background-image: url("/newimages/background/Mountain_Background_Low.jpg");
    height: 100vh;
}

.parallax3 {
    background-image: url("/newimages/background/River_Background2.jpg");
    height: 100vh;
}

.parallax1,
.parallax2,
.parallax3 {
    /* The image used */
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* #821f62 - PPPPPPPLUM
   #c72878 - T-Ran
   #fa6291 - IceBreaker Pink
   #332982 - Lavendar  No. 3
   #006ec7 - This is fun blue
   #101010 - MY FONT
`
 #08B6CE - Header Blue
#09cce7 - Blue Bar
#057280 - darker header blue
#08ce83 - seafoamy green

*/
var() html {
    overflow-x: hidden;
}

main {
    text-align: center;
}

h1 {
    font-family: "BioRhyme", serif;
    color: #fff;
    letter-spacing: .3rem;
    font-size: 2.7em;
    margin: 0em;
    display: inline-block;
}

.header-text {
    position: absolute;
    margin-top: 20em;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: left;
    padding: 0em 0em 0em 1.5em;
    text-shadow: 2px 2px 8px #111;
}

.header-text h1,
.header-text p {
    color: #fff;
    letter-spacing: .2rem;
    text-align: left;

}

.header-text p {
    line-height: 1.1rem;
}

h2,
h3,
h4,
h5 {
    font-family: "Arvo", serif;
    color: #fa6291;
}

h2 {
    text-shadow: 1px 1px 1px rgb(1, 1, 1, 0.2);
}

p,
footer {
    font-family: "lato", serif;
}

/* flex here is simply for easy alignment */
.menu-bar {
    display: flex;
}

/* This sets up the mobile settings, which is a slide down nav. The flex display lines up the menu and the close button (fa-times) */

nav,
.menu-bar {
    background-color: var(--background-white);
    border-bottom: 2px solid var(--text-grey);
    color: #fff;
    order: -1;
    width: 100vw;
    z-index: 10;
    position: fixed;
}

nav {
    flex: 100%;
    position: absolute;
    top: 0;
    /* animation for the slide down */
    transform: translate(0, -600px);
    transition: all 0.4s ease;
}

/* applying this class with jQuery will make the nav slide on
   to the screen -- to x,y location of 0,0 */
nav.open {
    transform: translate(0, 0);
    position: fixed;
    z-index: 10;
}

.hamburger i,
.ghost i,
nav i {
    font-size: 1.5rem;
    display: block;
    padding: 1rem 2rem 1rem 1rem;
}

.ghost i {
    margin: -1.5em 0em .5em 1em;
    padding: 0em;
}

nav i {
    padding-top: 0;
}

/* when slide down, the menu is vertical; when at the top of the 
   screen the menu is horizontal. */
nav > ul {
    flex: 100%;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    font-size: 1rem;
}

nav > ul a {
    text-decoration: none;
    color: var(--text-grey);
    display: block;
    padding: 1.5rem;
    font-family: "lato", sans-serif;
    letter-spacing: 0.5px;
    font-weight: 300;
    text-align: left;
}

.fas {
    text-align: left;
}

.menu-bar i:hover {
    color: var(--blue-hover);
}


@media screen and (max-width: 601px) {
    nav a:last-child {
        margin-bottom: 3rem;
    }

    nav a {
        border-bottom: 1px solid var(--text-grey);
    }
}

@media screen and (min-width: 600px) {
    nav {
        /* remove the absolute positioning */
        position: fixed;
        min-width: 100vw;
        /* remove the animation  */
        transform: none;
        transition: none;
    }

    /*bar*/
    nav a:before {
        content: "";
        background-color: var(--blue-hover);
        display: block;
        height: .3em;
        width: 0%;
        margin: 0 auto;
        transition: width .3s 100ms ease;
    }

    nav a.here:before {
        content: "";
        background-color: var(--blue-hover);
        display: block;
        height: .3em;
        width: 100%;
    }

    /*end bar*/
    a:hover:before {
        width: 100%;
    }

    /* hide the nav menu controls  */
    .hamburger > i.fas,
    .ghost > i.fas,
    nav > i.fas {
        display: none;
    }

    /* change menu direction to row and adjust spacing around menu items */
    nav > ul {
        flex-direction: row;
        justify-content: space-around;
    }

    /* remove borders add margin bottom*/
    nav li {
        border-bottom: none;
        padding: 0.1em 0.3em 1em 0.3em;
    }

    /* adjust padding */
    nav > ul a {
        font-size: 1.2em;
        padding: 0 1rem;
    }

    /* makes the last li the same as the rest */
    nav li {
        border-top: .5em solid rgba(5, 5, 5, .0);
    }

}

.hamburger,
.ghost,
nav a:link {
    color: var(--text-grey);
    text-decoration: none;
}

.ghost,
nav a:visted,
a[href]:visited {
    color: var(--text-grey);
}

.ghost:hover,
nav a[href]:hover {
    color: var(--blue-hover);
}

nav a:active {
    color: var(--blue-hover);
}

.here {
    color: var(--blue-hover);
}


nav {
    order: -1;
    width: 100vw;
}

/*
ul,
li,
ol,
dl {
    font-family: "Space Mono", monospace;
    color: #101010;
    list-style: none;
    text-align: left;
}
*/

li {
    display: block;
    position: relative;
    overflow: hidden;
}

.text-box {
    display: inline-grid;
    grid-gap: 2em;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    padding: 2em 4em 2em 4em;
}

.text-box p {
    text-align: left;
}

.text-box-border {
    border-bottom: 2px solid var(--text-grey);
    border-top: 2px solid var(--text-grey);
    background-color: var(--background-white);
}

.text-box-container {
    align-self: start;
    background-color: #fff;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .05);
    transition: box-shadow 0.2s ease-in-out;
}

.text-box-container:hover {
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.2s ease-in-out;
}

.text-box-container-1 {
    grid-column: 1;
}

.text-box-container-2 {
    grid-column: 2;
}

.text-box-container-3 {
    grid-column: 3;
}

.text-box-container-1-3 {
    grid-column: 1 / span 3;
}

.text-box-container p {
    line-height: 1.5em;
}

.text-box-block-top-bar {
    height: 20px;
    width: 100%;
    background-color: var(--darker-blue-bar);
}

.text-box-img {
    width: 100%;
    max-height: 15em;
    object-fit: cover;
    object-position: top
}

.text-box-title {
    font-size: 3em;
    display: inline-block;
}

.text-box-title h2 {
    margin: 0em;
}

.text-box-block {
    padding: 1em 1em 1em 1em;
}

.text-box-text {
    padding: 0;
    color: var(--text-grey);
    margin: 0;
    grid-column: 1 /span 3;
}

.form-container {
    grid-column: 1 /span 3;
}

.form-container form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px;
    width: 80%;
    margin: 2em auto 0 auto;
    justify-content: center;
    align-items: center;
}

.form-container p {
    display: inline-block;
    grid-column: 1;
    text-align: center;
}

.form-container button p {
    margin: 0;
}

.form-container input {
    grid-column: 2 / span 2;
    font-family: "lato", serif;
}

.submit-button {
    background-color: #09cce7;
    cursor: pointer;
    transition: background-color .4s;
    border: none;
    padding: .3em 30% .3em 30%;
    grid-column: 1 / span 3;
}

.submit-button:hover {
    background-color: var(--blue-hover);
    transition: background-color: .4s
}


.resume-button {
    margin-top: 1em;
}

.form_message {
    padding: .1em 0em .1em 0em;
    margin: 1em 0em 0em 0em;
}

.form_success {
    background-color: #08CE83;
}

.form_error {
    background-color: #ce0853;
}

.form_hidden {
    display: none;
}

.footer-container {
    display: flex;
    align-items: flex-end;
}

a > button {
    text-decoration: none;
    font-family: "lato", sans-serif;
    color: #101010;
}

footer {
    display: flex;
    padding: 2rem 1rem 5rem 2rem;
    width: 100vw;

    font-size: 1.1rem;

    background-color: var(--background-white);
    border-top: 2px solid var(--text-grey);
}

footer p {
    flex: 1;
    margin: 0;
    color: var(--text-grey);
    text-align: left;
}

footer ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    color: var(--text-grey);
    margin: 0;
    padding: 0;
}

footer a {
    display: block;
    padding: 0 1rem;
    font-size: 1.5em;
}

footer a:link {
    color: var(--text-grey);
    text-decoration: none;
}

footer a:visited {
    color: var(--text-grey);
}

footer a[href]:hover {
    color: var(--blue-hover);
}

a {
    transition: color .4s;
}

a:hover {
    transition: color .3s;
}


/* Resposive Web Design */
@media screen and (max-width: 1200px),
@media screen and (min-height: 900px) {

    /*
    .parallax1 {
        filter: brightness(1.1);
    }
*/
    .header-text h1,
    .header-text p {
        text-align: center;
    }

    .header-text {
        margin-top: 7em;
        padding: 1.2em .2em 1em .2em;
        /*09cce7*/
        /*
        background-color: rgba(5, 114, 128, .7); */
        background-color: var(--darker-blue-bar);
        max-width: 70%;
        text-align: center;
        text-shadow: none;

    }

    .header-text h1 {
        font-size: 2.5em;
        letter-spacing: .1rem;
    }

    .header-text p {
        font-size: 1.2em;
        letter-spacing: .1rem;
    }
}


@media screen and (max-width: 900px) {
    .text-box {
        padding: 2em 3em 2em 3em;
    }

    .header-text h1 {
        line-height: 2.5rem;
        margin-bottom: 0em;
        font-size: 2.5em;
        letter-spacing: .1rem;
        font-size: 2em;
    }

    .header-text {
        margin: 5em auto 0em auto;
    }

    .header-text p {
        font-size: 1em;
        letter-spacing: .1rem;
    }
}

@media screen and (max-width: 700px) {
    .text-box {
        grid-template-columns: repeat(1, 1fr);
    }

    .text-box-container-1,
    .text-box-container-2,
    .text-box-container-3 {
        grid-column: 1;
    }

    .text-box-decoration {
        display: none;
    }
}

@media screen and (max-width: 600px) {

    .text-box {
        padding: 2em .5em 2em .5em;
    }

    .text-box-block {
        padding: 1em 1em 1em 1em;
    }

    .header-text {
        margin: 7em auto 0em auto;
        padding: 1.2em .2em 1em .2em;
        max-width: 80%;
    }

    .header-text h1,
    .header-text p {
        letter-spacing: -.001rem;
    }
}


@media screen and (max-width: 450px) {
    footer {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding-bottom: 3em;
    }

    footer p {
        margin-bottom: 1.5em;
        text-align: center;
    }

    .header-text {
        padding: .7em .2em .2em .2em;
        /*overrides the header text padding from 600px*/
    }
}

/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1024px) {

    .parallax1,
    .parallax2,
    .parallax3 {
        background-attachment: scroll;
    }
}

/* animation */
nav {
    animation: fade-in-start 0.0001s 0.00001s forwards;
    opacity: 0;
}

/*
nav,
.cards,
.text-box,
.menu-bar,
footer {
    animation: fade-in-start 2.5s 1.3s forwards;
    opacity: 0;
}

.header-text h1 {
    animation: fade-in-start 2.5s .7s forwards;
    opacity: 0;
}

.header-text p {
    animation: fade-in-start 2.5s 1s forwards;
    opacity: 0;
}

.title-slide {
    animation: down 2s .7s ease-out forwards;
}

.subtitle-slide {
    animation: down 2s 1s ease-out forwards;
}

@keyframes right {
    from {
        transform: translatex(100vw);
    }

    to {
        transform: translatex(0);
    }
}

@keyframes left {
    from {
        opacity: 1;
        transform: translatex(-100vw);
    }

    to {
        opacity: 1;
        transform: translatex(0);
    }
}

@keyframes down {
    from {
        transform: translatey(-60px);
    }

    to {
        opacity: 1;
        transform: translatey(0);
    }
}

@keyframes up {
    from {
        opacity: 0;
        transform: translatey(50px);
    }

    to {
        opacity: 1;
        transform: translatey(0);
    }
}
*/
@keyframes center-grow {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes fade-in-start {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.about-text a:visited {
    color: #fff;
}
