/*
Theme Name: Speculative Play
Theme URI: http://www.speculativeplay.com/
Author: Samara Dionne
Author URI: http://samaradionne.com
Description: Custom theme for the Speculative Play project by Concordia University. 
Version: 1.0.0
*/

/*************************************|
|*******         FONTS       *********|
**************************************/

@import url('https://fonts.googleapis.com/css?family=Arimo:400,400i,700|Didact+Gothic');

/*************************************|
|*******         RESET       *********|
**************************************/

html {
    box-sizing: border-box;
    height: 100%;
}
*, *:before, *:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
    -webkit-transition: all .2s;
       -moz-transition: all .2s;
         -o-transition: all .2s;
            transition: all .2s;
}
.clearfix:after {
    height: 0;
    display: block;
    visibility: hidden;
    clear: both;
    font-size: 0;
    content: ' ';
}
* html .clearfix {
    zoom: 1;
}
*:first-child + html .clearfix {
    zoom: 1;
}

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, 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;
    font-size: 100%;
    font-size: 16px;
    vertical-align: baseline;
    border: 0;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    position: relative;
    min-height: 100%;
    padding-bottom: 135px;
    overflow-y: scroll;
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}
table {
    border-spacing: 0;
    border-collapse: collapse;
}
a {
    text-decoration: none;
    color: #000;
    outline: none;
}

/*************************************|
|*******        GLOBAL       *********|
**************************************/

body {
    font-family: 'Arimo', sans-serif;
}
h1, h2, h3, h4, h5 {
    font-family: 'Didact Gothic', sans-serif;
}
p {
    line-height: 1.125em;
    letter-spacing: .2px;
    word-spacing: 2px;
}
h2 {
    font-size: 28px;
    font-weight: bold;
}
h3 {
    font-size: 22px;
    font-weight: bold;
}

.wrapper {
    max-width: 1140px;
    margin: 0 auto;
    padding: 150px 75px 0;
    font-size: 0;
}
.wrapper p {
    margin: 20px 0;
}
.content {
    font-size: 0;
}
.content a {
    text-decoration: underline;
    color: #969696;
}


.page-template-page-people h3, .page-template-projects h3 {
    padding-top: 20px;
}
.article {
    padding: 20px;
}
.article:hover {
    background-color: #eaeaea;
}
.right {
    width: 60%;
    display: inline-block;
}
.right img {
    width: 100%;
    height: auto;
}
.left {
    width: 40%;
    height: auto;
    padding-right: 25px;
    display: inline-block;
    vertical-align: top;
}
.left img {
    width: 100%;
    height: auto;
    padding-top: 42px;
}

/*************************************|
|*******        MENU         *********|
**************************************/

header {
    position: fixed;
    z-index: 100;
    top: 50px;
    width: 100%;
    font-family: 'Didact Gothic', sans-serif;
}
header ul {
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 50px;
    display: table;
    font-size: 0;
    text-align: center;
}
header ul li {
    width: 25%;
    display: inline-table;
}
header ul li a {
    padding: 15px;
    display: table-cell;
    font-size: 18px;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
}
header li a:hover, footer a:hover {
    /*opacity: .5;*/
}
header .insta_bg {
    position: absolute;
    z-index: -10;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;

    filter: saturate(20%) brightness(60%);
}

.logo {
    position: fixed;
    z-index: 10;
    top: 35px;
    width: 66px;
    margin-left: -50px;
    display: block;
}
.logo img {
    width: 100%;
    height: auto;
}
.active {
    font-weight: bold;
}

.nav-icon {
    display: none;
}


/*************************************|
|*******       FOOTER        *********|
**************************************/

footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px;
    text-align: center;
}
footer a {
    width: 35px;
    height: 35px;
    margin: 0 5px;
    display: inline-table;
    text-decoration: none;
    color: #fff;
    border-radius: 50%;
    background: #353535;
}
footer a .fa {
    display: table-cell;
    font-size: 20px;
    vertical-align: middle;
}


/*************************************|
|*******        HOME         *********|
**************************************/

.home #instagram {
    position: fixed;
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
    background-repeat: no-repeat;
    background-size: cover;

    filter: blur(3px);
}


/*************************************|
|*******        PEOPLE       *********|
**************************************/

