* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@font-face { font-family: AvenirMedium; src: url('../fonts/AvenirMedium.otf'); }
@font-face { font-family: AvenirLight; src: url('../fonts/AvenirLight.otf'); }
@font-face { font-family: AvenirLight; src: url('../fonts/AvenirLight.otf'); }
@font-face { font-family: AvenirHeavy; src: url('../fonts/AvenirHeavy.otf'); }
@font-face { font-family: AvenirBlack; src: url('../fonts/AvenirBlack.otf'); }



a{
    color: #d15463;
}

.container {
    overflow-x: hidden;
    position: relative;
    margin-left: 7.9em;
    margin-bottom: 0;
}

.new {
    width: 80%;
    margin: 0 auto;
    margin-top: 5em;
    margin-bottom: 5em;
}

.new> p {
    font-family: 'AvenirLight';
    line-height: 1.5em;
}

.new_h1 {
    font-family: 'AvenirBlack';
    font-size: 2.3em;
    letter-spacing: 5px;
    border-bottom: 2px solid;
    padding-bottom: .5em;
}

.new_launch {
    width: 80%;
    margin: 0 auto;
    margin-top: -2em;
    margin-bottom: 2em;
    font-family: 'AvenirBlack';
    font-size: 1.2em;
    letter-spacing: 3px;
    line-height: 2em;
}

.new_launch> a {
    color: black;
}

