/* GENERAL */

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 16px;
    background-color: #F5F4F4;
}

/* TODO convert to .large-header */
h1 {
    font-size: 1.5rem;
    font-weight: 300;
    /*color: #504e46;*/
    color: #604D16;
}

/* TODO convert to .small-header */

h2 {
    font-size: 1.5rem;
    font-weight: 300;
    /*color: #504e46;*/
    color: #604D16;
}

/* TODO: convert to .body-text */
p {
    /*color: #7b7a74;*/
    /*color: #7A7566;*/
    color: #716e63;
    line-height: 26px;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

li {
    display: inline-block;
}

li a {
    padding-left: 1rem;
}

section {
    padding: 2rem;
    max-width: 1250px;
    margin: 0 auto;
}

i.arrow {
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    width: 1rem;
    height: 1rem;
}

.arrow.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,.21);
}

header {
    background-color: #1E1112;
    color: white;
    height: 3rem;
    padding: 1rem 2rem;
}

header .logo {
    float: left;
}

header .logo a {
    color: white;
}

header nav ul {
    float: right;
}

header nav a {
    color: white;
}

footer {
    margin-top: 10rem;
    padding: 1.5rem;
    color: white;
    background-color: #1E1112;
    font-size: 0.875rem;
}

/* HERO */
.hero {
    background: 0 0/cover no-repeat url("../images/background.png");
    height: 100vh;
    padding: 1rem;
    color: white;
    min-height: 425px;
    position: relative;
}

.hero h1 {
    color: #FCDD81;
    font-size: 2.25rem;
}

.hero h2 {
    color: white;
}

.identity {
    position: relative;
    top: 20%;
    left: 50%;
    margin-left: -25%;
    width: 50%;
    text-align: center;
    line-height: 1.5;
    font-size: 1.5rem;
}

.identity .buttons {
    margin-top: 3rem;
}

.identity .button {
    border: 3px solid #FCDD81;
    border-radius: 50px;
    color: white;
    background-color: #000;
    padding: 0.5rem 1.25rem;
    font-size: 1.0rem;
}

.prompt {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    width: 50%;
    margin-left: -25%;
    text-align: center;
    font-size: 1.5rem;
}

.prompt .arrow {
    position: relative;
    top: -0.25rem;
}

/* PROJECT SUMMARIES*/

.projects-list h1 {
    padding-bottom: 1rem;
}

.projects-list h1 a {
    color: #604D16;
}

.projects-list article:nth-of-type(odd) {
    display: flex;
    flex-wrap: wrap;
}

.projects-list article:nth-of-type(even) {
    display: flex;
    flex-wrap: wrap-reverse;
}

.projects-list article > div {
    flex: 1;
    padding: 2rem;
    position: relative;
    min-width: 350px;
}

.projects-list img {
    max-width: 460px;
}

.more {
    display: inline-block;
    margin-top: 1rem;
    /*color: #504e46;*/
    color: #604D16;
    font-style: italic;
}

@media (max-width: 778px) {
    .projects-list article > div.samples {
        padding-bottom: 0;
    }
}

/* DETAIL PAGES*/

.project h1 {
    margin: 2.5rem 0 3rem;
}

.project-details {
    display: flex;
}

.project-details .description {
    flex: 1;
    padding-right: 2rem;
}

.project-details .samples {
    flex: 1.5;
    padding-left: 2rem;
}

.project-details h2 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.project-details p {
    margin-bottom: 2rem;
}

.samples a {
    color: #8c6b0d;
}