/* BASE */
body {
  margin: 0;
  padding: 0;
  background: #DFECE6;
  font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: #2D2D29;
}

a {
  text-decoration: none;
  color: #215A6D;
}

a:hover {
  text-decoration: underline;
}

h2, h3, h4, h5, h6 {
  font-size: 200%;
  margin-bottom: 0;
  margin-top: 6%;
}

p {
  margin-top: 2%;
  margin-bottom: 4%;
}

/* TRANSITION FIX */

.preload * {
  transition: none !important;
}

/* LAYOUT */
.container {
  max-width: 960px;
  margin: 0 auto;
}

.inner-container {
  max-width: 100%;
  padding: 0 20px;

  transition: .2s all ease;
}

.main-nav-active .inner-container {
  max-width: 70%;
}

.content {
  background: #fff;
  min-height: 250px;
  margin: 20px 0;
  padding: 20px 0;
}

/* HEADER */

.header {
  background: #3CA2A2;
  padding: 20px 0;
}

.logo {
  font-size: 46px;
  line-height: 56px;
  margin: 0;
}

.logo-link {
  color: #fff;
  text-transform: uppercase;
  font-family: "Avenir Next Condensed", Tahoma, sans-serif;
}

.logo-link:hover {
  text-decoration: none;
}

.slogan {
  text-transform: uppercase;
  color: #fff;
  font-size: 12px;
  margin: 0;
  margin-top: -5px;
  font-weight: normal;
  letter-spacing: 2px;
  line-height: 14px;
  white-space: nowrap;
}

/* MAIN NAVIGATION */

.main-nav-toggle-wrapper {
  position: relative;
}

.main-nav-toggle {
  position: absolute;
  left: -80px;
  width: 48px;
  height: 48px;
  background: #2D2D29;
  border: 1px solid #a3a3a3;
  color: #a3a3a3;
  font-size: 32px;
  line-height: 48px;
  text-align: center;
}

.main-nav-active .main-nav-toggle {
  border-color: #A0A0A0;
  color: #fff;
}

.main-nav-wrapper {
  width: 0;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;

  transition: .2s all ease;
}

.main-nav-active .main-nav-wrapper {
  width: 260px;
}

.main-nav {
  padding: 20px;
  height: 100%;
  background: rgba(33, 90, 109, 0.95);
  z-index: 10;
}

/* Show menu even if no javascript */
:target {
  width: 260px;
}

.main-nav h2 {
  margin: 10px 0;
}

.main-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav-link {
  color: #fff;
  display: block;
  padding: 10px;
  border-bottom: 1px solid #fff;
  font-size: 18px;
}

.main-nav .social-links {
  position: absolute;
  bottom: 20px;
  text-align: right;
  right: 20px;
  display: none;
}

.main-nav-active .main-nav .social-links {
  display: block;
}

/* START PAGE */

.columns {
  overflow: hidden;
}

.left-column {
  float: left;
  max-width: 63%;
}

.right-column {
  float: right;
}

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

.presentation-image {
  border-radius: 12px;
  max-width: 225px;
  width: 100%;
}

.presentation-text {
  font-size: 12px;
  color: #6c6c6c;
}

/* FOOTER */

.contact-footer {
  background: #92C7A3;
  padding: 40px 0;
  text-align: center;
  color: #fff;
}

.contact-link {
  border: 2px solid #fff;
  border-radius: 5px;
  padding: 8px;
  color: #fff;
}

.contact-link:hover {
  text-decoration: none;
}

.footer {
  background: #2D2D29;
  color: #fff;
  padding: 20px 0;
}

.available-for-work {
  font-size: 22px;
}

/* SOCIAL LINKS */

.social-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-link {
  color: #fff;
}

/* PROJECTS */

.projects-list {
  overflow: hidden;
  margin-top: 15px;
}

.project {
  box-sizing: border-box;
  width: 30%;
  margin: 0 1%;
  float: left;
  min-height: 500px;
}

.project-image {
  width: 100%;
}

.project-name {
  margin: 0;
  font-size: 130%;
}

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

/* ARTICLES */

.article-preview {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #3CA2A2;
}

.article-title {
  margin-bottom: 0;
}

.article-metadata {
  font-size: 12px;
  color: #6c6c6c;
  margin: 0;
  padding: 0;
}

.inline-code {
  background: #ececec;
  border-radius: 5px;
  padding: 4px;
  border: 1px solid #cecece;
}

#responsive-tester {
  display: block;
}

@media all and (max-width: 959px) {
  .main-nav-active .inner-container {
    max-width: 60%;
  }

  .columns {
    overflow: visible;
  }

  .left-column, .right-column {
    float: none;
  }

  .left-column {
    max-width: 100%;
  }

  .project {
    width: 48%;
  }
}

@media all and (max-width: 599px) {
  #responsive-tester {
    display: none;
  }

  .slogan {
    white-space: normal;
    max-width: 250px;
  }
}