@font-face {
    font-family: 'DINWeb';
    src: url('../fonts/ff_din_web_regular/DINWeb.eot');
    src: url('../fonts/ff_din_web_regular/DINWeb.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ff_din_web_regular/DINWeb.woff') format('woff'),
         url('../fonts/ff_din_web_regular/DINComp.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DINWeb';
    src: url('../fonts/ff_din_web_medium/DINWeb-Medium.eot');
    src: url('../fonts/ff_din_web_medium/DINWeb-Medium.eot') format('embedded-opentype'),
         url('../fonts/ff_din_web_medium/DINWeb-Medium.woff') format('woff'),
         url('../fonts/ff_din_web_medium/DINComp-Medium.ttf') format('ttf');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'DINWeb';
    src: url('../fonts/ff_din_web_light/DINWeb-Light.eot');
    src: url('../fonts/ff_din_web_light/DINWeb-Light.eot') format('embedded-opentype'),
         url('../fonts/ff_din_web_light/DINWeb-Light.woff') format('woff'),
         url('../fonts/ff_din_web_light/DINComp-Light.ttf') format('ttf');
    font-weight: 200;
    font-style: normal;
}

/* Body */
body {
    font-family: DINWeb, sans-serif;
    padding: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1.2>;
    background: no-repeat center center fixed;
    background-size: cover;
}

/* Header / Logo */
header {
    position: fixed;
    margin: 0;
    height: 73px;
    top: 0;
    left: 0;
    background-color: black;
    color: white;
    width: 445px;
    text-align: right;
    overflow: hidden;
    transition: width 0.5s, height 0.5s;
    z-index: 100;
}

#mandator-2 header {
    background-color:#606493;

}

header.active {
    width: 100vw;
    height: 100vh;
    transition: width 0.5s, height 0.5;
}

header p {
    font-size: 12px
}

#logo {
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    padding: 20px 20px 20px;
    width: 445px;
}

#logo h2 {
    margin: 0;
    padding-right: 25px;
    text-transform: uppercase;
    font-size: 18px;
}

#logo h2 a {
    color: white;
    text-decoration: none;
}

#logo p {
    margin: 0;
}

/* Navigation */
nav {
    position: absolute;
    top: 200px;
    left: 432px;
}

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

nav a {
    display: block;
    padding: 15px 50px;
    font-size: 25px;
    color: #aaa;
    text-decoration: none;
    text-transform: uppercase;
}

nav a.active,
nav a:hover {
    color: white;
}

nav a.instagram {
    margin-top: 50px;
    text-align: left;
}

nav a.instagram img {
    height: 40px;
    width: 40px;
}

/* Navigations-Trigger */
.nav-trigger {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 40px;
    top: 19px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.nav-trigger span{
    background: #fff;
    width: 40px;
    height: 5px;
    margin: 4px 0;
    transition: .4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* Header */
header.active .nav-trigger span:nth-of-type(1){
    transform-origin: left;
    transform:rotatez(45deg)
}
  
header.active .nav-trigger span:nth-of-type(3){
    transform-origin: left;
    transform:rotatez(-45deg) translate(-2px, 2px);
}
  
header.active .nav-trigger span:nth-of-type(2){ 
    width: 0;
    transition: width 0.4s;
}

/* Main */
h1 {
    position: absolute;
    left: 463px;
    top: 21px;
    margin: 0;
    color: black;
    font-size: 18px;
    text-transform: uppercase;
}

body.splash h1 {
    position: absolute;
    top: -1000px;
}

main {
    box-sizing: border-box;
    width: 1400px;
    margin: 90px auto 100px auto;
    padding: 0;
}

main a {
    color: black;
    text-decoration: underline;
}

main figure {
    width: 100%;
    margin: 20px 0;
    padding: 0;
}

main figure img {
    width: 100%;
}

main h2 {
    font-size: 18px;
    text-transform: uppercase;
    margin: 40px 0 10px;
}

main p {
    width: 60%;
    margin-bottom: 40px;
}

main .snippet {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

main .snippet iframe{
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/* Project overview */
body.project-overview main {
    margin: 150px auto 100px auto;
    width: 1840px;
}

body.project-overview main ul {
    margin: 0;
    padding: 0;
    list-style: none;
    width: calc(100% + 50px);
    margin-left: -50px;
}

body.project-overview main ul a {
    background: white top left no-repeat;
    background-size: 100%;
    box-sizing: border-box;
    display: block;
    width: 580px;
    height: 465px;
    padding-top: 440px;
    padding-left: 10px;
    margin-left: 50px;
    margin-bottom: 20px;
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    float: left;
}

body.project-overview main ul a:hover {
    color: white;
    background-color: black;
}

/* Background-Image */
picture {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: clip;
}

picture source,
picture img {
    width: 100vw;
    min-height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}


/* Team */
.team {
    width: 110%
}

.team figure {
    width: 28%;
    display: inline-block;
    vertical-align: top;
    margin-right: 3%;
}

.team figure:last-of-type + * {
    clear: both;
}

.team figure a {
    display: block;
    text-transform: uppercase;
}

/* Gallery */
.gallery {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 50;
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 0;
    left: 10px;
    width: 200px;
    height: 100%;
    z-index: 1000;
    cursor: pointer;
    background: url('../media/swiper-arrow.svg') no-repeat 70px 50%;
    background-size: 50%;
    opacity: 0.5;
    transform: rotate(180deg);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    opacity: 0.9;
}

.swiper-button-next {
    left: auto;
    right: 10px;
    transform: rotate(0)
}


/* Allgemein */
.clearfix:after {
    content: " ";
    width: 1px;
    height: 1px;
    display: block;
    clear: both;
}

body:after {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 30px;
    background-color: blue;
    color: white;
    content: "Desktop";
    text-align: center;
    padding: 20px 0 0 0;
    z-index: 1000;
}