/* CSS Document */

@font-face {
    font-family: 'IBM Plex Sans Light';
    src: url("../fonts/IBMPlexSans-Light.eot") format("embedded-opentype"),
        url("../fonts/IBMPlexSans-Light.otf") format("opentype"),
        url("../fonts/IBMPlexSans-Light.ttf") format("truetype"),
        url("../fonts/IBMPlexSans-Light-Latin1.woff") format("woff"),
        url("../fonts/IBMPlexSans-Light-Latin1.woff2") format("woff");
    font-style: normal;
}

@font-face {
    font-family: 'IBM Plex Sans Light Italic';
    src: url("../fonts/IBMPlexSans-LightItalic.eot") format("embedded-opentype"),
        url("../fonts/IBMPlexSans-LightItalic.otf") format("opentype"),
        url("../fonts/IBMPlexSans-LightItalic.ttf") format("truetype"),
        url("../fonts/IBMPlexSans-LightItalic-Latin1.woff") format("woff"),
        url("../fonts/IBMPlexSans-LightItalic-Latin1.woff2") format("woff");
    font-style: italic;
}

@font-face {
    font-family: 'IBM Plex Serif Regular';
    src: url("../fonts/IBMPlexSerif-Regular.eot") format("embedded-opentype"),
        url("../fonts/IBMPlexSerif-Regular.otf") format("opentype"),
        url("../fonts/IBMPlexSerif-Regular.ttf") format("truetype"),
        url("../fonts/IBMPlexSerif-Regular-Latin1.woff") format("woff"),
        url("../fonts/IBMPlexSerif-Regular-Latin1.woff2") format("woff");
    font-style: normal;
}

@font-face {
    font-family: 'IBM Plex Serif Light';
    src: url("../fonts/IBMPlexSerif-Light.eot") format("embedded-opentype"),
        url("../fonts/IBMPlexSerif-Light.otf") format("opentype"),
        url("../fonts/IBMPlexSerif-Light.ttf") format("truetype"),
        url("../fonts/IBMPlexSerif-Light-Latin1.woff") format("woff"),
        url("../fonts/IBMPlexSerif-Light-Latin1.woff2") format("woff");
    font-style: normal;
}

@font-face {
    font-family: 'IBM Plex Serif Light Italic';
    src: url("../fonts/IBMPlexSerif-LightItalic.eot") format("embedded-opentype"),
        url("../fonts/IBMPlexSerif-LightItalic.otf") format("opentype"),
        url("../fonts/IBMPlexSerif-LightItalic.ttf") format("truetype"),
        url("../fonts/IBMPlexSerif-LightItalic-Latin1.woff") format("woff"),
        url("../fonts/IBMPlexSerif-LightItalic-Latin1.woff2") format("woff");
    font-style: normal;
}

/******* General settings *******/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

body {
    margin: 0 auto;
    padding: 0;
    font-family: 'IBM Plex Sans Light', sans-serif;
    font-weight: 300;
    max-width: 1500px;
    font-size: 16px;
}

h1 {
    font-size: 1.75rem;
    margin-top: 0;
    line-height: 1.25em;
    /*	font-weight: 300;*/
    text-transform: uppercase;
    text-align: left;
}

h2 {
    text-align: left;
    font-size: 1.25rem;
    text-transform: uppercase;
}

em {
    font-family: "IBM Plex Sans Light Italic";
}

.description {
    max-width: 600px;
    padding-bottom: 3%;
}

.title {
    padding-top: 1vw;
    max-width: 600px;
}

.title h2 {
    font-family: 'IBM Plex Serif Regular', serif;
    font-weight: 400;
    text-transform: lowercase;
    font-size: .75rem;
    line-height: 2.5rem;
    text-align: left;
    color: #A1A1A1;
    padding-bottom: 1rem;
}

.contact {
    font-family: 'IBM Plex Serif Regular', serif;
    font-weight: 400;
    text-transform: lowercase;
    font-size: .75rem;
    text-align: left;
    color: #A1A1A1;
    padding-bottom: .5rem;
}

.caption {
    margin-bottom: 4%;
}

.caption p {
    font-weight: 400;
    font-size: .75rem;
    color: #A1A1A1;
}

.caption img {
    margin-bottom: 0;
    padding-right: 0;
}

.alignright {
    float: right;
    clear: both;
}

.arrow {
    color: #A1A1A1;
    font-size: 1.5rem;
    padding-bottom: .75rem;
    text-decoration: none;
    font-variant: all-small-caps;
}

.arrow:hover {
    color: #ED1C24;
}

p {
    line-height: 22px;
    padding-bottom: 1em;
    color: #222;
    max-width: 600px;
}

q {
    quotes: "\201c""\201d";
}

.blockquote {
    hanging-punctuation: first;
}

em {
    font-style: italic;
}

img {
    max-width: 100%;
    margin-bottom: 4%;
}

a {
    color: #000;
}

p a:hover {
    font-family: "IBM Plex Serif Light Italic";
    letter-spacing: .4px;
}

