/* 
font-family: 'EB Garamond', serif;
font-family: 'Open Sans', sans-serif;
font-family: 'Oswald', sans-serif; 
*/

.green {
    background-color: #9aceac;
}

.blue {
    background-color: #6dcdc1;
}

.pink {
    background-color: #e2bdd9;
}

a {
    /* text-decoration: none; */
    color: #020202;
    transition: opacity 0.25s;
}

a:hover {
    opacity: 0.7;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: #111111;
    font-size: 21px;
}

.main {
    background-color: rgb(234,234,234);
}

.intro {
    padding-top: 48px;
    /* background-color: white; */
}

.intro-body {
    padding-left: 48px;
}

.grid {
    max-width: 1600px;
    padding: 0 24px;
}

.row h2 {
    text-align:center;
    font-size: 2em;
    margin: 12px 0;
}

.nav a  {
    text-decoration: none;
}

.nav h1, .nav h4 {
    padding: 0;
    margin: 0;
}

h1, h2 {
    font-family: 'Oswald', sans-serif; 
    color: #020202;
    text-transform: uppercase;
    margin: 0;
    padding:0;
    font-weight: normal;
}

h1 {
    font-size: 1.25em;
}

h4 {
    font-family: 'EB Garamond', serif;
    color: #666;
    font-weight: normal;
}

.header {
    background-color: white;
}

.nav .nav-right {
    text-align: right;
    justify-self:flex-end;
}

.nav .nav-right ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    align-items: flex-start;
    justify-content:flex-end;
}

.nav .nav-right ul h2{
    font-size: 1em;
}

.nav .nav-right ul h4{
    margin-bottom: 3px;
}

.nav .nav-right ul li{
    padding-left: 42px;
    color: #333;
}

.nav .nav-right ul li:first-child{
    padding-left: 0px;
}

.intro h3 {
    font-size: 3em;
    text-transform: initial;
    margin: 0;
}

.main-photo img {
    margin-top: -15px;
}

.gallery {
    text-align: center;
    /* margin-top: 24px; */
}

.gallery-header {
    margin-top: 36px;
}

.gallery h2, .gallery h4 {
    margin: 0;
    padding: 0;
}

.gallery-item {
    text-decoration: none;
    color: #020202;
}

.gallery-item img {
    box-shadow: 2px 5px 10px rgba(0,0,0,0.5);
}

.gallery .gallery-item .gallery-title {
    text-decoration: none;
    padding: 12px 6px;
    border-radius: 6px;
    font-size: 0.8em;
}

.footer {
    text-align: right;
    padding-bottom: 24px;
}

.footer a {
    text-decoration: none;
    font-family: 'EB Garamond', serif;
    color: #666;
    font-weight: normal;
}

.footer h4 {
    margin: 3px 0;
}

/* ---------- case studies ------------ */

.case-study {
    padding: 36px 0;
    margin: 0 0 80px;
}

.case-study:last-child {
    padding: 36px 0;
    margin: 0 0 20px;
}

.case-study h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 1.5em;
    margin-top: 24px;
}

.case-study-body {
    padding: 15px 36px;
}

.case-study img {
    box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
}

.case-study .old-site {
    display: flex;
    align-items:center;
    margin-top: 36px;
    font-family: 'EB Garamond', serif;
}

.case-study .old-site span {
    padding-left: 24px;
}

/* ---------- case studies ------------ */

.resume .section h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 1.5em;
    margin-top: 24px;
}

ul.responsibilities {
    margin: 0 0 0 1em;
    padding: 0;
    font-size: 0.825em;
}

ul.responsibilities li {
    margin-bottom: 6px;
}

.resume-item {
    margin-bottom: 48px;
}

.resume-item h3 {
    font-size: 1em;
    margin: 1.25em 0 0 0;
    font-weight: bold;
    text-transform: initial;
}

.resume-item h4 {
    margin: 16px 0 24px;
}

/* -------- responsive styles ---------- */

@media only screen and (max-width: 1100px) {
    body {
        font-size: 16px;
    }
}

@media only screen and (max-width: 780px) {
    .grid {
        padding: 0 12px;
    }
    .intro-body {
        padding-left: 15px;
    }
    .case-study-body {
        padding: 15px;
    }
    .nav .nav-right ul {
        flex-direction: column;
        align-items: flex-end;

    }
    .nav .nav-left {
        max-width: 50%;
    }
    .nav .nav-right {
        max-width: 50%;
    }
    .resume .section h3 {
        margin: 0;
    }
}
