/* ADOBE FONTS */
@import url("https://use.typekit.net/mle1vmo.css");
@import url("https://use.typekit.net/mle1vmo.css");


/* ======================================== */
/* RESET */
/* ======================================== */

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


html {
    scroll-behavior: smooth;
}


body {
    background-color: black;
    color: white;

    font-family: Arial, Helvetica, sans-serif;

    overflow-x: hidden;
}



/* ======================================== */
/* NAVIGATION */
/* ======================================== */

.main-nav {
    position: fixed;

    top: 0;
    right: 20px;

    display: flex;

    gap: 4px;

    z-index: 9999;
}


.main-nav a {
    display: block;

    text-decoration: none;
}


.main-nav img {
    display: block;

    width: 100px;
    height: auto;

    transition: transform 0.25s ease;
}


.main-nav img:hover {
    transform: scale(1.08);
}



/* ======================================== */
/* GIF RECHTS UNTEN */
/* ======================================== */

.gallery-gif {
    position: fixed;

    right: 20px;
    bottom: 20px;

    width: 380px;
    height: auto;

    rotate: 5deg;

    z-index: 9000;

    pointer-events: none;
}



/* ======================================== */
/* PROJEKT SEITE */
/* ======================================== */

.project-detail {
    width: 70%;

    margin-left: 3%;

    padding-top: 70px;
    padding-bottom: 150px;
}



/* ======================================== */
/* TITEL */
/* ======================================== */

.project-title {
    font-size: clamp(55px, 7vw, 110px);

    font-weight: 400;

    margin-bottom: 45px;
}



/* ======================================== */
/* VIDEO KARUSSELL */
/* ======================================== */

.video-carousel {
    width: 100%;

    margin-bottom: 45px;
}



/* ======================================== */
/* VIDEO SLIDES */
/* ======================================== */

.video-slides {
    position: relative;

    width: 100%;

    background-color: black;
}


.video-slide {
    display: none;

    width: 100%;
}


.video-slide.active {
    display: block;
}



/* ======================================== */
/* YOUTUBE VIDEO */
/* ======================================== */

.youtube-video {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    border: 0;

    background-color: black;
}



/* ======================================== */
/* KARUSSELL PUNKTE */
/* ======================================== */

.carousel-dots {
    width: 100%;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 10px;

    margin-top: 18px;
}


.carousel-dot {
    width: 22px;
    height: 22px;

    padding: 0;

    border: 2px solid white;

    border-radius: 50%;

    background-color: transparent;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}


.carousel-dot.active {
    background-color: white;
}


.carousel-dot:hover {
    transform: scale(1.15);
}



/* ======================================== */
/* NORMALES LOKALES VIDEO */
/* Für andere Projektseiten */
/* ======================================== */

.project-video-wrapper {
    width: 100%;

    margin-bottom: 45px;

    background-color: black;

    overflow: hidden;
}


.project-video {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    background-color: black;
}



/* ======================================== */
/* INFO REIHEN */
/* ======================================== */

.project-info-row {
    display: grid;

    grid-template-columns:
        minmax(0, 1.8fr)
        minmax(180px, 1fr);

    align-items: center;

    gap: 35px;

    margin-bottom: 18px;
}


.project-info-row img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}


.project-info-row p {
    font-size: clamp(20px, 2vw, 32px);

    line-height: 1.25;
  font-family: "liebedoni-solid", sans-serif;
    font-weight: 400;
    font-style: normal;
}



/* ======================================== */
/* BESCHREIBUNG */
/* ======================================== */

.project-description {
    width: 100%;

    margin-top: 90px;
}


.project-description-image {
    display: block;

    width: 62%;
    height: auto;

    margin-bottom: 28px;
}


.project-description p {
    max-width: 900px;

    font-size: clamp(18px, 1.8vw, 28px);

    line-height: 1.5;

    font-family: "fiona", sans-serif;
    font-weight: 400;
    font-style: normal;
}



/* ======================================== */
/* ZURÜCK */
/* ======================================== */

.back-link {
    display: inline-block;

    margin-top: 70px;

    color: white;

    text-decoration: none;

    font-size: 20px;

    transition: opacity 0.25s ease;


    font-family: "liebedoni-solid", sans-serif;
    font-weight: 200;
    font-style: normal;
}


.back-link:hover {
    opacity: 0.6;
}



/* ======================================== */
/* TABLET */
/* ======================================== */

@media (max-width: 1000px) {

    .main-nav img {
        width: 75px;
    }


    /* GIF ausblenden */

    .gallery-gif {
        display: none;
    }


    .project-detail {
        width: 90%;

        margin: 0 auto;

        padding-top: 120px;
    }


    .project-info-row {
        grid-template-columns:
            1fr
            0.8fr;

        gap: 25px;
    }


    .carousel-dot {
        width: 20px;
        height: 20px;
    }

}



/* ======================================== */
/* HANDY */
/* ======================================== */

@media (max-width: 650px) {

    .main-nav {
        right: 5px;

        gap: 2px;
    }


    .main-nav img {
        width: 55px;
    }


    .project-detail {
        width: 90%;

        margin: 0 auto;

        padding-top: 100px;
    }


    .project-title {
        margin-bottom: 30px;
    }


    .video-carousel {
        margin-bottom: 40px;
    }


    .carousel-dots {
        gap: 8px;

        margin-top: 14px;
    }


    .carousel-dot {
        width: 17px;
        height: 17px;

        border-width: 1.5px;
    }


    .project-info-row {
        grid-template-columns: 1fr;

        gap: 12px;

        margin-bottom: 40px;
    }


    .project-description {
        margin-top: 60px;
    }


    .project-description-image {
        width: 100%;
    }

}