.wrapper {
    max-width: 100%;
    margin: 0 auto;
}

/******* Header/Navigation *******/

.identity {
    position: fixed;
    width: 95%;
    height: 100px;
    background: #fff;
    top: 0;
    margin: 0 auto;
    padding-bottom: 2%;
    border-bottom: 1px #A1A1A1 solid;
    z-index: 100;
    left: 2.5%;
}

.identity h1 {
    font-family: 'IBM Plex Serif Light', serif;
    color: black;
    font-size: 30px;
    font-weight: 300;
    text-transform: capitalize;
    text-align: center;
    border-bottom: none;
    padding-top: 20px;
    padding-bottom: 6px;
    display: block;
}

.identity h1:hover {
    letter-spacing: normal;
}

.identity h2 {
    font-size: 16px;
    font-weight: 300;
    text-transform: lowercase;
    text-align: center;
    color: #A1A1A1;
}

.identity a {
    text-decoration: none;
}

#plus1,
#plus2,
#plus3,
#plus4,
#plus5,
#plus6,
#plus7,
#plus8 {
    display: none;
}

#plus {
    color: #000;
    cursor: pointer;
}

.main-nav {
    width: 95%;
    display: none;
    background: #fff;
    position: fixed;
    overflow: auto;
    z-index: 200;
    max-height: 80%;
    border-bottom: 1px #A1A1A1 double;
    left: 2.5%;
    top: 100px;
}

.main-nav.visible {
    display: block;
}

.hamburger {
    width: 30px;
    position: fixed;
    top: 20px;
    left: 3%;
    z-index: 500;
    cursor: pointer;
}

.main-nav ul {
    padding-top: 10px;
    line-height: 2em;
    text-align: center;
}

.main-nav li {
    list-style: none;
    font-size: 18px;
    text-transform: capitalize;
}

.main-nav a {
    text-decoration: none;
    color: #000000;
}

a.current-page {
    color: #ED1C24;
}

#work-nav-toggle {
    cursor: pointer;
}

.sub-nav {
    border-top: 1px #A1A1A1 double;
    border-bottom: 1px #A1A1A1 double;
    padding: 10px;
    max-width: 200px;
    margin: 10px auto;
    display: none;
}

.sub-nav.visible {
    display: block;
    padding: 10px 0;
}

.sub-nav li {
    text-transform: lowercase;
    font-weight: 300;
    line-height: 40px;
}

.social {
    text-align: center;
}

.social a {
    margin: 20px 3px;
}

.instagram {
    display: inline-block;
    height: 16px;
    width: 16px;
    background-image: url(../images/icons/instagram.svg);
    text-indent: -9999px;
}

.linkedin {
    display: inline-block;
    height: 16px;
    width: 16px;
    background-image: url(../images/icons/linkedin.svg);
    text-indent: -9999px;
}

.behance {
    display: inline-block;
    height: 16px;
    width: 16px;
    background-image: url(../images/icons/behance.svg);
    text-indent: -9999px;
}

/******* Homepage *******/

.masonry {
    column-count: 1;
    column-gap: 10%;
}

.masonry img {
    margin-bottom: 0;
}

.item {
    /* Masonry bricks or child elements */
    display: inline-block;
    margin-bottom: 50px;
    width: 100%;
}

.overlay h2 {
    text-transform: capitalize;
    text-align: center;
    margin-top: 8px;
    font-size: 16px;
}

.overlay a {
    color: black;
    text-decoration: none;
}

/*
.col {
	width: 48%;
	margin-right: 4%;
	margin-top: 4%;
    margin-bottom: 0;
    float: left;
}

.col img {
    margin-bottom: 0;
}

.col:nth-child(2n) {
	margin-right: 0;
}
*/

/******* Content *******/

.content {
    margin: 0;
    padding: 30px;
    padding-bottom: 0;
    margin-top: 120px;
}

.project {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    /*    max-width: 100%;*/
}

.grid {
    display: grid;
    align-content: center;
    margin-bottom: 4%;
}

.two {
    grid-template-columns: auto;
    grid-row-gap: 25px;
}

.three {
    grid-template-columns: auto;
    grid-row-gap: 25px;
}

.four {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 25px;
    grid-row-gap: 25px;
}

.six {
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 25px;
    grid-row-gap: 25px;
}

.grid .caption {
    text-align: center
}

