* {
    margin: 0;
    padding: 0;
    font-family: "Lato", sans-serif;
}

h1 {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    color: #2e2e2e;
    letter-spacing: 2px;
}

h2 {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    color: #5f5f5f;
    line-height: 1.5em;
    font-size: 18px;
    max-width: 50%;
    margin: 0 auto;
    margin-top: 1em;
}

h3 {
    color: #5f5f5f;
    text-transform: uppercase;
    font-family: "Open Sans";
    font-weight: 400;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
}

hr {
    height: 1px;
    background-image: -webkit-linear-gradient(left, #fff, #ccc, #fff);
    border: none;
    clear: both;
}

a {
  color: white;
  text-decoration: none;
  -webkit-transition-duration: 700ms;
  -moz-transition-duration: 700ms;
  -o-transition-duration: 700ms;
  transition-duration: 700ms;
}

a:hover {
  color: #098387;
  -webkit-transition-duration: 700ms;
  -moz-transition-duration: 700ms;
  -o-transition-duration: 700ms;
  transition-duration: 700ms;
  cursor: pointer;
}

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

.clear-float {
    clear: both;
}

#nav-burger {
    position: fixed;
    top: 10px;
    left: 10px;
    background: #0f0f16;
    z-index: 999;
    font-size: 1.3em;
}

#nav-burger a {
    color: #fff;
    display: inline-block;
    padding: 15px 18px;
}

#nav-active {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: #0f0f16;
    z-index: 9999;
}

#nav-active .close {
    color: white;
    float: right;
    margin: 0.3em 0.5em;
    text-decoration: none;
    font-family: lato;
    font-weight: 100;
    font-size: 1.5em;
}

#overlay {
    background-color: white;
    width: 100%;
    height: 100vh;
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0.3;
    display: none;
}

.menu-container {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    margin-top: -1em;
    padding-top: 50%;
}

.menu-container li {
    margin: 1em 0;
    list-style-type: none;
}

.menu-container img {
    height: 70px;
    margin-bottom: 1em;
}

.menu-container a {
    color: #fff;
    text-transform: uppercase;
    font-family: "Open Sans";
    font-weight: 300;
    text-decoration: none;
    letter-spacing: 4px;;
}

#header {
    position: absolute;
    left: 0;
    top: 0;
    background: url(img/bg.png) no-repeat fixed center;
    height: 350px;
    width: 100%;
    background-size: cover;
    z-index: 1;
}

#header img {
    max-width: 100%;
    margin-top: 8em;
}

.logo-mobile {
    display: none;
}

#main {
    margin-top: 400px;
}

.section {
    text-align: center;
    margin-top: 3em;
    padding-bottom: 3em;
}

#footer {
    background: #0f0f16;
    padding: 1em;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-family: "Open Sans";
    font-weight: 300;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
}

#footer a {
    color: #fff;
    text-transform: uppercase;
    font-family: "Open Sans";
    font-weight: 300;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
}

#footer .social i {
    font-size: 18px;
    -webkit-transition-duration: 700ms;
    -moz-transition-duration: 700ms;
    -o-transition-duration: 700ms;
    transition-duration: 700ms;
}

#footer .social i:hover {
    color: #098387;
    -webkit-transition-duration: 700ms;
    -moz-transition-duration: 700ms;
    -o-transition-duration: 700ms;
    transition-duration: 700ms;
}

#footer .imprint {
    margin-top: 5px;
}

/**
KOMPETENZEN SECTION
**/

.group-icons {
    margin-top: 50px;
    padding-bottom: 150px;
}

.group-icons .logo-slider {
    display: none;
}

.group-icons .icon {
    float: left;
    width: 20%;
    position: relative;
    min-height: 123px;
}

.group-icons .icon-img.active:after {
  bottom: -45px;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  position: absolute;
  pointer-events: none;
  border-bottom-color: #0f0f16;
  border-width: 25px;
  margin-left: -25px;
}

.group-icons .icon:hover {
    cursor: pointer;
}