.work-container {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

.prev {
    float:right;
}

.work {
    width: 100%;
    float: left;
    overflow: hidden;
    padding-left: 8em;
    position: relative;
    left: 0;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.work-item {
    width: 50%;
    overflow: hidden;
    float: right;
}

.work-item-large {
    float: right;
}


.work-item-small {
    float: right;
}

.hello {
    padding-left: 20%;
    padding-right: 20%;
    padding-top: 10%;
}

.hello>H1 {
    font-family: 'AvenirMedium',  sans-serif;
    font-size: 3em;
    padding-bottom: .5em;
    color: white;
    letter-spacing: 4px;
}

.left img{
    width: 4em;
    float: left;
    filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(1); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}

.middle img{
    float: left;
    width: 4em;
    filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(1); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}

.vimeo img{
    float: left;
    width: 4em;
    filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(1); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}

.left img:hover {
    -webkit-filter: grayscale(0);
}

.middle img:hover {
    -webkit-filter: grayscale(0);
}

.vimeo img:hover {
    -webkit-filter: grayscale(0);
}

.hello>H2 {
    font-family: 'AvenirMedium',  sans-serif;
    font-size: 1.4em;
    color: white;
    line-height: 2em;
    text-decoration: none;
}

H2> a {
    font-family: 'AvenirMedium',  sans-serif;
    font-size: 1em;
    color: white;
    padding-right: 2em;
}


.hello>p {
    font-family: 'AvenirLight';
    font-size: 1.4em;
    line-height: 2em;
    width: 90%;
    letter-spacing: 1px;
}


.work img {
    height: auto;
    width: 100%;
    float: left;
    background-size: 100%;
    -webkit-filter: saturate(0%);
    -webkit-transition : -webkit-filter .6s linear;
}

.work img:hover {
    -webkit-filter: saturate(100%) ;
    -webkit-transition : -webkit-filter .6s linear;
}


.sidenav {
    width: 63em;
    height: 100%;
    background-color: black;
    position: fixed;
    color: white;
    z-index: 999;
    left: -55em;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    /*font-size: 64px;*/
}

.nav-icon {
    font-size: 50px;
    text-align: center;
    display: block;
    width: 128px;
    float: right;
    background: black;
    color: white;
}

a.nav-icon {
    color: white;
}


.logo>img {
    width: 5.4em;
    display: inline-block;
    float: right;
    z-index: 1000;
    position: fixed;
    bottom: 0;
    left: 1.2em;
}

.content {
    padding: 20px;
    background: black;
}


/*WHEN OPEN*/

.open .work {

    left: 24em;
}

.open .sidenav {
    left: 0;
}


/* Project page styles */

.categories {
    font-family: "AvenirHeavy";
    letter-spacing: .3em;
    font-size: 1.2em;
    width: 50em;
    padding-top: 1.5em;
}


.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

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

.project {
    width: 100%;
    height: 100%;
    margin-top: 3.5em;
    padding-top: 1em;
    padding-left: 10em;
}

.project_container img{
    width: 100%;
    padding-left: 3em;
}

.project_container {
    margin-left: 4em;
}

.project_container a:hover {
    color: #999999;
}

.landfills_img {
    width: 80%;
    padding-bottom: 5em;
    margin: 0 auto;
}

.skillzilla_img {
    width: 80%;
    padding-bottom: 5em;
    margin: 0 auto;
}

.landfills_img img {
    padding-top: 3em;
}

.back_button {
    font-size: 4em;
    font-family: "AvenirMedium", sans-serif;
    background-color: black;
    color: white;
    position: absolute;
    top: 3.5em;
    left: 14.2em;
    z-index: 1001;
}

a.back_button:hover {
    color:white;
}   

#head {
    text-align: center;
    font-family: "AvenirMedium", sans-serif;
    padding-top: 40%;
    padding-bottom: 5%;
    font-size: 2em;
    display: block;

}


.emperor_concept {
    background-color: black;
    color: white;
}

.project_title {
    width: 45%;
    font-family: "AvenirLight";
    padding-left: 10%;
    padding-bottom: .3em;
    position: absolute;
    font-size: 2em;    
    border-bottom: 1px;
    border-style: solid;
    line-height: 1.5em;

}

.project_info {
    width: 85%;
    font-family: "AvenirLight";
    font-size: 1em;
    line-height: 1.7em;
    float: left;
    padding-left: 50%;
    padding-top: 8em;
}


.launch {
    margin-top: 5%;
    margin-bottom:4em;
    padding-left: 50%;
    font-family: "AvenirMedium";
    letter-spacing: .3em;
    float: left;
    line-height: 2em;
}

.launch>a {
    color: black;
}

span {
    font-size: .8em;
    line-height: 3em;
    color: #999999;
}

.landfills_img p {
    text-align: center;
    font-family: "AvenirLight";
    font-size: 1.5em;
    border-bottom: 1px solid;
    padding-bottom: 1em;
}


/* Tablet! */
@media screen and (min-width:720px) and (max-width:1080px) {

    .sidenav {
        width: 45em;
        height: 100%;
        background-color: black;
        position: fixed;
        color: white;
        z-index: 999;
        left: -37em;
        -webkit-transition: all .5s ease;
        -moz-transition: all .5s ease;
        -ms-transition: all .5s ease;
        -o-transition: all .5s ease;
        transition: all .5s ease;
        /*font-size: 64px;*/
    }

    .back_button {
        font-size: 4em;
        font-family: "AvenirMedium", sans-serif;
        background-color: black;
        color: white;
        position: absolute;
        top: 3em;
        left: 9.8em;
        z-index: 1001;
    }

    .hello>p {
        font-family: 'AvenirLight';
        font-size: 1.8em;
        line-height: 1.5em;
    }

    .categories {
    font-family: "AvenirHeavy";
    letter-spacing: .3em;
    font-size: 1.3em;
    width: 50em;
}

    .project_title {

        font-family: "AvenirLight";
        padding-left: 20%;
        position: relative;
        font-size: 2em;    
        border-bottom: 1px;
        border-style: solid;
        line-height: 1.5em;

    }

        .project_info {
        width: 85%;
        font-family: "AvenirLight";
        font-size: 1em;
        line-height: 1.7em;
        float: left;
        padding-left: 50%;
        padding-top: 3em;
    }


    .launch {
        margin-bottom: 2em;
    }

}

/* Mobile! */
@media screen and (max-width: 719px) {

    .open .work {
        left: 22em;
    }

    .sidenav {
        width: 30em;
        height: 100%;
        background-color: black;
        position: fixed;
        color: white;
        z-index: 999;
        left: -22em;
        -webkit-transition: all .5s ease;
        -moz-transition: all .5s ease;
        -ms-transition: all .5s ease;
        -o-transition: all .5s ease;
        transition: all .5s ease;
        /*font-size: 64px;*/
    }

    .categories {
    font-family: "AvenirHeavy";
    letter-spacing: .3em;
    font-size: 1.2em;
    width: 15em;
}

    .back_button {
        font-size: 4em;
        font-family: "AvenirMedium", sans-serif;
        background-color: black;
        color: white;
        position: absolute;
        top: 2.5em;
        left: 6em;
        z-index: 1001;
    }

    .hello {
        height: 100%;
        padding-left: 2.5em;
    }

    .hello>p {
        font-family: 'AvenirLight';
        font-size: 1.2em;
        line-height: 1.6em;
        width: 100%;
        margin-right: 0;
    }

    .hello>H2 {
        font-family: 'AvenirMedium',  sans-serif;
        font-size: 1.5em;
        color: white;
        line-height: 1.2em;
        text-decoration: none;
        letter-spacing: 2px;
    }

    .hello>H1 {
        font-family: 'AvenirMedium',  sans-serif;
        font-size: 3em;
        padding-bottom: .5em;
    }

    .work img {
        height: auto;
        width: 100%;
        float: left;
        background-size: 100%;
        filter: none;
        -webkit-filter: grayscale(0%);
    }

    .left img{
    width: 3em;
    float: left;
    filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}

    .middle img{
        float: left;
        width: 3em;
        filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
        filter: gray; /* IE6-9 */
        -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    }

    .right img{
        width: 3em;
        filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
        filter: gray; /* IE6-9 */
        -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    }

    .vimeo img {
        width: 3em;
        filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
        filter: gray; /* IE6-9 */
        -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    }

    .left img:hover {
            filter: none;
        -webkit-filter: grayscale(0);
    }

    .middle img:hover {
            filter: none;
        -webkit-filter: grayscale(0);
    }

    .vimeo img:hover {
            filter: none;
        -webkit-filter: grayscale(0);
    }


        .project_title {
        width: 90%;
        font-family: "AvenirLight";
        padding-left: 20%;
        position: relative;
        font-size: 2em;    
        border-bottom: 1px;
        border-style: solid;
        line-height: 1.5em;

    }

    h1 {
        margin-top: -1em;
        letter-spacing: 4px;
    }

    .project_info {
        margin-top: -3em;
    }


    .launch {
        margin-top: 5%;
        padding-top: 1em;
        margin-bottom: 2em;
        padding-left: 50%;
        font-family: "AvenirMedium";
        letter-spacing: .3em;
        line-height: 2em;
    }

        .videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    }

}

