/*
#F06449
#4B80C1
#A7C73F
#FFCB3F
#2F3232
#565A5B
 */

@import url('https://fonts.googleapis.com/css?family=Lato|Montserrat:700');

body {
    font-weight: lighter;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Lato", sans-serif;
    color: #2F3232;
}

h1, h2 {
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.1em;
    font-weight: bold;
    text-decoration: none;
}

h1 {
    font-size: 3rem;
    text-align: center;
}

h2 {
    letter-spacing: 0.1em;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    letter-spacing: 0;
    margin-bottom: 1em;
}

p {
    text-align: justify;
}


nav .logo {
    display: block;
    line-height: 1;
}

nav .logo>img {
    height: 3em;
}

nav {
    background-color: white;
    padding: 1em 2em;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.2em;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    font-size: 1.5rem;
}

nav>.content {
    color: #2F3232;
    max-width: 850px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

nav>.content .logo .glyco {
    color: #A7C73F;
}

nav>.content .logo>.text {
    margin-left: 0.2em;
}

nav ul {
    margin: 0;
    list-style: none;
}

nav ul li {
    display: inline-block;
    padding: 0.7em 1em;
    margin: 0;
}




section {
    padding: 2em 0;
}

#intro {
    padding-top: 8rem;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    box-sizing: border-box;
    height: 100vh;
    background-color: #4B80C1;
    overflow: hidden;
}

#intro>section {
    height: 100%;
}

#intro img {
    position: absolute;
    bottom: 0;
    right: -35vh;
    max-height: 80vh;
    pointer-events: none;
}

#intro>section>div {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 55%;
}

#intro>section>div>p {
    text-align: left;
}

#intro button {
    height: auto;
    padding: 1em 3em;
    font-size: 1.5rem;
    margin: 1em 0 0 0;
}

#intro .career_link {
    color: rgb(255,255,0);
}



#about {
}

#about .ns-row {
    margin: auto;
    display: flex;
    align-items: center;
    padding: 1em 0 0 0;
}

#about .ns-row:first-of-type {
    padding: 0;
}

#about .ns-row:nth-child(odd) {
    flex-direction: row-reverse;
}

#about .ns-row>div {
    padding: 0 0 0 2em;
    flex-grow: 1;
}

#about .ns-row:nth-child(odd)>div {
    padding: 0 2em 0 0;
}

#about .ns-row p {
    margin: 0;
}

#about .ns-row>img {
    height: 15rem;
    width: 15rem;
}





#people {
    background-color: #4B80C1;
    color: white;
    padding: 2em 0 1em 0;
}

#people .row {
    text-align: center;
}

.ns-column {
    display: inline-block;
    box-sizing: border-box;
    vertical-align: top;
    margin-left: 4%;
}

.ns-column:first-child {
    margin-left: 0;
}

#people .row>.ns-column {
    text-align: center;
    width: 30.6666666667%;
}

#people .row>.ns-column>img {
    width: 60%;
    border-radius: 50%;
    max-width: 200px;
    margin-bottom: 1em;
}






#support {
    text-align: center;
}

#support .container {
    display: flex;
    flex-wrap: wrap;
}

#support .container img {
    max-height: 5rem;
    padding: 1.5rem;
    margin: auto;
    max-width: calc(100% - 3rem);
}




#careers {
    background-color: #A7C73F;
    color: white;
    padding: 2em 0 1em 0;
    margin: auto;
}

#careers a:hover {
    color: #2F3232;
}

#careers .row>.ns-column {
    width: 45.6666666667%;
}

#careers p {
    margin-bottom: 0.5em;
    text-align: left;
}

#careers ul {
    margin-bottom: 0;
}





#mailing {
    background-color: #A7C73F;
    padding-bottom: 2em;
    color: white;
}

#mailing p {
    text-align: center;
}

#mailing form {
    display: flex;
    margin:auto;
    max-width: 400px;
    color: #2F3232;
}

