/* ----- ZERO OUT ------ */

*{
    margin:0;
    padding:0;
}

/* ---- ATTRIBUTES ----- */
.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.invisible {
    display: none;
}

.link{
    cursor: pointer;
}

/* ----- TYPE ------ */

@font-face {
  font-family: 'GothamNarrow-Medium';
  src:
      local('GothamNarrow-Medium.otf'),
      url('../fonts/GothamNarrow-Medium.otf');
}

@font-face {
  font-family: 'GothamNarrow-Light';
  src:
      local('GothamNarrow-Light.otf'),
      url('../fonts/GothamNarrow-Light.otf');
}


p, a, span{
    font-family: 'GothamNarrow-Light';
    font-size: 1rem;
}

h1{
    font-size: 2rem;
    font-family: 'GothamNarrow-Medium';
}

h2{
    color:#1c85c7;
    font-size: 1.8rem;
    font-family: 'GothamNarrow-Medium';
}
h3{
    font-size: 1.6rem;
    font-family: 'GothamNarrow-Medium';
}

#port_subhead{
    font-size: 1.1rem;
    font-family: 'GothamNarrow-Medium';
    display: inline;
    margin-right: 8px;
}

#blurb{
    display: inline;
}

.dev h2, .dev_small h2{
     margin-bottom: 0.6rem;
}

.dev p a{
      color:#1c85c7;
}

.design h2, .design_small h2{
    color:#f99c1c;
    margin-bottom: 0.6rem;
}

.design p a{
    color:#f99c1c;
}

.about h2{
    margin-bottom: 0.6rem;
}

.main_info p{
    font-size: 1.1rem;
    padding-left: 10px;
}

.main_info p a, .one-col-foot_links p a{
    color:inherit;
}

.main_info h1 {
    margin-bottom: 0.4rem;
    padding: 10px 0 10px 10px;
    border-bottom: 1px solid #3a3a3a;
    text-decoration: none;
    color:#3a3a3a;
}

.home_link {
    text-decoration: none;
}

.dev_cat{
    font-family: 'GothamNarrow-Medium';
}

/* ----- LAYOUT ------ */

html, body{
    color: #3a3a3a;
    line-height: 2rem;
    letter-spacing: .05rem;
}

html.black, body.black {
    background-color: black;
    background: black;
}

#content{
    margin: auto;
}

#right{
    display: inline-block;
    width: auto;
}

#left img{
    padding-left: 10px;
    padding-bottom: 10px;
}

#left {
    padding-bottom: 20px;
}

.dev, .design, .one-col-foot_links, .about, .dev_small, .design_small{
    margin-bottom: 2rem;
}

.main_info {
    margin-bottom: 0.5rem;
}

.dev p a, .main_info p a, #one-col-head p a{
    margin-right: 15px;
}

#one-col-head{
    width:100%;
    text-align: center;
}

#one-col-head h1{
    width:100%;
    border-bottom: 1px solid #3a3a3a;
    margin: auto;
    font-size: 3rem;
    padding-bottom: 20px;
    margin-bottom: 15px;
}
#one-col-head p{
    margin: auto;
    width: 100%;
    text-align: center;
}
#one-col-head p a{
    margin: 0 8%;
}

.dev p a, .main_info p a, .dev_small p a, .design_small p a, .single_dev_desc p a, #design_port p a{
    margin-right: 15px;
}

#one-col-foot .dev_small p a, #one-col-foot .design_small p a {
    margin-right: 0;
}

#one-col-foot .dev_small p .github_link_one_col {
    margin-right: 5px;
}

.dev h2{
     color:#1c85c7;
     margin-bottom: 0.6rem;
}

.dev p a{
      color:#1c85c7;
}

.dev_small, .design_small{
    margin-left: 10px;
}

#dev_projects{
    display: inline-block;
    width:100%;
    vertical-align: top;
    margin-bottom: 3rem;
    overflow: scroll;
}

.single_dev_project{
    display: block;
    margin-top: 2.5rem;
}

.single_dev_project img{
    width:18%;
    display:inline-block;
    margin-right: 4%;
    border: solid 1px #595959;
}

.single_dev_desc{
    position: relative;
    top:11px;
    width:71%;
    display:inline-block;
    vertical-align: top;
}

.single_dev_desc h3{
    margin-bottom: 7px;
}

#one-col-foot {
    text-align: center;
}

#one-col-foot .dev_small, #one-col-foot .design_small{
    margin-left:0;
    margin-right:20px;
    display: inline-block;
}

#one-col-foot .main_info p, #one-col-foot .one-col-foot_links p {
    margin-left:0;
    margin-right:20px;
    display: inline-block;
}

#one-col-foot .main_info p{
    margin-left:0;
    margin-right:20px;
    display: inline-block;
}

/*------MEDIA QUERIES-------*/