@media screen and (max-width: 480px) {

    .top_hello {
        display: none;
    }

    .sidenav {
        width: 100%;
        left: 0;
        max-height: 70px;
        overflow: hidden;
        position: absolute;
    }

    .new {
        margin-top: 2em;
    }

    .container {
    overflow-x: hidden;
    position: relative;
    margin-left: 0;
    }

    .open .sidenav {
        min-height: 100%;
    }
    .work {
        padding-left: 0;
        padding-top: 4.4em;
    }

    .open .work {
        left: 0;
    }

    div.hello {
        padding-left: .6em;
        padding-top: 3em;
    }

    .hello>H1 {
        font-family: 'AvenirMedium',  sans-serif;
        font-size: 2.3em;
    }

    .left img{
        width: 3em;
        padding-top: .5em;
    }

    .middle img{
        width: 3em;
        padding-top: .5em;
    }

    .vimeo img{
        width: 3em;
        padding-top: .5em;
    }

    H2> a {
    font-family: 'AvenirMedium',  sans-serif;
    color: white;
    }


    .hello>p {
        font-family: 'AvenirLight';
        font-size: 1.3em;
        line-height: 1.5em;
    }
    
    .hello>img {
        width: 50%;
    }

    .hello>H2 {
        font-family: 'AvenirMedium',  sans-serif;
        font-size: 1.2em;
        text-decoration: none;
        padding-bottom: .3em;
        letter-spacing: 2px;
    }

    .work img {
        height: auto;
        width: 100%;
        float: left;
        background-size: 100%;
        filter: none;
        -webkit-filter: grayscale(0%);
    }


    .nav-icon {
        font-size: 2em;
        display: block;
        height: 100%;
        float: right;
        background: black;
        color: white;
        width: 5em;
        padding-top: 13px;
    }

    a.nav-icon {
        width: 2em;
    }

    .logo>img {
       display: none;
    }

    .project {
    width: 100%;
    height: 100%;
    margin-top: 1em;
    padding-top: 1em;
    margin-left: 0;
    margin-right: 0;
    padding-right: 0;
    }

    img.img_head {
        visibility: hidden;
    }

    h1 {
        margin-top: 0;
    }

    div.project_container {
        padding-top: 4.4em;
        padding-bottom: 0;
        padding-right: 0;
        margin-right: 0;
    }

    .project_title {
        margin-top: -2em;
    }

    .project_container {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
        padding-right: 0;
        padding-bottom: 0;
    }

    .project_container img{
        padding-left: 0;
        padding-bottom: 0;
    }

    div.project_img {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .project_container a:hover {
        color: #999999;
    }

    .landfills_img {
        width: 80%;
        padding-bottom: 0;
        margin: 0 auto;
    }

    .skillzilla_img {
        width: 80%;
        padding-bottom: 0;
        margin: 0 auto;
        padding-top: .8em;
    }

    .landfills_img img {
        padding-top: 0;
    }

    .landfills_img {
        padding-bottom: 0;
    }

    a.back_button {
        display: block;
        font-family: "AvenirMedium", sans-serif; 
        font-size: 2.8em;   
        line-height: 1em;
        top: .4em;
        left: .5em;
    }

    #head {
        text-align: center;
        font-family: "AvenirMedium", sans-serif;
        padding-bottom: 1em;
        font-size: 2em;
    }

    .emperor_concept {
        background-color: black;
        color: white;
    }

    div.project_title {
        width: 100%;
        font-family: "AvenirLight";
        text-align: center;
        padding-bottom: .3em;
        padding-top: 0;
        font-size: 1.5em;    
        padding-left: 0;
    }

    div.project_info {
        width: 90%;
        font-family: "AvenirLight";
        font-size: 1em;
        line-height: 1.7em;
        padding-left: 10%;
        margin-top: -5em;
    }

    .launch {
        margin-top: 5%;
        padding-top: 1em;
        margin-bottom: 2em;
        padding-left: 10%;
        font-family: "AvenirMedium";
        letter-spacing: .3em;
/*        width: 100em;*/
        line-height: 2em;
    }

    .launch>a {
        color: black;
    }

    span {
        font-size: .8em;
        line-height: 3em;
        color: #999999;
    }

    .landfills_img p {
        text-align: center;
        font-family: "AvenirLight";
        font-size: .8em;
        border-bottom: 1px solid;
        padding-bottom: .8;
    }


    .videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    }

}


