:root {
    --green-4: #64A64A;
    --green-3: #7BB661;
    --green-2: #B8DFA8;
    --green-1: #CDE7C9;
    --green-0: #F0F8EF;
    --black: #222318;
    --white: #FAFCF7;
    --yellow: #E9BD43;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'PT Sans Caption',"Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
    font-size: 3vh;
}

#header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#login {
  text-decoration: none;
  color: var(--white);
  font-weight: bold;
}
   
.hero {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    padding: 1em;
    box-sizing: border-box;
    color: var(--white);
    background: url('water-lily-1287416_compressed.jpg') center center no-repeat;
    background-size: cover;
    
}

.hero-header {
    display: flex;
    flex-direction: column;
}

.flash {
    text-align: center;
    padding-bottom: 2rem;
}

.hero-header a {
    text-decoration: none;
    color: var(--white);
}

.hero-title {
    max-width: 16em;
    margin: 0;
    font-size: 16vh;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    text-shadow: 2px 5px 5px rgba(0,0,0,.8);
}

.complete {
    color: var(--yellow) !important
}

.not-a-button {
    color: var(--white);
    background-color: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.hero-header p {
    font-size: 5vh;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 5px 5px rgba(0,0,0,.8);
}

#subtitle {
    font-size: 4.5vh;
    color: var(--yellow);
    margin-bottom: -3rem;
}

.hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1em;
}

#logo {
    text-decoration: none;
    color: var(--white);
    font-size: 5vh;
    font-weight: bold;
}

.button {
    padding: .5em .67em;
    color: var(--white);
    text-decoration: none;
    border: .1em solid var(--white);

}
    
.button-primary {
    color: var(--black);
    background-color: var(--white);
}

header a:hover, footer a:hover {
    transform: scale(1.1);
}

nav a:hover {
    background-color: var(--yellow);
}

/* @media only screen and (min-width: 32em) {
    .hero-title { 
        font-size: 16vh; 
    } 
} */

@media only screen and (max-width: 700px) {
    .hero-title { 
        font-size: 12vh; 
    }

    #subtitle {
        font-size: 3vh;
    }

    #logo { 
        font-size: 3vh;
    }

    .button {
        font-size: 2vh;
    }
}

@media only screen and (max-width: 800px) {
    #subtitle {
        margin-bottom: 0;
    }
}

.fade-out {
    animation: fadeOut 1s linear 2s forwards;
}

@keyframes fadeOut {
    0% { opacity:1; }
    100% { opacity:0; height: 0; padding: 0; }
}