/* Reset */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    font-size: 62.5%;
    --clr-main: rgba(195, 195, 195,1);
    --clr-dark-grey: rgba(80, 80, 80, 0.9);
    --clr-dark: rgba(0,0,0,1);
    --padding: 1rem;
}

img,
picture,
svg {
    max-width: 100%;
    max-height: 100vh;
    display: block;
}

strong {
    text-decoration: underline;
    font-weight: inherit;
}

/* Fonts */

@font-face {
    font-family: "NeueHaasGrotesk";
    src: url(/assets/fonts/NHaasGroteskTXPro-55Rg.ttf) format('truetype');
}

h2 {
    padding: var(--padding);
    color: white;
    text-decoration: underline;
    font-size: 1.4rem;
    font-weight: inherit;
}

/* Utility */

.no-scroll {
    overflow: hidden;
}

.pointer:hover {
    cursor: pointer;
}

/* Structure */

body {
    text-rendering: optimizeLegibility; 
    -moz-osx-font-smoothing: grayscale;
    font-family: 'NeueHaasGrotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--clr-dark);
    overflow: auto;
}

.header {
    display: flex;
    justify-content: space-between;
    padding: var(--padding);
    font-size: 1.5rem;
    position: fixed;
    width: 100%;
    color: white;
    mix-blend-mode: difference;
    z-index: 25;
}

.header a {
    text-decoration: none;
    color: white;
    mix-blend-mode: difference;
}

/* .project-info {
    position: fixed;
    bottom: 0;
    left: 0;
    color: red;
    padding: var(--padding);
} */

.project {
    position: relative;
    /* Add any other styles for your project container */
}

.project-info {
    display: none;
    position: fixed;
    bottom: 0; /* Adjust this value to change the distance from the bottom */
    left: 0; /* Adjust this value to change the distance from the left */
    color: white;
    mix-blend-mode: difference;
    padding: var(--padding);
    border-radius: 1rem;
    z-index: 15;
    font-size: 1.2rem;
    transition: margin-bottom 1s;
}

@media screen and (width < 500px) {
    .project-info {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

.project-info.active {
    display: block;
}

.project-info > div p:not(:last-child) {
    margin-bottom: 1rem;
}

.navigation {
    font-size: 1.4rem;
    position: fixed;
    bottom: var(--padding);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--clr-dark-grey);
    padding: 1.5rem 0.5rem;
    border-radius: 1rem;
    opacity: 1;
    z-index: 15;
    transition: opacity 0.5s, margin-bottom 1s;
}

.navigation a:hover {
    color: rgb(255, 120, 52);
}

.navigation-list {
    display: flex;
    list-style: none;
}

.navigation-list-item {
    padding-inline: 0.5rem;
}

.navigation-list-item a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.navigation-list-item a.active {
    color: rgb(255, 120, 52);
}

.navigation-list-item:last-child {
    padding-right: 1rem;
}
.navigation-list-item:first-child {
    padding-left: 1rem;
}

@media screen and (width < 500px) {
    .navigation {
        bottom: var(--padding);
        left: calc(100% - var(--padding));
        transform: translateX(-100%);
        padding: 0.8rem;
    }
    .navigation-list {
        display: flex;
        flex-direction: column;
        list-style: none;
        text-align: right;
    }
    .navigation-list-item {
        padding-inline: 0;
        padding-block: 0.2rem;
    }
    .navigation-list-item:first-child {
        padding-left: 0;
    }
    .navigation-list-item:last-child {
        padding-right: 0;
    }
}

/*------------------------------ 

Landing Page 

------------------------------*/

.wrapper {
    width: 100vw;
    height: 100vh;
    position: relative;
}

.wrapper img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.wrapper figure {
    position: relative;
    z-index: 1;
}

.wrapper figure img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.wrapper figure figcaption {
    position: fixed;
    font-size: 2rem;
    z-index: 15;
    font-size: 4rem;
    color: white;
    padding: 2rem;
    background-color: red;
}

.wrapper figure:nth-child(1) figcaption {
    top:0;
    left: 0;
}

.wrapper figure:nth-child(2) figcaption {
    top:0;
    right: 0;
}

.wrapper figure:nth-child(3) figcaption {
    bottom: 0;
    left: 0;
}

.wrapper figure:nth-child(4) figcaption {
    bottom: 0;
    right: 0;
}

section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid black;
}

