* {
    margin: 0;
}

:root {
    --base: #ffffff;
    --accent: #000000; 
    --transparent: #ffffff00;
  }

::selection {
color: var(--base);
background: var(--accent);
}

html {
    background-color: var(--base);
}

body {
    background-color: var(--base);
    font-family: "neue-haas-grotesk-display", sans-serif;

    font-weight: 200;
    font-style: normal;
    color: var(--accent);
    overflow-x: hidden;
}

h1 {
    font-size: 80px;
}

h2 {
    font-size: 50px;
}

h3 {
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
}
h3 span{
    font-size: 20px;
    font-weight: 300;
    font-style: normal;
    display: block;
}

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

a {
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    color: black;
    text-decoration: none;
    display: block;
}

span {
    font-style: italic;
    font-size: 16px;
    display: block;
}

img {
    width: 100%;
    border: 1px solid var(--accent);
}
video {
    width: 100%;
    border: 1px solid var(--accent);
}
ul {
    list-style-type: none;
    padding-inline-start: 0;
}
li {
    margin-bottom: 10px;
}

/*FLEX*/
.np-layout-flex {
    display: flex;
}
.np-layout-flex-fixed {
    display: flex;
}
.np-layout-flex-baseline {
    display: flex;
    flex-flow: column;
    align-items: baseline;
}
.np-layout-flex-baseline-2 {
    display: flex;
    flex-flow: row;
    align-items: baseline;
}
.np-layout-flex-center {
    display: flex;
    flex-flow: row;
    align-items: center;
}
.np-layout-flex-end {
    display: flex;
    flex-flow: row;
    align-items: flex-end;
}
.np-layout-flex-col {
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
}
@media only screen and (max-width: 992px) {
    .np-layout-flex-baseline-2 {
        flex-flow: column;
    }
    .np-layout-flex-end {
        flex-flow: column;
        align-items: flex-end;
    }
    .np-layout-flex-center {
        flex-flow: column;
        justify-content: left;
    }
}


/*IMAGE*/
.np-imagesection {
    display: flex;
    margin-top: 25px;
}
.np-imageitems {
    width: calc(18.8vw * 4 + 3 * 2vw);
}
.np-singleimage {
    margin-left: 1vw;
    margin-bottom: 10px;
}
.np-layout-img-4-col {
    width: calc(18.8vw * 4 + 3vw);
}
.np-layout-img-2-col {
    width: calc(18.8vw * 2 + 1vw);
}
.np-layout-img-1-col {
    width: calc(18.8vw);
}
.np-layout-img-flex {
    display: flex;
    flex-wrap: wrap;
}
.np-imageinfos {
    width: calc(18.8vw);
}
#np-videoplayer {
    transition: all 0.6s;
}


@media only screen and (max-width: 992px) {
    .np-imageitems {
        width: calc(100vw - 2 * 2vw);
        margin-left: 2vw;
        margin-right: 2vw;
    }
    .np-singleimage {
        margin-left: 0;
    }
    .np-layout-img-flex{
        justify-content: space-between;
    }
    .np-layout-img-1-col {
        width: calc(50vw - 4vw);
    }
    .np-layout-img-2-col {
        width: calc(100vw - 4vw);
    }
    .np-layout-img-4-col {
        width: calc(100vw - 4vw);
    }
    .np-imageinfos {
        width: 100%;
    }
    .np-imagesection {
        flex-flow: column;
    }
}

/*LAYOUT*/
.np-layout-divider-gross {
    height: 200px;
}
.np-layout-margin-left {
    margin-left: calc(18.8vw + 2vw);
}
.np-border-wide {
    width: 100%;
    height: 1px;
    background-color: var(--accent);
}
.np-border-wide-margin {
    width: 100%;
    height: 1px;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: var(--accent);
}
.np-layout-min-width-993 {
    display: block;
}
.np-layout-max-width-992 {
    display: none;
}

@media only screen and (max-width: 992px) {
    .np-layout-margin-left {
        margin-left: 0;
    }
    .np-layout-flex {
        flex-flow: column;
    }
    .np-layout-flex-baseline {
        flex-flow: row;
    }
    .np-layout-flex-col {
        flex-flow: row;
        justify-content: left;
    }
    .np-layout-min-width-993 {
        display: none;
    }
    .np-layout-max-width-992 {
        display: block;
    }
}

@media only screen and (max-width: 600px) {
    h1 {
        font-size: 40px;
        margin-bottom: 5px;
    }
    
    h2 {
        font-size: 40px;
    }
    
    h3 {
        font-size: 16px;
    }
    h3 span{
        font-size: 16px;
    }
    
    p {
        font-size: 16px;
        line-height: 20px;
    }
    
    a {
        font-size: 16px;
    }
}

/*MENU*/
.np-menu {
    margin-bottom: -93vh;
}
.np-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1001;
    background: var(--transparent);
}

