/*Structure / Resets*/
html,
body {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 12px;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

html { 
    background: url(../img/bkg.jpg) no-repeat center center fixed; 
    background-color: #000;
    -webkit-background-size: cover; 
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

footer {
    bottom: 1em;
    color: #fff;
    line-height: 100px;
    text-align: center;
    width: 100%;
}

/*Header*/
header {
    border-bottom: 1px solid #fff;
    display: block;
    margin: 20px auto;
    width: 100%;
    height: 100%;
}

header .logo {
    display: inline-block;
    margin: 10px;
    width: 50px;
}

header p {
    display: table-cell;
    margin: 10px;
    vertical-align: middle;
}

.head {
    display: table;
}

nav.mobile {
    display: none;
    visibility: hidden;
}

/*Mobile Only Intro*/
#mobile-me {
    display: none;
    visibility: hidden;
}

/*Basic Grid Elements*/
.container {
    background: none;
    width: 100%;
    height: 100vh;
}

.spacer {
    display: table-cell;
    width: 10px;:width;
}

.col-five {
    border: 1px solid #fff;
    display: table-cell;
    height: auto;
    margin: 1%;
    opacity: 0.6;
    transition: all .2s ease-in-out;
    vertical-align: top;
    width: 17%;
}

.col-five:hover {
    background-color: #000;
    cursor: pointer;
    opacity: 1.0;
    transform: scale(1.1);
}

.col-five div {
    height: 120%;
    overflow: auto;
    padding: 15px;
    transition: all .2s ease-in-out;
}

.col-five.active {
    opacity: 1.0;
}

.inner {
    display: block;
    margin: 0 auto;
    width: 90%;
}

#content {
    opacity: 0;
    padding-top: 50px;
}

.thumb {
    display: inline-block;
    padding: 1%;
    width: 25%;
}

.thumb img {
    transition: all .2s ease-in-out;
    width: 100%;
}

.thumb img:hover {
    cursor: pointer;
    transform: scale(1.05);
}

#close {
    color: #fff;
    font-size: 1.4em;
    top: 30px;
    display: block;
    position: fixed;
    z-index: 10000;
}

#close:hover {
    cursor: pointer;
}

/*Typography*/
h1,
h2 {
    color: #fff;
    font-family: 'Kumar One Outline', cursive;
    font-weight: 400;
}

p {
    color: #fff;
    display: inline-block;
    font-size: 1.3em;
    line-height: 1.5em;
}

#mobile-me h1 {
    font-size: 3.5em;
    line-height: 1.2em;
    padding-top: 0.5em;
}

.col-five h2 {
    border-bottom: 1px dashed #d0d0d0;
    font-size: 4em;
    font-size: 3vw;
}

.col-five p {
    padding: 10px 0;
}

.images {
    color: #fff;
}

/* Big Images - Clicked Thumbnails */
#overlay {
    background: rgba(0, 0, 0, 0.8);
    display: block;
    height: auto;
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    text-align: center;
    opacity: 1;
    left: 0;
    right: 0;
    overflow: scroll;
}

#overlay img {
    display: inline-block;
    max-width: 80%;
    width: auto;
    margin: 4% 10%;
    max-height: 500%;
}

/* Smartphones (Portrait Mode) */
@media screen and (max-width : 800px) {
    #close {
        top: 15px;
    }
    
    #content {
        padding-top: 10px;
    }

    footer {
        color: transparent;
    }

    #mobile-me {
        display: block;
        visibility: visible;
        opacity: 1.0;
        width: 100%;
    }

    #mobile-me img {
        width: 100%;
    }

    nav.mobile {
        display: inline-table;
        float: right;
        width: 100%;
        visibility: visible;
    }

    /* Checkbox Hack */
    input[type=checkbox] {
       position: absolute;
       top: -9999px;
       left: -9999px;
    }

    label { 
        background: #fff;
        display: inline-block;
        margin: 0;
        cursor: pointer;
        width: 40px;
        height: 40px;
        position: absolute;
        top: 35px;
        right: 5%;
    }

    label .burger {
        height: 100%;
        padding: 10px;
        width: 100%;
    }

    label span {
        background: #000;
        display: block;
        margin: 4px 0;
        position: relative;
        width: 100%;
        height: 2px;
    }

    /* Default State */
    #mobile-menu {
        clear: both;
        width: 100%;
        height: 0;
        color: white;
        text-align: center;
    }

    #mobile-menu span {
        display: none;
        opacity: 0.0;
    }

    /* Toggled State */
    input[type=checkbox]:checked > .mobile-me {
        display: none;
    }

    input[type=checkbox]:checked ~ #mobile-menu {
        background: none;
        height: auto;
        max-height: 2000px;
    }

    input[type=checkbox]:checked ~ #mobile-menu span {
        border-bottom: 1px solid #7f7f7f;
        display: block;
        font-size: 2em;
        font-weight: lighter;
        line-height: 4em;
        opacity: 0.6;
        padding-top: 0.2em;
    }

    input[type=checkbox]:checked ~ #mobile-menu span.active {
        opacity: 1.0;
    } 

    input[type=checkbox]:checked ~ #mobile-menu span:hover {
        cursor: pointer;
    }

    .col-five h2 {
        font-size: 3em;
        padding: 0;
    }
    .col-five p {
        padding: 15px 0;
    }

    #main-content {
        display: none;
        visibility: hidden;
    }

    #overlay img {
        margin: 10% 0;
        max-width: 90%;
        position: relative;
        top: 10px;
    }

    .col-five div {
        border: none;
        height: 100%;
        overflow: hidden;
    }

    .thumb {
        display: inline-block;
        padding: 2%;
        width: 50%;
    }

    .thumb img {
        width: 100%;
    }
}