.cover-section:nth-of-type(1) {
    animation: fadeIn 1s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cover img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

#preview {
    position: fixed;
    margin-right: 2rem;
    height: 80vh;
    width: 7vw;
    right: 0;
    top: 10vh;
    overflow-y: scroll;
    overflow-x: hidden;
    opacity: 1;
    transition: transform 0.8s;
    /* transform: translateX(calc(100% + 2rem)); */
    transform: translateX(0);
}

#preview:hover {
    transform: translateX(0);
}

#preview section {
    height: max-content;
}

#preview img {
    width: 7vw;
    height: auto;
}

/*-------------------------------------------

Slick Slider 

--------------------------------------------*/

.slideshow {
    /* background-color: green; */
    height: 70vh;
    width: 70vw;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* .slideshow > div {
    background-color: orange;
} */

.slideshow .slick-slide {
    height: 70vh !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slideshow .slick-slide img {
    max-width: 70vw;
    max-height: 70vh;
}

.slideshow .slick-active {
    color: white !important;
}

@media screen and (width < 500px) {
    .slideshow  {
        /* max-height: 100vh; */
        height: 50vh;
        width: 100vw;
    }
    .slideshow .slick-slide {
        height: 100vh !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    .slideshow .slick-slide img {
        max-width: 100vw;
        height: 30vh;
        object-fit: cover;
        /* max-height: 100vh; */
    }
}

.slick-dots {
    position: absolute;
    border-radius: 0.5rem;
    color: rgb(85, 85, 85);
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: fit-content !important;
    left: 50%;
    bottom: -70px !important;
    transform: translateX(-50%);
    padding: 1rem !important;
    font-size: 1.4rem;
}

@media screen and (width < 500px) {
    /* .slick-dots {
        bottom: 10px !important;
    } */
}

.slick-dots li.slick-active  {
    color: white; 
}

.slick-dots li {
    margin-block: 0.5rem;
    text-align: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-button {
    background-color: var(--clr-main);
    display: block;
    position: fixed;
    padding: 1rem;
    bottom: 40px;
    right: var(--padding);
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    border: 1px solid darkgray;
    transition: opacity 0.5s;
}

@media screen and (width > 500px) {
    .mobile-button {
        display: none;
    }
}

.mobile-button:hover,
.about:hover {
    cursor: pointer;
}

.about-overlay {
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: var(--clr-dark);
    top:0;
    left: 0;
    z-index: 25;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.3s;
}

.about-overlay.visible {
    /* transform: translateX(0); */
    opacity: 1;
    pointer-events: all;
    overflow: scroll;
}

.about-portrait {
    width: 100%;
    padding: 8rem var(--padding);
}

.about-list {
    width: 50%;
    font-size: 1.4rem;
    padding: var(--padding);
    color: white;
}

@media screen and (width < 800px) {
    .about-list {
        width: 100%;
    }
}

.about-list-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    margin-bottom: 0.8rem;
}


/* .video-section {
    background-color: darkgrey;
} */

.video-section iframe {
    width: 50vw;
    height: inherit;
    border: none;
}

@media screen and (width < 500px) {
    .video-section iframe {
        width: 100vw;
    }
}

.scroll-watcher {
    height: 1px;
    position: fixed;
    top:0;
    z-index: 20;
    background-color: white;
    width: 100%;
    scale: 0 1;
    transform-origin: left;

    animation: scroll-watcher linear;
    animation-timeline: scroll();
}

@keyframes scroll-watcher {
    to { scale: 1 1; }
}

.footer {
    font-size: 1.2rem;
    padding: var(--padding);
    color: white;
    display: flex;
    justify-content: space-between;
    background-color: var(--clr-dark-grey);
}

.footer a {
    color: white;
    text-decoration: none;
}

.list-text {
    display: grid;
    grid-template-rows: max-content 1fr;
}

details {
    /* margin-left: 1rem; */
    margin-top: 0.3rem;
}

details p {
    position: relative;
    left: 0;
    padding: 1rem;
    margin-bottom: 1rem;
}

.bottomUp {
    margin-bottom: 3.5rem;
}

.imprint {
    min-height: 96vh;
    color: white;
    font-size: 1.4rem;
    padding: 8rem var(--padding);
}

/* LANDING */

.landing img {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
}

.new {
    position: fixed;
    font-size: 3rem;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1000;
}