* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
    "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif, "Apple Color Emoji", "Android Emoji","Segoe UI Emoji", "Segoe UI Symbol";
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizelegibility;
    -webkit-font-feature-settings: "liga", "kern";
    font-feature-settings: "liga", "kern";
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

p {
    font-size: 20px;
    line-height: 1.615;
}

a {
    color: #11a1e1;
    text-decoration: none;
}

.slide.about a {
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
    cursor: pointer;
}

h1 {
    font-size: 14.5vmax;
    font-weight: 600;
    color: #11a1e1;
    margin: 0;
    line-height: 1.15;
}

h2 {
    font-size: 40px;
    margin-bottom: 0px;
}

h3 {
    margin-top: 45px;
    margin-bottom: 25px;
    font-size: 30px;
}

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

.yearlist {
    font-size: 20px;
}

.yearlist li {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
}

.yearlist time {
    width: 10ch;
    display: inline-block;
    margin-right: 20px;
}


@media (min-width: 600px) {
    .yearlist {
        display: table;
        font-size: 20px;
    }

    .yearlist li {
        display: table-row;
    }

    .yearlist time, .yearlist .desc {
        display: table-cell;
    }

    .yearlist time {
        width:auto;
        text-align: right;
        border-bottom:15px solid transparent;
        border-right:20px solid transparent;
    }
}

time {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    letter-spacing: -0.025em;
}

.slide.slide_top ul {
    font-size: calc(15px + 5vmax);
}

.wrapper {
    max-width: 690px;
    margin: auto;
}

.wrapper.wrapper_l {
    max-width: 1000px;
}

.profile {
    float: right;
    height: 100vh;
}

.slide {
    width: 100vw;
    padding: 20px 20px 50px;
}

.frontpage {
    display: flex;
    flex-direction: column;
    min-height:100%;
    width:100%;
    position: absolute;
}

.frontpage section.navigation,
.frontpage footer{
    width:100%;
    height: 70px;
}

.frontpage footer{
    background-color: transparent;
}

.frontpage .slide_top .wrapper {
    width:100%;
}

.slide.slide_top {
    flex:1;
    display:flex;
    color: #000;
}

.show-navbar nav {
    opacity: 1;
}

.slide.about + footer,
.slide.about {
    background-color: #282828;
    color: #fff;
}

.slide.about + footer .impressum {
    color: #ffffff;
}

.bg-boxes div {
    flex-grow: 1;
}

.slide + .slide {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.tiles {
    display: flex;
    flex-wrap: wrap;
}

.tile {
    flex-basis: 100%;
    min-width: 180px;
    min-height: 200px;
    color: #000;
    order: 1;
    border: none;
}

.tile {
    margin-top: 40px;
}

.tile a {
    text-decoration: underline;
    color: #11a1e1;
}

.tile .inner-content {
    flex-wrap: wrap;
}

.tile .inner-content > * {
    flex: 1 1 auto;
}

.tile.opened {
    flex-basis: 100%;
    order: 0;
}

.tile header p {
    margin-top: 0;
    margin-bottom: 10px;
    color: rgba(0, 0, 0, 0.51);
}

.tile header span.category {
    float: right;
}

.tile .inner-content {
    display: flex;
}

.tile iframe {
    background: black;
}

.video-container {
    width: 100%;
    display: inline-block;
    position: relative;
}

.nav-main {
    display: flex;
    justify-content: space-between;
}

.dock-navbar .navigation {
    height:70px;
}

nav {
    padding: 0 20px;
    opacity: 0.02;
    transition: opacity 0.35s;
    font-size: 16px;
    z-index: 10;
}

.dock-navbar nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.5);
}

.nav-main li {
    flex: 1 1 auto;
    text-align: center;
}

.nav-main li:first-child {
    text-align: left;
}

.nav-main li:last-child {
    text-align: right;
}

.nav-main li.brand {
    display: none;
}

.nav-main li.current-item {
    text-decoration: underline;
}

.nav-main li a {
    padding: 20px 0;
    display: block;
    color: #000;
}

.video-container:after {
    padding-top: 56.25%;
    /* 16:9 ratio */
    display: block;
    content: '';
}

.video-container iframe {
    position: absolute;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
    width:100%;
    height:100%;
}


.slide_projects h3 {
    margin: 0 0 10px;
}

.impressum {
    float: right;
}

footer {
    padding: 20px;
    background-color: rgba(0,0,0,0.1);
}

.footer {
    display: flex;
    align-items: baseline;
    flex-direction:column;
}

.footer div {
    flex: 1 1 100%;
}

.lang {
    text-align: center;
}

footer, footer a {
    color: rgba(0,0,0,0.3);
}

@media (device-width: 320px) and (device-height: 568px) {
    h1 {
        font-size: 82px;
    }
    .slide.slide_top ul {
        font-size: 43px;
    }
}

@media (device-width: 375px) and (device-height: 667px) {
    h1 {
        font-size:96px;
    }
    .slide.slide_top ul {
        font-size: 48px;
    }
}

@media (min-width: 600px) {
    .slide.slide_top ul {
        font-size: 50px;
    }
    nav {
        font-size: 20px;
    }
    .nav-main li.brand {
        display: flex;
        flex:1.25 1 0;
        justify-content:center;
        align-items: center;
    }
    .nav-main li.brand a {
        padding:0;
    }
    .footer {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    h1 {
        line-height: 1;
    }
}

@media (min-width: 1240px) {
    h1 {
        font-size: 180px;
    }
}