body {
    padding:0;
    margin:0;
    overflow-x: hidden;
    background: #eeeeee;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/** {*/
    /*border: 1px solid red;*/
/*}*/

.img_grid a img {cursor:pointer;}


h1 {
    font-family: 'Oswald', sans-serif;
}
h2 {
    margin-left: 20px;
}

p, a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
}

p, h1 {
    margin:10px;
}

.container {
    width:100%;
    padding: 30px;
    display: inline-block;
}

.content {
    max-width: 1000px;
    margin: 0 auto;
    width:100%;
}

.dark {
    background: #1e1e1e;
    color: white;
}

.flex {
    display: flex;
}

#nav {
    z-index: 999;
    position: fixed;
    display: flex;
    justify-content: space-between;
    width:100%;
    height:40px;
    background: #1d1d1d;
    padding: 0 20px;
}

#logo {
    display: flex;
    justify-content: center;
    align-items:center;
    color: white;
    font-family: 'Oswald', sans-serif;
}

#nav_items {
    display: flex;
    justify-content: center;
    align-items:center;
}

#nav ul li {
    display: inline-block;
    margin: 0 10px;
 }

#nav ul li a {
    font-style: italic;
    text-decoration: none;
    color: white;
    padding: 10px 20px;
}

#header_box {
    height:100vh;
    width:100%;
    background: rgba(0, 0, 0, 0.47);
    display: flex;
    justify-content: center;
    align-items:center;
    color: white;
}

#header_box h1 {
    font-size: ;
    font-weight: 200;
    font-family: 'Montserrat', sans-serif;
}

#header_box img {
    margin-left:50px;
    max-height:400px;
    height: 60vh;
}

#fullscreen-bg {
    overflow: hidden;
    height:100vh;
    width:101%;
    position: absolute;
}

#fullscreen-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    z-index: -10;
}

#anchor1 {
    margin-top: -45px;
    height: 45px;
    visibility: hidden;
}
#anchor2 {
    margin-top: -45px;
    height: 45px;
    visibility: hidden;
}

.intro {
    width:60%;
}

#intro_img {
    width:40%;
    max-height:260px;
}

#intro_img img {
    margin:0 auto;
    display: block;
    width:auto;
    height:100%;
}

.portfolio_heading {
    width: 100%;
}

.portfolio_heading.graphic p {
    font-style: italic;
}

.img_grid img{
    padding: 2%;
    padding-left: 0;
}

.img_grid.graphic {
    justify-content: space-between;

}

.img_grid.graphic img{
    height: auto;
    width:100%;
}

.portfolio_heading.webdesign p {
    font-style: italic;
}

.img_grid.webdesign {
    width: 60%;
    flex-wrap: row;
    justify-content: space-between;
}

.img_grid.webdesign img {
    display: block;
    width: 100%;
    height: 100%;
}

.img_grid.mobiledesign {
    width: 100%;
    flex-wrap: row;
    justify-content: space-between;
}

.img_grid.mobiledesign img {
    display: block;
    width: 100%;
    height: 100%;
    padding-right: 10px;
}


.img_grid.webdesign.double_img {
    justify-content: space-between;

}

.img_grid.webdesign.double_img img {
    display: block;
    height:100%;
}

.img_grid.webdesign.triple_img {
    justify-content: space-between;
    display: flex;
    flex-flow: row nowrap;

}

.img_grid.webdesign.triple_img img {
    display: block;
    height:100%;
    margin: 2%;
}


.img_grid.webdesign.full_width {
    width: 100%;
    margin-bottom: -2%;
}

.info.webdesign {
    width:40%;
    padding: 10px;
}

.info.mobiledesign {
    width:60%;
    padding: 10px;
}

.info.credit a{
    color: white;;
    text-decoration: none;
}

footer {
    padding: 40px;
    height: 40px;
    justify-content:space-between;
    align-items:center;
    font-family: 'Montserrat', sans-serif;
    font-weight:200;
    background: #eeeeee;
    color: black;
}

footer .content {
    width: 100%;
    justify-content: space-between;
    align-items:center;
}

#social {
    width:100%;
}

footer #social  {
    height:29px;
}

.contentPost { 
    display:none;
}

.img1 {
    width:33%;
}

/*responsive*/

@media screen and (max-width:800px)
{

    .img_grid img{
        height: 100%;
    }
    
    .img_grid.graphic {
        flex-direction: column;
        height:20% !important;
    }

    .img1 {
        width:100%;
    }

    .img_grid.webdesign {
        width: 100%;
        flex-wrap: column;
    }
    
    .img_grid.webdesign img {
        display: block;
        width: 100%;
        height: auto;
    }

}

@media screen and (max-width:650px)
{
    .content {
        flex-direction:column;
    }

    .info.webdesign {
    width:100%;
    padding: 10px;
    }

    .intro {
        width:100%;
    }

    #intro_img img {
        height:auto;
        width: 100%;
        justify-content: space-around;
        display:block;

    }
        #intro_img {
        margin: 5% auto;
        min-width:60%;
        max-height:none;
    }
}

@media screen and (max-width:484px)
{
    #nav {
        height:100px;
    }
    #nav ul li {
        margin: 7px 10px;
    }
    #nav ul li a {
        margin: 10px -27px;
    }

    #header_box img {
        margin-left: -230px;
        max-height: 500px;
        height: 60vh;
    }

    #header_box h1 {
        padding-top:300%;
    }
}

