


/* Baseline Normalize
  normalize.css v2.1.3 | MIT License | git.io/normalize
***********************************************************/




/* Defaults
********************************************************/

body {
  background-color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  padding: 0;
  margin: 0;
}

a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button {
  -webkit-transition: all 0.2s ease-in-out;
  transition:         all 0.2s ease-in-out;
}

::-moz-selection {
  background-color: #2e2f33;
  color: #fff;
}

::selection {
  background-color: #2e2f33;
  color: #fff;
}

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

.content a:hover,
.sidebar a:hover,
a:hover {
  color: #729000;
}


ul {
  padding: 0 0 0 25px;
  margin: 0;
}

li {
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.center {
  display: block;
  margin: 0 auto 20px;
}

.hide {
  display: none;
}


/* Forms
********************************************************/

input,
select,
textarea {
  background-color: #fff;
  width: 90%;
  font-family: 'Open Sans', sans-serif;
  color: #666666;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  padding: 10px 15px;
  margin: 0;
  border: 3px solid #ddd;
  border-radius: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
}

input:focus,
textarea:focus {
  border: 3px solid #999;
  outline: none;
}

input[type="button"],
input[type="reset"],
input[type="submit"],
button {
  background-color: #d8732d;
  width: 95%;
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
  color: #fff;
  text-align: center;
  letter-spacing: 2px;
  padding: 16px 24px;
  margin: 15px auto 20px;
  border: 0;
  cursor: pointer;
}

label {
  display: block;
  height: auto;
  padding: 0;
  margin: 0;
}

#status {
  display: block;
  padding: 5px 0;
  margin: 0 0 10px;
}

.form-error,
.error {
  color: red;
}

.input-error {
  border: 3px solid red;
}

.form-success {
  color: green;
}

/* Headings
********************************************************/

h1 {
  font-family: 'Open Sans', sans-serif;
  font-size: 50px;
  line-height: 1.2;
  color: #000;
  padding: 0;
  margin: 0 0 30px;
}

h1.title {
  font-family: 'Montserrat', sans-serif;
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;
  color: #00487d;
  padding: 0;
  margin: 0;
}

h2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 30px;
  line-height: 1.4;
  color: #000;
  padding: 0;
  margin: 0 0 10px;
}

h2.subtitle {
  font-family: 'Muli', sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.4;
  color: #dfd2c0;
  padding: 0;
  margin: 0 0 30px;
}

h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  padding: 0;
  margin: 0 0 15px;
}


/* Structural Elements
********************************************************/

.wrap {
  max-width: 880px;
  padding: 80px 40px;
  margin: 0 auto;
}

#site-header .wrap {
  width: 95%;
  max-width: 1000px;
  padding: 0;
  margin: 0 auto;
}

.site-footer .wrap {
  padding: 0;
  margin: 0 auto;
}

#home .wrap {
  max-width: 1080px;
}

/* Column Classes
********************************************************/

.five-sixths,
.four-sixths,
.one-fourth,
.one-half,
.one-fifth,
.one-sixth,
.one-third,
.three-fourths,
.three-sixths,
.two-fourths,
.two-sixths,
.two-thirds {
  float: left;
  margin-left: 2.564102564102564%;

}

.one-half,
.three-sixths,
.two-fourths {
  width: 48.717948717948715%;
}

.one-third,
.two-sixths {
  width: 31.623931623931625%;
}

.four-sixths,
.two-thirds {
  width: 65.81196581196582%;
}

.one-fourth {
  width: 23.076923076923077%;
}

.three-fourths {
  width: 74.35897435897436%;
}

.one-fifth {
  width: 18.52991452991453%;
}

.one-sixth {
  width: 14.52991452991453%;
}

.five-sixths {
  width: 82.90598290598291%;
}

.first {
  clear: both;
  margin-left: 0;
}


/* Header
********************************************************/

#site-header {
  background: rgba(70,70,85,.9);
  color: #EBEBD3;
  padding: 0;
  position: fixed;
  z-index: 990;
  top: 0;
  left: 0;
  right: 0;
}

#site-header::after {
  content: "";
  clear: both;
  display: block;
}

.logo {
  font-size: 16px;
  line-height: 1.4;
  color: #fff;
  font-weight: 600;
  padding: 1.5em 0 0;
  margin: 0;
  float: left;
}

.logo a {
  color: #fff;
  text-decoration: none;
}


/* Navigation
********************************************************/

.site-nav {
  background: transparent;
  position: relative;
  height: auto;
  float: right;
  padding: 0;
}

