/*!
 * Start Bootstrap - Stylish Portfolio Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */
 
@import "http://fonts.googleapis.com/css?family=Grand+Hotel";
@import "http://fonts.googleapis.com/css?family=Raleway";
   
/* Global Styles */

html,
body {
    width: 100%;
    height: 100%;
    
}

body {
    font-family: "Raleway", Helvetica, Arial, sans-serif;
    background-color: rgb(12, 48, 108);
    
    margin: 0;
    max-width: 100%;
}

a, a:active, a:visited {
    font-weight: bold;
    color: #FFE070;
    text-decoration: none;
}

a:hover {
    color: #FFFFC0;
    text-decoration: none;
}

.text-vertical-center {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.text-vertical-center h1 {
    margin: 0;
    padding: 0;
    font-size: 8em;
    font-weight: 700;
}

/* Header */

.intro {
    height: 100%;
}

.bgImage {
    width: 100%;
    height: 100%;
    position: fixed;   
}

#tLayer {
    position: absolute;
    vertical-align: bottom;
    display: none;
    
    /* background: url(../img/topLayer.png) center center no-repeat; */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -200;
}

#mLayer {
    /* background: url(../img/middleLayer.png) center center no-repeat; */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    z-index: -300;
}

#bLayer {
    /* background: url(../img/bottomLayer.jpg) center center no-repeat; */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -400;
}

.fadeIn {
    display: none;
}

#static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background: url(../img/static.gif) center center;
    opacity: 0.09;
    z-index: -100;
}

.introStuff {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: table;
    color: #ffffff;
    z-index: 0;
}

.name {
    font-family: Grand Hotel;
    font-size: 15em;
    font-style: italic;
    margin-bottom: 0px;
    text-shadow: 1px 1px rgba(18, 35, 90, 0.6);
}

.intro-info {
    font-family: Raleway;
    background-color: rgba(18, 35, 90, 0.6);
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 2.5em;
    line-height: 150%;
    padding-left: 25%;
    padding-right: 25%;
    text-align: justify;
}

@media (max-width: 1200px)  {
    .intro-info {
        padding-left: 15%;
        padding-right: 15%;
    }
}

@media (max-width: 768px)  {
    .intro-info {
        padding-left: 10%;
        padding-right: 10%;
    }
}

.intro-btns {
    margin-top: 40px;
}

.intro-btns .btn {
    border: none;
    font-family: Raleway;
    font-size: 2.5em;
    
    letter-spacing: 1px;
    padding-left: 30px;
    padding-right: 30px;
    
    background-color: rgba(90, 0, 0, 0.5);
    transition: all 0.3s ease 0s;
}

.intro-btns .btn:hover {
    background-color: rgba(90, 0, 0, 0.75);
}

@media (max-width: 1200px) {
    .intro-btns .btn {
        font-size: 1.75em;
    }
}

@media (max-width: 768px) {
    .intro-btns .btn {
        font-size: 1.25em;
    }
}

.btn-sep {
    margin-right: 60px;
}

@media (max-width: 1200px) { .name { font-size: 10em; } }
@media (max-width: 768px)  { .name { font-size: 8em; }  }
@media (max-width: 620px)  { .name { font-size: 6em; }  }
@media (max-width: 500px)  { .name { font-size: 5em; }  }
@media (max-width: 400px)  { .name { font-size: 4em; }  }
@media (max-width: 320px)  { .name { font-size: 3em; }  }

@media (max-width: 1200px) {
    .intro-info {
        margin-top: 40px;
        font-size: 1.75em;
    }
}

@media (max-width: 768px) {
    .intro-info {
        font-size: 1.25em;
        margin-top: 20px;
    }
    
    .btn-sep {
        margin-right: 8px;
        margin-bottom: 8px;
    }
}

/* Two Column Layout */


.information {
    background: url(../img/forest.jpg) no-repeat fixed;
    background-size: 100% auto;
    
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}


.sections-row {
    overflow: hidden;
}

.sections-col {
    font-family: Raleway;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -99999px;
    padding-bottom: 99999px;
    
    color: #ffffff;
}

.resume {
    float: left;
    width: 33%;
    height: 100%;
}

.portfolio {
    float: left;
    width: 67%;
    height: 100%;
}

.transparent-red {
    border-width: 0px;
    border-top-width: 8px;
    border-style: solid;
    border-color: rgba(160, 48, 0, 0.5);
    background: rgba(70, 20, 0, 0.5);
    margin-bottom: -99999px;
    padding-bottom: 99999px;
}

.transparent-green {
    border-width: 0px;
    border-top-width: 8px;
    border-style: solid;
    border-color: rgba(0, 160, 48, 0.5);
    background: rgba(0, 70, 20, 0.5);
    margin-bottom: -99999px;
    padding-bottom: 99999px;
}

section h1 {
    font-family: Grand Hotel;
    font-size: 8em;
    letter-spacing: 0px;
}

@media (max-width: 768px)  { section h1 { font-size: 6em; }  }
@media (max-width: 500px)  { section h1 { font-size: 4.5em; }  }
@media (max-width: 320px)  { section h1 { font-size: 3.5em; }  }

.section-content {
    margin-top: 64px;
    padding-bottom: 60px;
}

