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

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


html {
    scroll-behavior: smooth;
}


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

    font-family: "Fiona", Arial, sans-serif;

    overflow-x: hidden;
}



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

.main-nav {
    position: fixed;

    top: 0;
    right: 20px;

    display: flex;
    align-items: flex-start;

    gap: 4px;

    z-index: 9999;
}


.main-nav a {
    display: block;
    text-decoration: none;
}


.main-nav img {
    display: block;

    width: 100px;
    height: auto;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        opacity 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;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}


.gallery-gif.is-visible {
    opacity: 1;
    visibility: visible;
}



/* ======================================== */
/* ART HERO */
/* ======================================== */

.art-hero {
    position: relative;

    width: 100%;
    height: 100vh;

    background-color: black;

    overflow: hidden;
}



/* ======================================== */
/* HERO VIDEO */
/* ======================================== */

.art-video {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}



/* ======================================== */
/* GO SEE */
/* ======================================== */

.go-see {
    position: absolute;

    right: 5%;
    bottom: 40px;

    z-index: 20;

    display: flex;
    align-items: center;

    gap: 15px;

    color: white;

    text-decoration: none;

    font-size: clamp(24px, 2.5vw, 42px);
    font-weight: 400;

    cursor: pointer;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


.go-see-arrow {
    display: inline-block;

    transition: transform 0.3s ease;
}


.go-see:hover {
    opacity: 0.75;
}


.go-see:hover .go-see-arrow {
    transform: translateX(15px);
}



/* ======================================== */
/* ART CONTENT */
/* ======================================== */

.art-content {
    width: 100%;

    background-color: black;

    padding: 90px 0 160px;
}



/* ======================================== */
/* MY ART TITEL PNG */
/* ======================================== */

.art-title-image {
    display: block;

    width: 72%;
    height: auto;

    margin-left: 2%;
    margin-right: auto;

    margin-bottom: 55px;
}



/* ======================================== */
/* EXTRA PNG UNTER MY ART */
/* ======================================== */

.art-extra-image {
    display: block;

    width: 14%;
    height: auto;

    margin-left: 3.8%;
    margin-top: 25px;

    margin-bottom: -180px;
}



/* ======================================== */
/* ART GALERIE */
/* ======================================== */

.art-gallery {
    width: 72%;

    margin-left: 2%;
    margin-right: auto;

    display: grid;

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

    column-gap: 5%;

    align-items: start;
}



/* ======================================== */
/* BEIDE SPALTEN */
/* ======================================== */

.art-column {
    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    /*
        Die Bilder bekommen jetzt einen
        kontrollierten Abstand untereinander.
    */

    gap: 45px;

    min-width: 0;
}


.art-column-right {
    padding-top: 0;
}



/* ======================================== */
/* LINKS INNERHALB DER GALERIE */
/* ======================================== */

.art-column > a {
    display: block;

    width: 100%;

    color: inherit;

    text-decoration: none;
}



/* ======================================== */
/* ALLE ART PNGs */
/* ======================================== */

.art-piece {
    display: block;

    height: auto;

    object-fit: contain;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


.art-piece:hover {
    transform: scale(1.035);

    position: relative;

    z-index: 10;
}



/* ======================================== */
/* BILD 1 KLICKBAR */
/* ======================================== */

#artVideoTrigger {
    cursor: pointer;
}



/* ======================================== */
/* VIDEO POPUP */
/* ======================================== */

.art-video-popup {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.92);

    display: none;

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

    z-index: 99999;

    padding: 50px;
}



/* wenn Popup offen */

.art-video-popup.open {
    display: flex;
}



/* ======================================== */
/* POPUP BOX */
/* ======================================== */

.art-video-popup-box {
    position: relative;

    width: 85%;

    max-width: 1300px;
}



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

.art-popup-video {
    display: block;

    width: 100%;
    height: auto;

    max-height: 85vh;

    background-color: black;
}



/* ======================================== */
/* X BUTTON */
/* ======================================== */

.art-video-close {
    position: absolute;

    top: -55px;
    right: 0;

    background: transparent;

    border: none;

    color: white;

    font-size: 55px;
    line-height: 1;

    cursor: pointer;

    z-index: 10;
}


.art-video-close:hover {
    transform: scale(1.15);
}



/* ======================================== */
/* HANDY VIDEO POPUP */
/* ======================================== */

@media (max-width: 650px) {

    .art-video-popup {
        padding: 20px;
    }


    .art-video-popup-box {
        width: 100%;
    }


    .art-video-close {
        top: -45px;

        font-size: 45px;
    }

}



/* ======================================== */
/* LINKE SPALTE */
/* BILD 1 - 4 */
/* ======================================== */


/* BILD 1 */

.art-1 {
    width: 110%;

    margin-left: 0;

    margin-top: 40px;
}