/* Under 480 px  - 1 column */
@media only screen and (max-width: 480px) {

    body{
        background: #ffffff;
        background: -moz-linear-gradient(top, #f2f2f2 0%, #ffffff 50%);
        background: -webkit-linear-gradient(top, #f2f2f2 0%,#ffffff 50%);
        background: linear-gradient(to bottom, #f2f2f2 0%,#ffffff 50%);
    }

    html {
        width:100%;
        font-size: 9.5pt;
        background: #ffffff;
    }

    #content{
        width:325px;
    }

    #left img{
        width: 60%;
        padding: 0;
        margin: 20px 0;
    }

    #right{
        padding-left: 0;
    }

    #left{
        width:100%;
        padding:0;
        margin-bottom: 2rem;
        display: block;
        text-align: center;
    }

    .main_info p{
        padding-left: 0;
    }

    .zoom{
        width:40%;
    }

    #zoom {
        position: absolute;
        top:30%;
    }

    #port_control{
        display: inline-block;
        width:29%;
        text-align: right;
        margin-bottom: 10px;
    }

    #port_control span {
        font-size: 0.9rem;
    }

    #thumbs{
        width:69%;
        display: inline-block;
        position: relative;
        bottom:2px;
    }

    #design_port #thumbs img{
        width:5px;
        margin-right: 2px;
    }

    #next{
        margin-left: 10px;
    }

    #one-col-head h1{
        margin-top: 30px;
    }

    .single_dev_desc{
        top:0px;
        font-size: 0.8rem;
    }

}

/* 481 - 799 px  - 1 columns */
@media only screen and (min-width: 481px) and (max-width: 800px){

    html {
        width:100%;
        font-size: 12pt;
        background: #ffffff;
    }

    body{
        background: #ffffff;
        background: -moz-linear-gradient(top, #f2f2f2 0%, #ffffff 50%);
        background: -webkit-linear-gradient(top, #f2f2f2 0%,#ffffff 50%);
        background: linear-gradient(to bottom, #f2f2f2 0%,#ffffff 50%);
    }

    #content{
        width:460px;
        margin-top: 50px;
    }

    #left img{
        width: 60%;
        padding: 0;
        margin-bottom: 20px;
        padding-top: 20px;
    }

    #left{
        width:100%;
        padding:0;
        margin-bottom: 2rem;
        display: block;
        text-align: center;
    }

    #right{
        padding-left: 0;
    }

    .main_info p{
        padding-left: 0;
    }

    .right-one-col-h2{
        text-align: center;
    }

}

/* 800 - 1023 px - 2 columns */
@media only screen and (min-width: 801px) and (max-width: 1023px) {

    html, body {
        height:100%;
        font-size: 10.5pt;
        background: #ffffff;
        background: -moz-linear-gradient(top, #f2f2f2 0%, #ffffff 50%, #f2f2f2 100%);
        background: -webkit-linear-gradient(top, #f2f2f2 0%,#ffffff 50%, #f2f2f2 100%);
        background: linear-gradient(to bottom, #f2f2f2 0%,#ffffff 50%, #f2f2f2 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#ffffff',GradientType=0 );
    }

    #content{
        width:780px;
    }

    #left img{
        width:80%;
    }

    .main_info h1{
        width:85%;
    }

    #left{
        width: 27%;
        padding: 10% 0;
        display: inline-block;
        border-right: 1px solid #3a3a3a;
    }

    #right{
        width:69%;
        padding-left: 3%;
        padding-top: 10px;
        vertical-align: top;
    }

    .right_about{
        position: relative;
        top: 72px;
    }

    .right_dev{
        position: relative;
        top: 110px;
    }

    .dev p, .design p, .dev_cat{
        font-size: 0.95rem;
    }

    .dev{
        display:inline-block;
        vertical-align: top;
        width: 85%;
    }

    #dev_projects, #design_port{
        height:450px;
    }

    .single_dev_desc{
        top:5px;
    }

}

/* Over 1024 px - 2 columns */
@media only screen and (min-width: 1024px) {

    html, body {
        height:100%;
        font-size: 12pt;
        background: #ffffff;
        background: -moz-linear-gradient(top, #f2f2f2 0%, #ffffff 50%, #f2f2f2 100%);
        background: -webkit-linear-gradient(top, #f2f2f2 0%,#ffffff 50%, #f2f2f2 100%);
        background: linear-gradient(to bottom, #f2f2f2 0%,#ffffff 50%, #f2f2f2 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#ffffff',GradientType=0 );
    }

    #content{
        width: 1000px;
    }

    #left img{
        width:80%;
    }

    .main_info h1{
        width:80%;
    }

    #left{
        width: 26%;
        padding: 10% 0;
        display: inline-block;
        border-right: 1px solid #3a3a3a;
    }

    #right{
        padding-top: 10px;
        width:69%;
        padding-left: 4%;
        vertical-align: top;
    }

    .right_about{
        position: relative;
        top: 101px;
    }
    .right_dev{
        position: relative;
        top: 120px;
    }

    .dev{
        display:inline-block;
        vertical-align: top;
        width: 85%;
    }

}

@media only screen and (min-height: 601px) {

    html, body{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

}

/*---ONE COLUMN---*/
@media only screen and (max-width: 800px) {

    .two-col{
        display:none;
    }

}

/*---TWO COLUMN---*/
@media only screen and (min-width: 801px) {

    .one-col{
        display:none;
    }

}