.np-navbar {
    position: fixed;
    z-index: 1002;
    width: calc(100% - 2*20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    outline: 1px solid var(--accent);
    background-color: #fff;
    transition: all 0.3s;
}

.np-header {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    text-transform: uppercase;
    text-align: center;
}
.np-logo a{
    font-size: 20px;
    font-weight: 300;
}
.np-logo span{
    font-weight: 600;    
    font-size: 20px;
    font-style: normal;
    display: inline;
}

#menu-toggle-button {
    margin-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    width: 30px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 100000;
}

.np-menu-toggle span {
    height: 2px;
    background: #000;
    width: 30px;
    display: inline-block;
    position: absolute;
    top: 50%;
    transition: all 0.3s;
}
.np-menu-toggle span::before {
    content: " ";
    position: absolute;
    display: inline-block;
    height: 2px;
    transform: translateY(-8px);
    background: #000;
    width: 30px;
    transition: all 0.3s;
    top: -2px;
}
.active span {
    transform: rotate(45deg);
    background: #fff;
}

.active span::before {
    top: unset;
    transform: rotate(-90deg);
    background: #fff;
}
.active:hover span::before{
    top: unset;
}
.np-nav-container {
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    color: #fff;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
}
.np-nav-container a {
    color: var(--transparent);
    display: inline;
    transition: all 0.3s;
    z-index: 100001;
}
.np-nav-link {
    transition: all 0.3s;
    z-index: 100001;
}
.np-nav-link a {
    font-size: 80px;
    transition: all 0.3s;
    z-index: 100001;
}
.np-nav {
    width: 50%;
    display: flex;
    justify-content: left;
}
.np-nav-links{
    margin-left: 10vw;
}
.np-nav-socials a{
    color: #fff;
    font-weight: 300;
}
.flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}
.np-nav-logo{
    margin-top: -0.2em;
    font-size: 100px;
    text-transform: uppercase;
}
.np-nav-item-wrapper:after {
    content: " ";
    position: absolute;
    top: 60px;
    left: 0;
    width: 500px;
    height: 60px;
    background: #000;
    margin: 0 auto;
    transition: 1s;
}
.np-nav-footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    display: none;
}
.np-nav-footer a {
    text-decoration: none;
    color: #fff;
    padding: 0 20px;
}

@media(max-width: 900px) {
    .np-navbar {
        padding: 20px 10px;
        width: calc(100vw - 2*9px);
    }
    .np-nav {
        flex-direction: column-reverse;
        width: 80%;
    }

    .np-nav-logo {
        display: none;
    }
    .np-nav-socials {
        margin-top: 4em;

    }
    .np-nav-socials a {
        padding: 0 0.4em;
    }
    .np-nav-footer {
        display: none;
    }
    .np-nav-links{
        margin-left: 0;
    }
    .np-nav-link a {
        font-size: 60px;
    }
}

#twitter {
    display: none;
}
#experiment {
    display: none;
}

/*FOOTER*/
.np-footer {
    margin: 1vw 20px;
    display: flex;
    flex-flow: row;
}
.np-footer-copyright{
    width: calc(18.8vw * 3 + 1vw * 2);
}
.np-footer-flex{
    display: flex;
    flex-flow: row;
}
.np-footer a{
    width: calc(18.8vw + 1vw);
    font-weight: 300;
}
@media only screen and (max-width: 992px) {
    .np-footer a{
        margin-left: 10px;
    }
}



/*HOME*/

.np-home-coding-thumbnail {
    width: calc(100vw - 2vw);
    height: calc((100vw - 2vw) * 0.35);
    background-color: black;
    border: 1px solid var(--accent);
}
.np-home-projects-item-content-links a{
    margin-top: 3px;
}
@media only screen and (max-width: 992px) {
    .np-home-coding-thumbnail {
        width: calc(100vw - 4vw);
        height: calc((100vw - 4vw) * 0.6);
    }
}

/*Projekte*/

.np-home-projects-item {
    margin-left: 1vw;
    margin-right: 1vw;
}

.np-home-projects-item-main {
    width: calc(18.8vw * 3 + 2 * 2vw);
}
.np-home-projects-item-main h1{
    margin-left: -1vw;
}
.np-home-projects-item-sec {
    width: calc(18.8vw / 1.8);
}