.site-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav li {
  display: inline;
  font-size: 16px;
  line-height: 1;
  padding: 0;
  margin: 0;
  border: none;
  text-transform: uppercase;
}

.site-nav a {
  display: inline-block;
  padding: 1.5em 1.7em;
  margin: 0;
  color: #fff;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav .active a {
  background: #777;
  color: #fff;
}

.nav-toggle {
  display: none;
}

.nav-toggle-icon {
  display: inline-block;
  font-size: 1.5em;
  margin-right: 1em;
  width: 1.1em;
  text-align: right;
  color: rgba(255,255,255,.4);
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: none;
}

.nav-toggle-icon::before {
  -webkit-transform: translateY(-6px);
          transform: translateY(-6px);
}

.nav-toggle-icon::after {
  -webkit-transform: translateY(3px);
          transform: translateY(3px);
}

.open .nav-toggle-icon {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.open .nav-toggle-icon::before {
  opacity: 0;
}

.open .nav-toggle-icon::after {
  -webkit-transform: translateY(-3px) rotate(-90deg);
          transform: translateY(-3px) rotate(-90deg);
}


/* Home Section
********************************************************/

section {
  min-height: 500px;
}

#home {
  background: url('../images/bg-header.jpg') top center no-repeat;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  min-height: 700px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  position: relative;
}

#home .home-container {
  max-width: 500px;
  padding: 0;
  margin: 0;
  float: right;
  position: relative;
  top: 220px;
  left: 0;
}


/* Projects Section
********************************************************/

#projects .wrap {
  padding-bottom: 40px;
}

#gallery {
  max-width: 100%;
  padding: 0;
  margin: 60px auto 0;
  overflow: hidden;
}

#gallery img {
  cursor: pointer;
}

.project {
  background: #ddd;
  padding: 10px;
}

#gallery .one-third {
  width: 29%;
  margin-bottom: 40px;
}

.project img {
  margin-bottom: 0;
}

.project-title {
  display: block;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  color: #555;
  padding: 10px 0 0;
  margin: 0;
}



/* Skills Section
********************************************************/

.skills-container {
  max-width: 100%;
  padding: 0;
  margin: 60px auto 0;
  overflow: hidden;
}

.skills-container h3 {
  margin-top: 20px;
}

.skills-container ul {
  padding: 0;
}

.skills-container li {
  list-style-type: none;
  font-size: 18px;
  font-weight: 400;
  color: #444;
  padding-bottom: 10px;
}

.bar-chart-container {
  width: 100%;
  padding: 30px 0 0;
  margin: 40px 0 0;
  overflow: hidden;
}

.bar-chart {
  list-style: none;
  height: 450px;
  position: relative;
  z-index: 2;
  background: url(images/axis.png) repeat-x;
  padding: 0;
  margin: 0;
}

.bar-chart li {
  position: relative;
  display: inline-block;
  background-color: #CCC;
  width: 16%;
  height: 100%;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  color: #FFF;
  margin: 0 1.8% 0 0;
  border: #BBB solid 1px;
  vertical-align: bottom;
  border-bottom: #BBB solid 1px;
  -webkit-box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.6);
  box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.6);
}

.bar-chart li:nth-child(6n) {
  margin-right: 0;
}

.bar-chart li.axis {
  width: 8%;
  border: 0;
  border-right: #DDD solid 1px;
  height: 450px;
  background: #fff;
}

.bar-chart .label {
  color: #000;
  margin: -0.6em 0 88px 0;
  font-size: 18px;
  font-weight: 600;
}

.bar-chart .percent {
  position: absolute;
  bottom: 50px;
  width: 100%;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  opacity: 0.7;
}

.bar-chart span {
  font-size: 36px;
  padding-left: 3px;
}

.bar-chart .skill {
  position: absolute;
  bottom: 20px;
  width: 100%;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.bar-chart .bar-one {
  background-color: #cb752f;
  height: 90%;
}

.bar-chart .bar-two {
  background-color: #da882e;
  height: 80%;
}

.bar-chart .bar-three {
  background-color: #e1942f;
  height: 70%;
}

.bar-chart .bar-four {
  background-color: #e8ac30;
  height: 65%;
}

.bar-chart .bar-five {
  background-color: #eab130;
  height: 60%;
}

.bar-one,
.bar-two,
.bar-three,
.bar-four,
.bar-five {
  transition: all ease-in-out 1400ms;
  -webkit-transition: all ease-in-out 1400ms;
}

.bar-chart .hide {
  height: 0;
}


/* About Section
********************************************************/

#about {
}

