html {
    text-rendering: optimizeLegibility;
}

body {
    /*font-family: 'PT Sans', sans-serif;*/
    font-family: 'Raleway', sans-serif;
    background:#fff;
    color:#808080;
    position: relative;
    padding-top:70px;
}

body::-webkit-scrollbar {
    width: 1em;
}

body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

body::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

p {
    font-size:18px;
    font-weight:300;
}

.bg1, .bg2 {
    min-height: 900px;
    background: transparent;
    background-repeat: no-repeat;
    background-position: 50% 0;
    -ms-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
}

.bg2 h2 {
    color:#fff;
    margin-top:0;
    position:absolute;
    font-family: 'EB Garamond', serif;
    font-size:40px;
    max-width:400px;
    bottom:400px;
    left:50px;
}

#home .diamond {
    padding-top:80px;
}

#home h1 {
    padding-top:20px;
    font-family: 'EB Garamond', serif;
    color:#fff;
    font-size:50px;
}

#home h2 {
    color:#fff;
    font-size:26px;
    font-weight:300;
    line-height:34px;
    padding-top:40px;
    margin-bottom:0;
}

#about {
    padding:40px 20px 20px 20px;
    background-image: url("/assets/img/bg4.png");
    background-position: bottom;
}

#about .texting {
    color:#333;
}

#about p {
    font-size:20px;
    line-height:30px;
    margin-top:20px;
}

#portfolio img:hover {
    opacity: 0.5;
    transition: all 0.2s ease;
}

#contact {
    background:#f8f8f8;
    color:#333;
    padding:30px 40px 10px 40px;
    background-image: url("/assets/img/bg4.png");
}

#contact a {
    color:#336fbf;
}

/* Helpers */

.font-16 {
    font-size:16px;
}

.font-20 {
    font-size:20px;
}

.padding-0 {
    padding:0;
}

.max-width-800 {
    max-width:760px;
}

.margin-top-20 {
    margin-top:20px;
}

.margin-bottom-20 {
    margin-bottom:20px;
}

.bg-gray {
    background:#f8f8f8;
}

/* Bootstrap Override */

.img-responsive-center {
    margin:0 auto;
}

nav {
    border-radius:0!important;
}

.navbar-default{
    border-color:#fff;
}

.navbar-normal {
    background-color:#fff;
    padding:20px 0 10px 0;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.navbar-small {
    background-color:#fff;
    padding: 10px 0 0 0;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.active>a:hover{
    border: 2px solid #000;
    background:transparent;
}

.navbar-default .navbar-nav>li>a {
    font-size: 13px;
    color:#000;
    text-transform: uppercase;
    font-weight:400;
    padding: 5px 40px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    border: 2px solid #FFF;
    margin-right:20px;
    min-width:180px;
}

.navbar-default .navbar-nav>li>a:hover {
    border: 2px solid #000;
}

.navbar .navbar-nav {
    display: inline-block;
    float: none;
}

.navbar .navbar-collapse {
    text-align: center;
}

.btn-primary{
    background:#FFC700;
    color:#141414;
    border-radius:0;
    border-color:#FFC700;
    border-width:2px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary:active:focus, .btn-primary[disabled]:hover{
    background:transparent;
    border-color:#ffc700;
    color:#FFC700;
}

/* Bootstrap Navbar Collapse Override */

@media (max-width: 1200px) {
  .navbar-header {
      float: none;
  }
  .navbar-left,.navbar-right {
      float: none !important;
  }
  .navbar-toggle {
      display: block;
  }
  .navbar-collapse {
      border-top: 1px solid transparent;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-fixed-top {
      top: 0;
      border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
      display: none!important;
  }
  .navbar-nav {
      float: none!important;
      margin-top: 7.5px;
  }
  .navbar-nav>li {
      float: none;
  }
  .navbar-nav>li>a {
      padding-top: 10px;
      padding-bottom: 10px;
  }
  .collapse.in{
      display:block !important;
  }
}

@media (max-width: 420px) {
    #home h2 {
        background-color:rgba(0, 0, 0, 0.6);
        padding-bottom:30px;
    }

    .navbar-toggle {
        display: block;
        position: relative;
        top: -4px;
    }

    .logo {
        font-size:28px;
    }

    .bg1, .bg2 {
        min-height:700px;
    }
}