body {
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight: 300;
  letter-spacing: 1px;
  color: #313131;
  font-size: 16px;
  background: #5e1121;
  background: -moz-linear-gradient(-45deg,  #5e1121 0%, #372851 100%);
  background: -webkit-linear-gradient(-45deg,  #5e1121 0%,#372851 100%);
  background: linear-gradient(135deg,  #5e1121 0%,#372851 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5e1121', endColorstr='#372851',GradientType=1 );
}

header {
  height: auto;
  width: 100vw;
  position: fixed;
  top: 0;
  z-index: 10000;
  border-bottom: solid 1px #fff;
  text-align: center;
  margin-bottom: 10px;
  background: #5e1121;
}

h1, h2, h3 {
  font-family: 'Open Sans Condensed', sans-serif;
}

h1 { font-size: 2.5vw; }
h2 { font-size: 1.5vw; }

section h1 {
  background: #000;
  color: #fff;
  padding: 5px 0 5px 15px;
  font-size: 1.5vw;
}

.image-full {
  width: 100%;
  height: auto;
}




/* NAV */

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

nav ul li {
  display: inline-block;
  width: calc(100% / 8);
  margin: 0;
}
  .main-nav {
    width: 100%;
    padding: 15px 0 10px;
    display: block;
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  .main-nav.home {
    padding-top: 0;
  }
  .main-nav.home img {
    height:55px;
    width: auto;
  }
  .main-nav.current {
    font-weight: 700;
  }

  .main-nav:hover,
  .main-nav:focus {
    text-decoration: none;
    color: #FFF;
  }
  .main-nav.current {
    font-weight: 700;
    color: #FFF;
  }


/* MAIN CONTENT */

.transition5s {
  transition: 0.8s ease all;
}

.main-content {
  width: 60vw;
  margin:  5% auto;
  padding: 0;
  overflow: hidden;
  z-index: 1;
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2), 0 8px 8px rgba(0, 0, 0, 0.2), 0 16px 16px rgba(0, 0, 0, 0.2), 0 32px 32px rgba(0, 0, 0, 0.25), 0 64px 64px rgba(0, 0, 0, 0.25);
}

.intro {
  padding: 3%;
}

article {
  padding: 0;
  border: solid 1px #bcbcbc;
  display: block;
  margin-bottom: 5%;
}

article.first-article {
  margin-top: 5%;
}

article h2, article h3 {
  font-weight: 700;
  margin: 3% 3% 1%;
}

article h4 {
  margin: 0 3% 1%;
}

article p {
  margin: 15px 3%;
}

.tech {
  display: inline-block;
    background: #d6d6d6;
    color: #000;
    padding: 0 7px;
    margin: 0 5px 5px 0;
}

.project-info {
  padding: 3%;
  width: 70%;
  height: 80vh;
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  bottom: 0;
  background: #fff;
  margin: auto;
}

.more-button {
  display: inline-block;
  margin: 1% 0 0 3%;
  background: #000;
  color: #fff !important;
  padding: 5px 10px;
  width: 110px;
  text-align: center;
  text-decoration: none !important;
  transition: 0.3s ease all;
  font-family: 'Open Sans Condensed', sans-serif;
}
.more-button:hover {
  background: #5e1121;
}
.more-button.info-open {
  width:97px;
}
.more-button .fa-minus-circle,
.more-button.info-open .fa-plus-circle {
  display: none;
}
.more-button .fa-plus-circle,
.more-button.info-open .fa-minus-circle {
  display: inline-block;
}

p.last-before {
  margin-bottom: 0;
}

.more-info {
  display: none;
  padding: 0 0 1%;
}

.gallery {
  padding: 1% 3% 3%;
}
.gallery h3 {
  margin: 1% 0;
}
.gallery-container {
  overflow:hidden;
  margin-bottom:20px;
  text-align: center;
  width: 49%;
  display: inline-block;
  vertical-align: top;
  padding-top: 5.6%;
}

  .gallery-item {
    width: 120px;
    height:120px;
    margin: 2% 2%;
    background: #bcbcbc;
    display:inline-block;
    text-align: center;
  }
  .gallery-item:first-child { margin-left: 0;}
  .gallery-item:last-child {
    margin-right: 0;
  }

/* CONTACT */
#form1_contact-2016 {
  width: 100%;
  margin: auto;
}

#form1_contact-2016 input[type="text"],
#form1_contact-2016 input[type="tel"],
#form1_contact-2016 input[type="email"]{
  width: 90%;
}

#form1_contact-2016 #form-radios label {
  margin-left: 10px;
}

#form1_contact-2016 textarea {
  width: 25vw;
}

.form-left, .form-right {
  width: 45%;
  float: left;
}

.form-section {
  clear: both;
  border: solid 1px #bcbcbc;
  overflow: auto;
  padding: 1% 5% 2%;
  margin-bottom: 2%;
}
button, input[type=submit] {
  width: 200px;
  background: #000;
  border: none;
  color: #fff;
  text-transform: uppercase;
}



/* MEDIA QUERIES */

@media only screen and (max-width: 1000px) and (-webkit-min-device-pixel-ratio: 2) {

body {
  font-size: 20px;
}

nav ul li {
  width: calc(100% / 5);
}

h1 {
  font-size: 5.5vw;
}

h2 {
  font-size: 2.9vw;
}

.intro-content { margin-top: 90px; }

.main-content {
  width: 85vw;
  margin: 10% auto;
}

.gallery-item {
  width: calc((100% - 14%) / 3);
  height: auto;
}

section h1 { font-size: 2.5vw;}

.more-button {
  width: 125px;
}

.more-button.info-open { width: 110px; }

}


@media only screen and (max-width: 400px) {

body { font-size: 16px; }

nav ul li { width:calc(100% / 4);}

.intro { text-align: center; }

h1 { font-size: 8.5vw; }
h2 { font-size: 5.7vw; }

section h1 { font-size: 4.5vw;}

.intro-content { margin-top: 90px; }

.tech {
  font-size: 13px;
  margin: 0 3px 3px 0;
}

.more-button { margin: 5% 0;}

.gallery-item { width: calc((100% - 10%) / 2); }

#form1_contact-2016 {
  width: 75vw;
}

.form-left, .form-right {
  width: 100%;
  float: none;
}

#form1_contact-2016 input[type="text"],
#form1_contact-2016 input[type="tel"],
#form1_contact-2016 input[type="email"],
#form1_contact-2016 textarea {
  width: 100%;
  border: solid 1px #bcbcbc;
}

button, input[type=submit] {
  width: 100%;
  background: #000;
  border: none;
  color: #fff;
  text-transform: uppercase;
}

button:hover {
  background: #5e1121;
}

}