.kompetenzen {
    padding-bottom: 0;
}

.kompetenzen .editorial-img {
    height: 80px;
    width: 60px;
    background: url(img/kompetenzen/editorial.png) no-repeat;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    background-size: 60px 80px;
    margin: 0 auto 5px auto;
}

.kompetenzen .editorial-img:hover,
.kompetenzen .editorial-img.active {
    background-image: url(img/kompetenzen/editorial-hover.png)
}

.kompetenzen .corporate-img {
    height: 80px;
    width: 60px;
    background: url(img/kompetenzen/corporate.png) no-repeat;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    background-size: 60px 80px;
    margin: 0 auto 5px auto;
}

.kompetenzen .corporate-img:hover,
.kompetenzen .corporate-img.active {
    background-image: url(img/kompetenzen/corporate-hover.png)
}

.kompetenzen .web-img {
    height: 80px;
    width: 60px;
    background: url(img/kompetenzen/web.png) no-repeat;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    background-size: 60px 80px;
    margin: 0 auto 5px auto;
}

.kompetenzen .web-img:hover,
.kompetenzen .web-img.active {
    background-image: url(img/kompetenzen/web-hover.png)
}

.kompetenzen .art-img {
    height: 80px;
    width: 60px;
    background: url(img/kompetenzen/art.png) no-repeat;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    background-size: 60px 80px;
    margin: 0 auto 5px auto;
}

.kompetenzen .art-img:hover,
.kompetenzen .art-img.active {
    background-image: url(img/kompetenzen/art-hover.png)
}

.kompetenzen .books-img {
    height: 80px;
    width: 60px;
    background: url(img/kompetenzen/books.png) no-repeat;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    background-size: 60px 80px;
    margin: 0 auto 5px auto;
}

.kompetenzen .books-img:hover,
.kompetenzen .books-img.active {
    background-image: url(img/kompetenzen/books-hover.png)
}

.logo-slider {
    margin-top: 50px;
}

/**
PORTFOLIO SECTION
**/

.portfolio {
    background: #0f0f16;
    color: #fff;
    margin-top: 1em;
    padding-top: 3em;
    padding-bottom: 3em;
    position: relative;
}

.portfolio h1 {
    color: #fff;
    margin-bottom: 1em;
}

.portfolio h3 {
    font-size: 20px;
    font-weight: 200;
    color: #fff;
}

.portfolio hr {
    height: 1px;
    width: 40px;
    border: none;
    background-color: white;
    margin: 0.5em auto;
}

.portfolio-box {
    width: 33%;
    float: left;
    margin-right: 0.3%;
    position: relative;
}

.portfolio-box.start-hidden {
  display: none;
}

.start-hidden-more {
  margin-top: 2em;
  display: block;
  font-weight: 200;
  font-size: 1.2em;
}

.portfolio-link img {
    width: 100%;
}

.portfolio .overlay {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 99.3%;
    background: rgba(0, 0, 0, 0.6);
    overflow: hidden;
    top: 0;
    left: 0;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
}

.portfolio .overlay:hover {
    opacity: 0;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
}

.portfolio .overlay-logo {
    margin-top: 39%;
    color: white;
    font-family: "Lato", sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 24px;
}

.portfolio .box-description {
    display: none;
    font-family: "Lato", sans-serif;
    font-weight: 300;
    color: #fff;
    line-height: 1.5em;
    font-size: 18px;
    text-align: left;
    clear: both;
}

.portfolio .box-description .images {
    width: 30%;
    display: inline-block;
    vertical-align: top;
    position: relative;
}

.portfolio .box-description .images img {
    width: 100%;
}

.portfolio .box-description .link-hover {
    position: absolute;
    top: 0;
    bottom: 7px;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    -webkit-transition: all .3s ease-in-out;
}

.portfolio .box-description .link-hover:hover {
    opacity: 1;
}

.portfolio .box-description .link-hover p {
    top: 50%;
    position: absolute;
    text-align: center;
    width: 100%;
}