/* responsiveness-ish: stack columns */
@media (max-width: 1000px) {
    .resume {
        float: none;
        width: 100%;
    }
    
    .portfolio {
        float: none;
        width: 100%;
    }
    
    .section-content {
        padding-bottom: 40px;
    }
    
    .resume .section-content {
        margin-top: 32px;
    }
    
    .portfolio .section-content {
        margin-top: 40px;
    }
    
    .sections-col {
        background: url(../img/forest.jpg) center center no-repeat;
        background-size: cover;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .transparent-red {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .transparent-green {
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

/* Resume Specific */

#resume-container {
    position: relative;
    
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
}

#resume-thumb {
    border-width: 8px;
    border-style: solid;
    border-color: rgba(160, 48, 0, 0.5);

    width: 100%;
}

#resume-overlay {
    top: 0;
    left: 0;
    position: absolute;
    
    width: 100%;
    height: 100%;
    
    z-index: 5;
    
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.75);
    
    display: none;
}

#resume-overlay p {
    margin-top: 50%;
    
    font-family: Raleway;
    font-size: 3em;
    font-weight: bold;
    letter-spacing: 4px;
}

/* Projects Specific */

*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

.project-grid {
    border-width: 0px;
    border-width: 8px;
    border-style: solid;
    border-color: rgba(0, 160, 48, 0.5);
    
    width: 576px;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
}

.project-grid ul {
    list-style: none;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    clear: both;
}

.project-grid ul .block {
    width: 33.333%; height: auto;
    position: relative;
    float: left;
    margin: 0 0 0 0;
    padding: 0 0 33.333% 0;
    overflow: hidden;
    cursor: pointer;
}

@media (max-width: 600px)  {
    .project-grid {
        width: 384px;
    }
    
    .project-grid ul .block {
        width: 50%; height: auto;
        padding: 0 0 50% 0;
    }
}

@media (max-width: 410px)  {
    .project-grid {
        width: 192px;
    }
    
    .project-grid ul .block {
        width: 100%; height: auto;
        padding: 0 0 100% 0;
    }
}

.project-grid ul .block img {
    max-width: 192px;
    width: 100%;
    position: absolute;
    top: 0; left: 0;
    margin: 0 0 0 0;
}

.project-grid ul .block span {
    font-family: Raleway, sans-serif;
    font-weight: bold;
    text-transform: lowercase;
    padding-top: 33%;
    
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 1.5em;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(0, 0, 0, 0.6);
}

.block-date {
    font-size: 0.75em;
    font-variant: small-caps;
    font-weight: normal;
}



.project-popup {
    width: 800px;
    background: rgba(30, 30, 30, 0.75);
    color: #ffffff;
    display: inline-block;
}

.popup-container {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.popup-header {
    font-weight: bold;
    font-size: 4em;
    text-transform: lowercase;
    letter-spacing: 4px;
    margin-top: 30px;
    margin-left: 30px;
    margin-right: 30px;
}

.popup-date {
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: 12px;
    margin-top: 8px;
    margin-left: 30px;
    margin-right: 30px;
}

.popup-container hr {
    width: 75%;
    color: rgba(255, 255, 255, 0.33);
    border-color: rgba(255, 255, 255, 0.33);
}

.popup-img {
    position: relative;
    
    margin-left: auto;
    margin-right: auto;
}

.popup-img img {
    border-width: 2px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.33);
    
    width: 100%;
    max-width: 320px;
    
    float: right;
    margin-top: 25px;
    margin-left: 5%;
    margin-right: 10%;
    margin-bottom: 5%;
}

.popup-text {
    font-size: 1.5em;
    text-align: justify;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 40px;
    font-weight: normal;
    padding-bottom: 40px;
}

.popup-close {
    cursor: pointer;
    position: absolute;
    top: 0%;
    left: 95%;
    font-size: 2em;
    font-weight: bold;
    
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 850px)  {
    .project-popup {
        width: 100%;
        background: rgba(30, 30, 30, 0.75);
        color: #ffffff;
        display: inline-block;
    }
    
    .popup-text {
        font-size: 1.25em;
    }
    
    .popup-img img {
        float: none;
        margin-top: 0;
        margin-bottom: 10px;
    }
    
    .popup-img {
        width: 80%;
        overflow: hidden;
    }
    
    .popup-header {
        font-size: 2em;
    }
    
    .popup-close {
        left: 92%;
    }
}


/* Contact */

#contact {
    width: 100%;    
    color: #fff;
    font-family: Raleway;
    
    text-align: center;
}
@media (max-width: 1000px) {
    #contact {
        background: url(../img/forest.jpg) center center no-repeat;
        background-size: cover;
    }
}

#contact .section-content {
    font-size: 2.5em;
    
    margin-top: 40px;
    padding-bottom: 80px;
}

.contact-info {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.contact-type {
    font-weight: bold;
    width: 300px;
}

@media (max-width: 1200px) {
    #contact .section-content {
        font-size: 1.5em;
        padding-bottom: 80px;
    }
    
    .contact-type {
        width: 150px;
    }
}
@media (max-width: 500px) {
    #contact .section-content {
        font-size: 1.25em;
        padding-bottom: 50px;
    }
    
    .contact-type {
        width: 100px;
    }
}
@media (max-width: 320px) {
    #contact .section-content {
        font-size: 1em;
    }
}

.transparent-blue {
    border-top-width: 8px;
    border-top-style: solid;
    border-top-color: rgba(80, 80, 80, 0.5);
    background: rgba(30, 30, 30, 0.5);
    
    width: 100%;
    height: 100%;
}