.np-home-projects-item-head {
    align-items: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.np-home-projects-item-content {
    margin-top: 20px;
    margin-bottom: 150px;
}

.np-home-projects-item-main p {
    width: calc(18.8vw * 2 + 1vw);
}

.np-adc-banner a {
    display: flex;
    flex-flow: row;
    align-items: center;
}
.np-adc-banner a svg{
    margin-right: 3px;
}

@media only screen and (max-width: 1600px) {
    .np-home-projects-item-sec {
        width: calc(18.8vw / 1.5);
    } 
}
@media only screen and (max-width: 1400px) {
    .np-home-projects-item-sec {
        width: calc(18.8vw / 1.2);
    }
}
@media only screen and (max-width: 1120px) {
    .np-home-projects-item-sec {
        width: calc(18.8vw / 1);
    }
}
@media only screen and (max-width: 992px) {
    .np-home-projects-item {
        margin-left: 2vw;
        margin-right: 2vw;
    }
    .np-home-projects-item-head {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .np-home-projects-item-main {
        width: calc(100vw - (2 * 2vw));
        margin-left: auto;
        margin-right: auto;
    }
    .np-project-item-main{
        width: calc(100vw - 2 * 2vw);
        margin-left: 2vw;
        margin-right: 2vw;
    }
    .np-home-projects-item-sec {
        width: calc(100vw - (2 * 2vw));
        margin-left: auto;
        margin-right: auto;
    }
    .np-home-projects-item-content {
        margin-top: 10px;
        margin-bottom: 50px;
    }
    .np-home-projects-item-main p {
        width: 100%;
        margin-bottom: 20px;
    }
    .np-home-projects-item-content-links a {
        margin-right: 20px;
    }
    .np-imageinfos ul {
        width: calc(100vw - (2 * 2vw));
        margin-left: auto;
        margin-right: auto;
    }
}

/**/

.np-textitem {

}

.np-textitem p {
    margin-top: 25px;
    width: calc(18.8vw * 2 + 1vw);
}

.np-project-item-main {
    width: calc(18.8vw * 3 + 2vw);
}

.np-project-subtitle {
    margin-top: 55px;
    margin-bottom: 20px;
}

.np-textitem p {
    margin-top: 25px;
}

.np-textitem-collected {
    width: calc(18.8vw * 2 + 1vw);
}

.np-textitem-collected a{
    font-size: 16px;
    text-decoration: underline;
}
.np-textitem-collected p{
    font-size: 16px;
}

@media only screen and (max-width: 992px) {
    .np-textitem p {
        width: calc(100vw - 2 * 2vw);
        margin-right: auto;
        margin-left: auto;
    }
    .np-textitem-collected {
        width: calc(100vw - 4vw);
        margin: auto;
    }
    .np-project-item-main {
        width: calc(100vw - 2 * 2vw);
    }
    
}

/*COOKE BANNER*/
.cookie-consent {
    display: block;
    position: fixed;
    z-index: 300;
    width: 300px;
    bottom: 1vw;
    left: 1vw;
    padding: 20px;
    background-color: var(--base);
    border: 1px solid var(--accent);
}
.cc-text {

}
.cc-text h3{
    margin-bottom: 5px;
    font-size: 18px;
}
.cc-text p{
    font-size: 18px;
    line-height: normal;
    margin-bottom: 15px;
}
.cc-text a{
    font-weight: 300;
    text-decoration: underline;
    display: inline;
}
.cc-buttons {
    display: flex;
}
.cc-buttons button{
    border: 2px solid var(--accent);
    padding: 5px 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--base);
    background-color: var(--accent);
    margin-right: 20px;
}
.cc-buttons a {
    border: 2px solid var(--accent);
    padding: 5px 10px;
    font-size: 18px;
    font-weight: 600;
    background-color: var(--base);
}
@media only screen and (max-width: 992px) {
    .cookie-consent {
        width: 300px;
        bottom: 2vw;
        left: 2vw;
    }
}
@media only screen and (max-width: 450px) {
    .cookie-consent {
        width: auto;
        bottom: 2vw;
        left: 2vw;
        right: 2vw;
    }
}



.np-info-header a{
    line-height: 18px;
}
.np-info-ul {
    margin-left: calc(18.8vw * 1 + 1vw);
}
.np-info-facts {
    display: flex;
    flex-flow: row;
    margin-top: 20px;
    margin-bottom: 40px;
}
.np-info-facts a{
    font-weight: 300;
    display: inline;
    text-decoration: underline;
}
.np-info-facts p{
    margin-top: 0px;
}
.np-info-facts li{
    font-style: italic;
}
@media only screen and (max-width: 992px) {
    .np-info-facts {
        flex-flow: column;
    }
    .np-info-ul {
        margin-left: calc(2vw);
        margin-top: 30px;
    }
    .np-info-header a{
        line-height: normal;
    }
    .np-info-header {
        margin-top: 10px;
    }
    .np-layout-divider-info {
        height: 0;
    }
    
}

.np-hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s;
    z-index: 1;
}

.np-show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
    z-index: 1;
}

.np-singleimage:nth-child(2) {
    transition-delay: 100ms;
}
.np-singleimage:nth-child(3) {
    transition-delay: 200ms;
}
.np-singleimage:nth-child(4) {
    transition-delay: 300ms;
}
.np-singleimage:nth-child(5) {
    transition-delay: 400ms;
}
.np-singleimage:nth-child(6) {
    transition-delay: 500ms;
}
.np-singleimage:nth-child(7) {
    transition-delay: 600ms;
}
.np-singleimage:nth-child(8) {
    transition-delay: 700ms;
}
.np-singleimage:nth-child(9) {
    transition-delay: 800ms;
}
.np-singleimage:nth-child(10) {
    transition-delay: 900ms;
}
.np-singleimage:nth-child(11) {
    transition-delay: 1000ms;
}