.portfolio .box-description .text {
    width: 69%;
    display: inline-block;
    padding-left: 2em;
    box-sizing: border-box;
}

.portfolio .box-description p {
    padding-bottom: 10px;
}

.portfolio .box-description .names {
  font-size: 16px;
}

.portfolio .box-description i {
    font-size: 16px;
}

.portfolio-back-link {
    display: block;
    margin-top: 1em;
    color: #098387;
}

.column-3 {
    width: 33%;
    float: left;
    margin-top: 2em;
}

/**
AGENTUR SECTION
**/

.agentur {
    padding-bottom: 15em;
}

.agentur p {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    color: #5f5f5f;
    font-size: 18px;
}

.agentur .fa {
    background-color: #0f0f16;
    color: white;
    border-radius: 50%;
    margin: 1.5em 0 1em 0;
    -webkit-transition-duration: 700ms;
    -moz-transition-duration: 700ms;
    -o-transition-duration: 700ms;
    transition-duration: 700ms;
}

.agentur .fa:hover {
    background-color: #098387;
    -webkit-transition-duration: 700ms;
    -moz-transition-duration: 700ms;
    -o-transition-duration: 700ms;
    transition-duration: 700ms;
}

.agentur .fa-envelope-o {
    padding: 10px;
}

.agentur .fa-map-marker {
    padding: 10px 13px;
}

.team {
    display: inline-block;
    width: 31%;
    vertical-align: top;
}

.team img {
    width: 95px;
    margin-bottom: 5px;
    padding: 0 5px;
}

.team .description {
    color: #5f5f5f;
    text-transform: uppercase;
    font-family: "Open Sans";
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
}

.team:hover .description {
    display: block;
}

.team span {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    color: #5f5f5f;
    font-size: 14px;
}

.imprint p {
    text-transform: uppercase;
    font-family: "Open Sans";
    font-weight: 300;
    text-decoration: none;
    letter-spacing: 2px;
    color: #5f5f5f;
    margin: 2em;
}

.imprint hr {
    margin-bottom: 2em;
}

.imprint h2 {
    max-width: 80%;
    text-align: justify;
}

.imprint h2 .end {
    text-align: center;
}

/**
DEVICE STYLING
**/

@media all and (max-width: 768px){

    h2 {
        max-width: 80%;
    }

    .portfolio-box {
        width: 49.7%;
    }

    .group-icons {
        padding-bottom: 120px;
    }

    .group-icons img {
        width: 50px;
    }

    .group-icons p {
        font-size: 11px;
    }

    .team img {
        width: 75px;
    }
}

@media all and (max-width: 700px){

    .agentur {
        padding-bottom: 33em;
    }

    .column-3 {
        width: 100%;
    }

    .team {
        width: 30%;
    }

    .team img {
        width: 95px;
    }

    .logo {
        display: none;
    }

    .logo-mobile {
        display: block;
    }

    .group-icons {
        padding-bottom: 0px;
    }

    .group-icons .icon {
        width: 35%;
        margin-bottom: 2em;
    }

    .group-icons .logo-slider {
        display: block;
    }

    .group-icons .logo-slider img {
        max-height: 100px;
    }

    .group-icons .desktop {
        display: none;
    }

    .group-icons p {
        font-size: 14px;
        margin-top: 1em;
    }

    .group-icons .slick-slider {
        margin-bottom: 0px;
    }

    .portfolio .box-description .images {
      display: block;
      width: 100%;
      padding: 0 2em 1em 2em;
      box-sizing: border-box;
    }

    .portfolio .box-description .text {
      width: 100%;
      padding: 0 2em 1em 2em;
    }
}

@media all and (max-width: 480px){

    #header {
        height: 200px;
        background: url(img/bg.png);
        background-size: 150%;
    }

    #header img {
        margin-top: 5em;
    }

    #main {
        margin-top: 250px;
    }

    .agentur {
        padding-bottom: 35em;
    }

    .column-3 {
        width: 100%;
    }

    .portfolio-box {
        width: 100%;
    }
}