.people h3 {
    text-align: center;
}
.page-template-page-people .article {
    width: 25%;
    display: inline-block;
}
.page-template-page-people .crop img {
    max-height: 200px;
}


/*************************************|
|*******      PROJECTS       *********|
**************************************/

.page-template-projects .article {
    width: 33.3333%;
    display: inline-block;
}
.page-template-projects .article img, .page-template-page-people .article img, .single .article img {
    width: 100%;
    height: auto;
}


/*************************************|
|*******        TEXTS        *********|
**************************************/

.crop img {
    width: 250px;
    height: 150px;

    object-fit: cover;
}
.text {
    padding-left: 20px;
}
.page-template-page-texts .article {
    width: 100%;
    display: table;
}
.page-template-page-texts .article .crop, .page-template-page-texts .article .text {
    display: table-cell;
    vertical-align: top;
}
.read_more {
    margin-top: 20px;
    display: block;
    font-size: 14px;
    opacity: .5;
}


/*************************************|
|*******       PAGE NAV      *********|
**************************************/

.page-navi {
    padding: 25px 0;
    text-align: center;
}
.page-navi li {
    display: inline-block;
    line-height: 0;
}
.page-navi a, .page-navi a:visited, .page-navi span.pages, .page-navi span.extend, .page-navi span.current, .page-navi span.dots {
    padding: 10px 20px;
    display: inline-block;
    font-size: 14px;
    line-height: 100%;
    color: #000;
}
.page-navi span.current {
    color: #fff;
    background: #353535;
}
.page-navi a:hover {
    background-color: #ececec;
}


/*************************************|
|*******      RESPONSIVE     *********|
**************************************/

@media (max-width: 1000px) {
    .wrapper {
        padding: 150px 75px 0;
    }

    .page-template-projects .article, .page-template-page-people .article {
        width: 50%;
    }
}
@media (max-width: 700px) {
    header {
        top: 20px;
    }
    .logo {
        top: 0;
    }

    .wrapper {
        padding: 100px 75px 0;
    }
    .left, .right {
        width: 100%;
    }
    .left {
        padding-right: 0;
        text-align: center;
    }
    .right {
        padding-top: 25px;
    }
    /*    .left img {
        width: initial;
        max-width: 100%;
    }*/

    .page-template-projects .article, .page-template-page-people .article {
        width: 100%;
    }
}
@media screen and (max-width: 480px) {
    header {
        top: 0;
    }

    header ul {
        padding-left: 0;
    }
    nav {
        height: auto;
        border-bottom: 0;
    }
    nav ul {
        height: auto;
        display: none;
    }
    nav li {
        position: relative;
        width: 100% !important;
        float: left;
    }
    nav a {
        width: 100%;
        text-align: left;
    }
    nav a:hover {
        background: #444;
    }
    header ul li a {
        border-bottom: 1px solid #6f6f6f;
    }

    .logo {
        display: none;
    }
    .wrapper {
        padding: 75px 25px 0;
    }

    /* Animated Nav */
    .nav-icon {
        width: 30px;
        margin-right: 20px;
        padding: 10px 0;
        display: inline-block;
        float: right;
        cursor: pointer;
        -webkit-transition: all .2s ease-in-out;
           -moz-transition: all .2s ease-in-out;
                transition: all .2s ease-in-out;
        vertical-align: middle;
    }
    .nav-icon:after, .nav-icon:before, .nav-icon span {
        height: 3px;
        margin: 5px 0;
        display: block;
        content: '';
        -webkit-transition: all .2s ease-in-out;
           -moz-transition: all .2s ease-in-out;
                transition: all .2s ease-in-out;
        background-color: #fff;
    }

    .open_nav.nav-icon:before {
        -webkit-transform: translateY(8px) rotate(135deg);
           -moz-transform: translateY(8px) rotate(135deg);
                transform: translateY(8px) rotate(135deg);
    }
    .open_nav.nav-icon:after {
        -webkit-transform: translateY(-8px) rotate(-135deg);
           -moz-transform: translateY(-8px) rotate(-135deg);
                transform: translateY(-8px) rotate(-135deg);
    }

    .open_nav.nav-icon span {
        -webkit-transform: scale(0);
           -moz-transform: scale(0);
                transform: scale(0);
    }
}