.about-container,
.button-container {
  width: 100%;
  padding: 0;
  margin: 80px 0 0;
  overflow: hidden;
}

.about-container:last-child {
  margin-bottom: 0;
}

.about-container .image {
  width: 28%;
  background: #ddd;
  padding: 20px;
  box-sizing: border-box;
}

.about-container .one-third,
.about-container .two-thirds {
  margin-left: 40px;
}

.about-container .right {
  float: right;
}

.about-container .first {
  margin-left: 0;
  clear: none;
}

.about-button {
  display: block;
  background-color: #d8732d;
  width: 100%;
  height: 50px;
  font-size: 20px;
  line-height: 50px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  border: 2px solid #d8732d;
  box-sizing: border-box;
  -webkit-box-shadow: inset 0px 0px .5px .5px rgba(255, 255, 255, 0.6);
  box-shadow: inset 0px 0px .5px .5px rgba(255, 255, 255, 0.6);
}

.about-button:hover {
  background-color: #fff;
  color: #d8732d;
  text-decoration: none;
}



/* Contact Section
********************************************************/

#contact {
  min-height: 740px;
  padding: 0;
  margin: 0;
}

#contactPopupBtn {
  display: block;
  background: #d8732d;
  font-size: 30px;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  padding: 15px 20px;
  margin: 60px auto 0;
  border: 2px solid #fff;
  cursor: pointer;
}


/* Popup
********************************************************/

.freeze-body {
  overflow: hidden;
  pointer-events: none;
}

#popup-container {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 991;
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  pointer-events: auto;
}

#popup-container.closed {
  width: 0;
  height: 0;
}

#closePopup {
  position: absolute;
  top: 20px;
  right: 14%;
  z-index: 993;
  background-color: transparent;
  font-size: 40px;
  line-height: 1;
  font-weight: 400;
  color: #777;
  padding: 0 15px 8px;
  margin: 0;
  cursor: pointer;
}

#closePopup::-moz-selection {
  background-color: transparent;
  color: inherit;
}

#closePopup::selection {
  background-color: transparent;
  color: inherit;
}

.prev {
  position: absolute;
  top: 45%;
  left: 2%;
  z-index: 993;
  display: block;
  width: 140px;
  font-size: 60px;
  line-height: 1;
  font-weight: 300;
  color: #bbb;
  text-align: center;
  padding: 12px 0;
  margin: 0;
  cursor: pointer;
}

.next {
  position: absolute;
  top: 45%;
  right: 2%;
  z-index: 993;
  display: block;
  width: 140px;
  font-size: 60px;
  line-height: 1;
  font-weight: 300;
  color: #bbb;
  text-align: center;
  padding: 12px 0;
  margin: 0;
  cursor: pointer;
}

.next::-moz-selection,
.prev::-moz-selection {
  background-color: transparent;
  color: inherit;
}

.next::selection,
.prev::selection, {
  background-color: transparent;
  color: inherit;
}

.hide-control {
  display: none !important;
}

.popup-content {
  position: absolute;
  top: 0px;
  right: 12%;
  bottom: 0px;
  left: 12%;
  z-index: 992;
  background-color: #fff;
  color: #444;
  padding: 80px 120px 0;
  margin: 0 auto;
  /*border-radius: 10px;*/
  overflow: scroll;
  pointer-events: auto;
}

#projectImage {
  margin-bottom: 30px;
}

#projectResult {
  padding-bottom: 80px;
}

#projectResult h2 {
  color: #444;
}


/* Footer
********************************************************/

.site-footer {
  background: url('../images/bg-footer.jpg') top center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: top center;
  background-repeat: no-repeat;
  max-width: 100%;
  padding: 20% 10% 2%;
  margin: 0;
  border-top: 15px solid #00acec;
}

.site-footer p {
  font-size: 15px;
  color: #fff;
  text-align: center;
}


/* Media Queries
********************************************************/

@media (max-width: 900px) {

  #home .home-container {
    max-width: 280px;
    top: 80px;
  }

}


@media (max-width: 858px) {

  #gallery {
    max-width: 600px;
  }

  #gallery .one-third {
    width: 40%;
  }

  #gallery .first {
    clear: none;
    margin-left: 2.564102564102564%;
  }

  .prev {
    left: 0;
    width: 140px;
    font-size: 60px;
    text-align: left;
    padding: 12px 0 12px 10px;
  }

  .next {
    right: 0;
    width: 140px;
    font-size: 60px;
    text-align: right;
    padding: 12px 10px 12px 0;
  }

}