#mailing form>.email {
    flex-grow: 1;
    margin-right: 1em;
}




footer {
    background-color: #2F3232;
    padding: 2em 0 1em 0;
    color: white;
    font-size: 1.5rem;
}

footer .logo {
    font-size: 1.5em;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    text-align: center;
    line-height: 1em;
    letter-spacing: 0.1em;
}

footer .logo>img {
    width: 3em;
    margin-bottom: 0.3em;
}

footer .logo>.text {
    color: #565A5B;
}

footer .logo .glyco {
    font-size: 0.6em;
}

footer .columns {
    padding: 1em 0;
}

footer .copy {
    margin-top: 3em;
    color: #565A5B;
}

footer .copy>span {
    display: inline-block;
}

footer .row>.ns-column {
    width: 22%;
}

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

a:hover {
    color: #A7C73F;
}

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.2em;
    font-weight: bold;
    line-height: inherit;
}

@media (max-aspect-ratio: 1/1) {
    #intro>section>div {
        width: 100%;
        text-align: center;
        justify-content: flex-start;
    }
    #intro>section>div>p {
        text-align: center;
    }
    #intro>section>div>p:first-of-type {
        margin-top: 20%;
    }
    #intro>section>img {
        max-height: 40%;
        max-width: 100%;
        left: 0;
        right: 0;
        margin: 0 auto;
    }
    #intro>section>div>.bottom {
        margin-bottom: 8em;
    }
}

@media (max-width: 1000px) {
    #people .row>.ns-column {
        width: 48%;
    }
    footer .row>.ns-column {
        width: 30.6666666667%;
    }
    footer .logo-col {
        display: none;
    }
}

@media (max-width: 780px) {
    #people .row>.ns-column, #careers .row>.ns-column {
        width: 100%;
        margin-left: 0;
    }
    nav>.content {
        padding-top: 0.5em;
        flex-direction: column;
        align-items: center;
    }
    nav .logo>img {
        height: 4.5rem;
        width: 26rem;
    }
    nav>.content>.menu {
        font-size: 0.8em;
    }
    nav ul li {
        padding: 0.3em;
    }
    #intro {
        padding-top: 12rem;
    }
}

@media (max-width: 550px) {
    #intro {
        font-size: 2rem;
    }
    #about .ns-row, #about .ns-row:nth-child(odd) {
        flex-direction: column;
    }
    #about .ns-row>div, #about .ns-row:nth-child(odd)>div {
        padding: 1em 0 0 0;
    }
    footer .row>.ns-column {
        width: 100%;
        margin-left: 0;
        margin-bottom: 1em;
    }
    footer .copy {
        font-size: 0.8em;
    }
    h2 {
        text-align: center;
    }
    #support .container img {
        height: 3rem;
        padding: 1rem;
    }
    #mailing form {
        flex-direction: column;
    }
    #mailing form>.email {
        margin-right: 0;
    }
    nav>.content>.menu {
        font-size: 0.4em;
    }
}

@media (max-width: 375px) {
    #intro {
        font-size: 1.75rem;
    }
}

@media (max-height: 550px) {
    #intro {
        font-size: 2rem;
    }
    #intro img {
        height: 70vh;
    }
}

@media (max-height: 350px) {
    #intro {
        font-size: 1.5rem;
    }
}

#privacy .logo {
    display: block;
    font-size: 1.5em;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    text-align: center;
    line-height: 1em;
    margin: 1.5em 0;
    letter-spacing: 0.1em;
}

#privacy .logo:hover {
    color: inherit;
}

#privacy .logo>img {
    width: 10rem;
}

#privacy .logo .glyco {
    font-size: 0.6em;
}

#privacy h1 {
    text-align: left;
    font-size: 1.7em;
}

@media (max-width: 550px) {
    #privacy h1 {
        text-align: center;
    }
}

#privacy>div {
    margin-bottom: 2em;
}