/* BILD 2 */

.art-2 {
    width: 100%;

    margin-left: 10%;

    margin-top: 0;
}



/* BILD 3 */

.art-3 {
    width: 110%;

    margin-left: 20%;

    margin-top: 0;
}



/* BILD 4 */

.art-4 {
    width: 100%;

    margin-left: 70px;

    margin-top: 0;
}



/* ======================================== */
/* RECHTE SPALTE */
/* BILD 5 - 8 */
/* ======================================== */


/* BILD 5 */

.art-5 {
    width: 90%;

    margin-left: 8%;

    margin-top: 0;
}



/* BILD 6 */

.art-6 {
    width: 80%;

    margin-left: 40px;

    margin-top: 0;
}



/* ======================================== */
/* EXTRA PNG UNTER BILD 6 */
/* ======================================== */

.art-extra-under-6 {
    display: block;

    width: 42%;

    /*
        Wichtig:
        verhindert, dass ein großer transparenter
        Bereich im PNG einen riesigen Abstand macht.
    */

    height: 80px;
    max-height: 80px;

    object-fit: contain;
    object-position: center;

    margin-left: 45%;

    margin-top: -65px;
    margin-bottom: -10px;

    transform: none;
}



/* BILD 7 */

.art-7 {
    width: 80%;

    margin-left: 20%;

    margin-top: 0;
}



/* BILD 8 */

.art-8 {
    width: 82%;

    margin-left: 50px;

    margin-top: 0;
}



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

@media (max-width: 1000px) {


    /* NAVIGATION */

    .main-nav {
        right: 10px;

        gap: 5px;
    }


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



    /* GIF */

    .gallery-gif {
        display: none;
    }



    /* HERO */

    .go-see {
        right: 4%;
        bottom: 32px;
    }



    /* ART */

    .art-content {
        padding-top: 75px;
    }


    .art-title-image {
        width: 92%;

        margin-left: 3%;

        margin-bottom: 40px;
    }


    .art-gallery {
        width: 92%;

        margin-left: 3%;

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

        column-gap: 4%;
    }



    /* Bilder etwas größer */

    .art-1 {
        width: 95%;
    }


    .art-2 {
        width: 88%;
    }


    .art-3 {
        width: 75%;
    }


    .art-4 {
        width: 95%;
    }


    .art-5 {
        width: 78%;
    }


    .art-6 {
        width: 92%;
    }


    .art-7 {
        width: 85%;
    }


    .art-8 {
        width: 95%;
    }

}



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

@media (max-width: 650px) {


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

    .main-nav {
        right: 5px;

        gap: 3px;
    }


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



    /* ==================================== */
    /* HERO */
    /* ==================================== */

    .art-hero {
        height: 100svh;
    }


    .go-see {
        right: 20px;
        bottom: 25px;

        gap: 10px;

        font-size: 24px;
    }



    /* ==================================== */
    /* ART CONTENT */
    /* ==================================== */

    .art-content {
        padding:
            60px
            0
            100px;
    }



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

    .art-title-image {
        width: 94%;

        margin-left: 3%;
        margin-right: auto;

        margin-bottom: 30px;
    }



    /* ==================================== */
    /* GALERIE NUR 1 SPALTE */
    /* ==================================== */

    .art-gallery {
        width: 88%;

        margin-left: auto;
        margin-right: auto;

        grid-template-columns: 1fr;

        row-gap: 30px;
    }



    /* ==================================== */
    /* SPALTEN */
    /* ==================================== */

    .art-column {
        width: 100%;

        align-items: center;

        gap: 28px;
    }


    .art-column-right {
        padding-top: 0;
    }



    /* ==================================== */
    /* ALLE BILDER AUF HANDY */
    /* ==================================== */

    .art-1,
    .art-2,
    .art-3,
    .art-4,
    .art-5,
    .art-6,
    .art-7,
    .art-8 {

        width: 90%;

        margin-left: auto;
        margin-right: auto;

        margin-top: 0;

        rotate: 0deg;
    }



    /* erster Rahmen braucht keinen Abstand oben */

    .art-1 {
        margin-top: 0;
    }



    /* erster Rahmen der zweiten Gruppe */

    .art-5 {
        margin-top: 40px;
    }



    /* EXTRA PNG UNTER BILD 6 */

    .art-extra-under-6 {
        width: 45%;

        height: 60px;
        max-height: 60px;

        margin-left: auto;
        margin-right: auto;

        margin-top: -10px;
        margin-bottom: -5px;

        transform: none;
    }

}



/* ======================================== */
/* GIF SICHER AUF KLEINEN SCREENS WEG */
/* ======================================== */

@media (max-width: 1000px) {

    .gallery-gif {
        display: none;
    }

}