@media (max-width: 740px) {

  .popup-content {
    position: absolute;
    top: 0px;
    right: 12%;
    bottom: 0px;
    left: 12%;
    z-index: 992;
    background-color: #fff;
    color: #444;
    padding: 80px 20px 0;
    margin: 0 auto;
    overflow: scroll;
  }

  .about-container {
    width: 100%;
    padding: 0;
    margin: 80px auto;
    overflow: hidden;
  }

  .about-container:last-child {
    margin-bottom: 0;
  }

  .about-container .image {
    max-width: 250px;
    background: #ddd;
    padding: 20px;
    margin-bottom: 30px;
    box-sizing: border-box;
  }

  .about-container .one-third,
  .about-container .two-thirds {
    width: 100%;
  }

  .about-container .one-third,
  .about-container .two-thirds,
  .about-container .right {
    margin-left: 0;
    float: none;
  }

}


@media (max-width: 700px) {

  #site-header {
    padding-bottom: 1em;
  }

  .nav-toggle {
    display: block;
    padding: 1em;
    position: absolute;
    top: .5em;
    right: .5em;
    cursor: pointer;
  }

  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    content: '';
    display: block;
    background: #EBEBD3;
    height: 3px;
    width: 1.75em;
    border-radius: 3px;
    transition: all ease-in-out 500ms;
    -webkit-transition: all ease-in-out 500ms;
  }

  .site-nav {
    background: #464655;
    height: 0px;
    position: absolute;
    top: 100%;
    right: 0%;
    overflow: hidden;
  }

  .site-nav-open {
    height: auto;
  }

  .site-nav li {
    display: block;
    border-bottom: 1px solid #575766;
  }

  .site-nav a {
    display: block;
    padding: 2em 4em;
    margin: 0;
    color: #777;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
  }

  .site-nav a:hover,
  .site-nav .active a {
    background: #777;
    color: #fff;
  }

  .site-nav a:active {
    background: rgba(0,0,0,0);
    color: #777;
  }

  .four-sixths {
    width: 62%;
  }

}

@media (max-width: 560px) {

  #home .home-container {
    max-width: 200px;
  }

  h1.title {
    font-size: 38px;
  }

  h2.subtitle {
    font-size: 26px;
  }

  #gallery .one-third {
    width: 100%;
    margin-left: 0;
    box-sizing: border-box;
  }

  #gallery .first {
    clear: none;
    margin-left: 0;
  }

  .skills-container {
    max-width: 380px;
    margin: 0 auto;
  }

  .one-sixth {
    width: 40%;
  }

  .skills-container .first {
    margin-right: 60px;
  }

  .four-sixths {
    display: none;
  }

  .bar-chart .percent {
    font-size: 30px;
  }

  .bar-chart span {
    font-size: 28px;
  }

  .bar-chart .skill {
    font-size: 14px;
    font-weight: 400;
    bottom: 10px;
  }

}

@media (max-width: 480px) {

  h1 {
    font-size: 40px;
    margin-bottom: 20px;
  }

  #home {
    background: url('../images/bg-header.jpg') top center no-repeat;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 500px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: relative;
  }

  #home .home-container {
    max-width: 150px;
    padding: 0;
    margin: 0;
    float: right;
    position: relative;
    top: 40px;
    left: 0;
  }

  h1.title {
    font-size: 30px;
  }

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

  .prev {
    left: 0;
    width: 140px;
    font-size: 46px;
    text-align: left;
    padding: 12px 0 12px 10px;
  }

  .next {
    right: 0;
    width: 140px;
    font-size: 46px;
    text-align: right;
    padding: 12px 10px 12px 0;
  }

  .bar-chart-container {
    display: none;
  }

  .skills-container .first {
    margin-right: 40px;
  }

  .about-button {
    display: block;
    background-color: #d8732d;
    width: 100%;
    height: 50px;
    font-size: 14px;
    line-height: 50px;
    font-weight: 400;
    text-align: center;
    color: #fff;
    border: 2px solid #d8732d;
    box-sizing: border-box;
    -webkit-box-shadow: inset 0px 0px .5px .5px rgba(255, 255, 255, 0.6);
    box-shadow: inset 0px 0px .5px .5px rgba(255, 255, 255, 0.6);
  }

  .site-footer {
    background-attachment: scroll;
    padding: 12% 14% 2%;
  }

}