.about-photo {
    max-width: 50%;
    float: right;
    padding: 3% 0 3% 3%;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-bottom: 4%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.centered {
    max-width: 800px;
    margin: 0 auto;
}

/******* Footer *******/

.footer {
    clear: both;
    max-width: 600px;
    border-top: 1px #A1A1A1 solid;
    padding-top: 1rem;
}

.footer p {
    /*	font-size: 12px;*/
    max-width: 100%;
    color: #A1A1A1;
    font-family: 'IBM Plex Serif Regular', serif;
    font-weight: 400;
    font-size: .75rem;
}

.footer a:hover {
    font-family: inherit;
    letter-spacing: inherit;
}

@media (min-width: 500px) {

    .about-photo {
        max-width: 30%;
    }

}

@media (min-width: 750px) {

    /******* Header/Navigation 750px *******/
    .header-wrapper {
        position: fixed;
        overflow: auto;
        top: 30px;
        border-top: 1px #A1A1A1 solid;
        border-bottom: 1px #A1A1A1 solid;
        padding: 1rem 0 .75rem 0;
        margin-left: 30px;
        width: 210px;
    }

    .identity {
        width: 100%;
        margin: 0;
        padding: 0;
        position: static;
        background: #fff;
        border-bottom: none;
        height: auto;
    }

    .identity h1 {
        margin-top: 5px;
        line-height: 1.25em;
        text-align: left;
        padding-top: 0;
        padding-bottom: 0;
    }

    .identity h1:hover {
        font-family: 'IBM Plex Serif Light Italic', serif;
        letter-spacing: 1px;
    }

    .identity h2 {
        text-align: left;
        padding-top: 7px;
        line-height: 1.25em;
    }

    #main-nav-toggle {
        display: none;
    }

    .main-nav {
        display: block;
        position: static;
        overflow: auto;
        margin: 0 auto;
        border: none;
        left: 0%;
        width: 100%;
    }

    .main-nav ul {
        width: 100%;
        padding: 0;
        padding-top: 20px;
        margin: 0;
        font-size: 24px;
        text-align: left;
    }

    .main-nav li {
        font-size: 22px;
    }

    .main-nav a {
        text-decoration: none;
        color: #000000;

    }

    a.current-page {
        color: #ED1C24;
    }

    .main-nav a:hover {
        font-family: 'IBM Plex Serif Light Italic', serif;
    }

    .sub-nav.visible {
        display: block;
        margin: 0 auto;
    }

    .sub-nav ul {
        border-top: 1px black solid;
        border-bottom: 1px black solid;
        padding: 18px;
    }

    .sub-nav li {
        text-transform: lowercase;
        font-weight: 300;
        line-height: 40px;
    }

    .social {
        text-align: left;
    }

    /******* Homepage 750px *******/
    .masonry {
        column-count: 1;
        column-gap: 60px;
    }

    .item {
        margin-bottom: 60px;
    }

    /*.col {
        margin-top: 0;
        margin-bottom: 4%;
        float:left;
	}*/

    .overlay img {
        transition: opacity .3s;
    }

    .overlay a:hover img {
        opacity: 0;
    }

    .overlay {
        position: relative;
    }

    .overlay .overlay-text {
        position: absolute;
        top: 50%;
        margin: 0;
        transform: translateY(-50%);
        text-align: center;
        width: 100%;
        display: none;
    }

    .overlay:hover .overlay-text {
        display: block;
        z-index: 100;
    }

    .overlay h2 {
        font-size: 22px;
        padding: 20px;
        line-height: 30px;
    }

    .overlay h3 {
        font-size: 14px;
    }

    /******* Content 750px *******/
    .title {
        border-top: 1px #A1A1A1 solid;
        padding-top: 24px;
    }

    .content {
        margin-left: 280px;
        /*-ms-flex-preferred-size: 75%;
        flex-basis: 75%;
        max-width: 75%;*/
        /*box-sizing: border-box;*/
        z-index: 300;
        margin-top: 0;
        padding-left: 0;
        padding-right: 50px;
    }

    h1 {
        font-size: 28px;
        text-align: left;
    }

    h1.page {
        text-align: left;
    }
}

@media (min-width: 850px) {
    
    /******* Homepage 850px *******/
    .masonry {
        column-count: 2;
        column-gap: 60px;
    }
}

@media (min-width: 1000px) {

    /******* Header/Navigation 1000px *******/

    .header-wrapper {
        width: 250px;
    }

    .identity h1 {
        font-size: 36px;
    }

    .identity h2 {
        font-size: 16px;
    }

    /******* Homepage 1000px *******/
    .content {
        margin-left: 350px;
    }

    /******* Content 1000px *******/
    .title {
        padding-top: 27px;
    }

    .title h1 {
        font-size: 30px;
    }

    .two {
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 4%;
    }

    .three {
        grid-template-columns: repeat(3, 1fr);
        grid-column-gap: 4%;
    }

    .four {
        grid-template-columns: repeat(4, 1fr);
        grid-column-gap: 4%;
    }

    .six {
        grid-template-columns: repeat(6, 1fr);
    }

    .twelve {
        grid-template-columns: repeat(12, 1fr);
    }

}

@media (min-width: 1200px) {

    /******* Homepage 1200px *******/
    .masonry {
        column-count: 3;
    }

    /*
    .col {
		width: 30.6666%;
		margin-right: 4%;
        float: left;
	}
	
	.col:nth-child(2n) {
		margin-right: 4%;
	}
	
	.col:nth-child(3n) {
		margin-right: 0;
	}
    */