/*  font-family: 'Lato', sans-serif;
    font-family: 'Crimson Text', serif;
    font-family: 'Quattrocento Sans', sans-serif;
*/

*{
    margin: 0;
    padding: 0;
    /*color: #888;*/
    font-family: 'Palanquin', sans-serif;
    /*font-family: 'Quattrocento Sans', sans-serif;*/
    font-size: .95em;
    font-weight: 200;
}

a{
    text-decoration: none;
    color: #000;
}

.body{
    text-align: center;
    margin: 0 10%;
    width: 80%;
}

.font-color{
    color: #00b3b3;
    font-weight: 400;
    font-size: .98em;
}

#site_name{
    float: left;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 1.25em;
    margin: 10px 0px 0px 30px;
}

#nav{
    margin: 8px 30px 10px 0px;
    float: right;
}

.nav{
    list-style: none;
}

.nav li{
    margin: 0px 10px 0px 10px;
    float: right;
    font-size: 1.5em;
}

.nav a{
    position: relative;
}

.nav li a:hover{
    color: #888;
}

.nav li a:before{
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #00b3b3;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}

.nav li a:hover:before{
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.nav li.selected a{
    color: #000;
    border-bottom: 2px solid #00b3b3;
}

.nav_hr{
    clear: both;
    border: none;
    height: 1px;
    color: #e1e1e1;
    background-color: #e1e1e1;
}

.project_text{
    padding: 0 15%;
}

#project_title{
    text-align: left;
    clear: both;
    padding: 40px 0px;
}

.center_text{
    text-align: center;
}

.bold{
    font-weight: 600;
}

.title{
    text-align: center;
    font-size: 1.1em;
}

#home_body{   
    margin: auto;
    width: 95%;
    text-align: center;
}

.rows{
    display: inline-block;
    text-align: center;
    width: 1020px;
}

.projects{
    width: 300px;
    height: 275px;
    background-color: #f2f2f2;
    margin: 20px;
    float: left;
    position: relative;

}

.projects p{
    text-align: left;
    margin: 5px 15px 0 15px;
    font-size: 1.3em;
}

.projects .subtext{
    margin: 0px 15px 0 15px;
    font-size: .98em;
    text-transform: uppercase;
}

.project_thumb{
    width: 300px;
    height: 200px;
    border-bottom: 4px solid #acacac;
}

.project_thumb img{
    width: 300px;
    height: 200px;
}

.body img{
    width: 100%;
}


.projects:before{
  content: "";
  height: 4px;
  width: 300px;
  margin: 200px 0px 0px -150px;
  position: absolute;
  background-color: #00b3b3;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.projects:hover:before{
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}


.center{
    text-align: center;
}

#project_title, .title{
    font-size: 1.5em;
    font-weight: 400;
    margin: 0 2%;
    line-height: 1.4;
}

/*-------------upper navigation ----------*/

#upper_nav {
    margin: 0 4% 0;
    font-size: 1.2em;
}
#upper_nav .left{
    margin: 0;
    float: left;
}

#upper_nav .right{
    margin: 0;
    float: right;
}

#upper_nav img{
    width: 20px;
    height: auto;
    padding-top: 5px;
}


/*------------- footer ---------------*/
#footer{
    clear: both;
    height: 100px;
    margin-top: 50px;
    padding-bottom: 20px;
    background-color: #fff;
    border-top: 1px solid #e1e1e1;
    border-bottom: 15px solid #e1e1e1;
    text-align: center;
}

#footer a{
    color: #888;
}

i {
    color: #888;
}

.fa-instagram, .fa-linkedin-in {
    margin: 20px 10px 10px 10px;
    color: #888;
    cursor: pointer;
}

.fa-instagram:hover{
    color: #00b3b3;
}

.fa-linkedin-in:hover{
    color: #00b3b3;
}


.copyright{
    color: #acacac;
    font-size: .9em;
}

/*-----------about page ------------*/

#about{
    width: 700px;
    margin: 20px auto;
    padding: 20px auto;
}

#about img{
    width: 200px;
    margin-bottom: 20px;
}

#about p{
    text-align: left;
    font-size: 1.25em;
}

h1{
    font-weight: 600;
    font-size: 1.45em;
}

/*---------------contact page------------*/

#contact{
    text-align: center;
    width: 90%;
    margin: auto;
}

#contact p{
    text-align: left;
}


form #name, #email{
    background: none repeat scroll 0% 0% #F7F6F6;
    padding: 15px;
    width: 100%;
    font-size: 1em;
    font-weight: 400;
    margin-bottom: 10px;
    border: 2px solid #f7f6f6;
}

form textarea{
    background: none repeat scroll 0% 0% #F7F6F6;
    padding: 15px;
    width: 100%;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 400;
    box-shadow: none;
    border: 2px solid #f7f6f6;
}

input:focus, select:focus, textarea:focus, button:focus {
    outline: none;
}

.submit {
    color: #fff;
    background-color: #888;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    padding: 5px 40px;
    margin-top: 10px;
    transition: all 0.25s ease-in;
    -moz-transition: all 0.25s ease-in;
    -o-transition: all 0.25s ease-in;
    -ms-transition: all 0.25s ease-in;
    -webkit-transition: all 0.25s ease-in;
}

.submit:hover {
    background-color: #000;
}

.contact-text{
    margin-top: 10px;
    text-align: center;
}


/*---------- 1075 screen size --------*/
@media only screen and (max-width: 1075px){
    .rows{
        width: 680px;
    }
    
}


/*--------------med screen-----------*/  

@media only screen and (max-width: 992px) {
    .project_text{
        padding: 0;
    }
    .body{
        margin: 0 8%;
        width: 84%;
        font-size: .8em;
    }
    #about{
        width: 95%;
    }
}



    
/*--------------xs screen-----------*/    
@media screen and (max-width: 768px) {
   
    .body{
        text-align: center;
        margin: 0 5%;
        width: 90%;
    }
    .title{
    font-size: 1em;
}
    #contact{
        width: 90%;
    }
    #site_name{
        margin: 10px 0px 0px 0px;
        float: none;
        text-align: center;
        font-size: 1.2em;
    }
    #nav{
        margin: 10px auto 0px auto;
        float: none;
        position: relative;
        text-align: center;
        width: 130px;
        font-size: .9em;
    }
    .nav{
        position: relative;
        margin: 0 0 0 10px;
        text-align: center;
    }
    .nav li{
        float: left;
        margin-top: 0;
    }
    .body img{
        margin: 0;
    }

}

/*---------- 717 screen size --------*/
@media screen and (max-width: 717px){
    .rows{
        width: 340px;
    }
}