body {
    margin: 0;
    background-color: white;

    height: 100%;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    background-color: white;
}

@font-face {
    font-family: favorit;
    src: url(/fonts/ABCFavoritVariableEdu.ttf);
}




.page2 {
    height: auto;
    width: 100vw;
    background-color: white;
    margin-top: 0;
}


.FeldContainer {
    text-align: center;
    align-content: center;
    justify-content: center;
    position: -webkit-sticky;
    position: sticky;
    top: 0vh;
    z-index: 998;
    margin: auto;
    width: fit-content;
}



.textname2, .textcontact2 {
    display: inline-block; 
    padding: 10px; 
    border-radius: 25px;
    font-family: favorit;
    position: -webkit-sticky;
    position: sticky;
    margin-top: 3vh;
    font-weight: 300;
    top: 3vh;
    font-family: favorit;
    font-size: calc(0.8rem + 1vw);
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
    cursor: pointer;
    text-align: center;
    border: none;
    width: fit-content;
}

.textname2:hover, .textcontact2:hover {
    background-color: rgba(0, 0, 0, 0.3)
}

.zurück {
    display: block;
    position: fixed;
    bottom: 3vh;
    padding: 10px;
    border-radius: 25px;
    font-family: favorit;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: calc(0.8rem + 1vw);
    z-index: 1000;
    cursor: pointer;
    font-weight: 300;
    margin-left: 2vw;
    border: none;
    background-color: rgba(0, 0, 0, 0.2);
}

.zurück:hover {
    background-color: rgba(0, 0, 0, 0.3)
}



a {
    text-decoration: none;
    color: black;
}




.gif-wrapper {
    display: flex; 
    flex-wrap: wrap; 
    width: 100vw;
    margin-top: 5vh;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.gif-wrapper2 {
    display: flex; 
    flex-wrap: wrap; 
    gap: clamp(15px, 3vw, 50px); 
    margin-left: auto;
    margin-right: auto;
    width: 90vw;
    margin-top: 5vh;
    justify-content: space-between;
    padding: 0 clamp(5px, 0.5vw, 10px);
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.gif-wrapper-marlon {
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
    margin-left: 5vw;
    width: 90vw;
    margin-top: 5vh;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.gif-item {
    width: 100%; 
    height: 100%;
    object-fit: cover; 
    flex: 30%;
}

.gif-item-overlay {
    object-fit: cover; 
    flex: 1 1 30%;
    min-width: 30%;
    -webkit-filter: blur(clamp(2px, 0.2vw, 6px));
    filter: blur(clamp(2px, 0.2vw, 6px));
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
    max-width: clamp(200px, 30vw, 600px);
    /* transition: 1s; */
}
.gif-item-overlay2 {
    object-fit: cover; 
    flex: 1 1 30%;
    min-width: 30%;
    -webkit-filter: blur(clamp(2px, 0.2vw, 6px));
    filter: blur(clamp(2px, 0.2vw, 6px));
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
    max-width: clamp(200px, 30vw, 600px);
    /* transition: 1s; */
}
/* 
.gif-item-overlay:hover {
    -webkit-filter: blur(0px);
    filter: blur(0px);
    transition: 1s;
} */

.fake-gif-item-overlay {
    object-fit: cover; 
    flex: 1 1 30%;
    min-width: 30%;
    -webkit-filter: blur(clamp(2px, 0.2vw, 6px));
    filter: blur(clamp(2px, 0.2vw, 6px));
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
    max-width: clamp(200px, 30vw, 600px);
    /* transition: 1s; */
}


.gif {
    width: 100%; /* Bild passt sich der Box an */
    height: auto; /* Höhe der Box */
    object-fit: cover;
    top: 0; /* Oben ausrichten */
    left: 0; /* Links ausrichten */ 
    transition: opacity 0.3s; /* Sanfter Übergang für den Hover-Effekt */
    display: block; /* Block-Element für die GIFs */
    max-width: 100%; /* Verhindert, dass GIFs zu groß werden */
}




a {
    margin: 0;
}

.hidden-text {
    position: fixed; /* Fixierte Position */
    top: 15vh; /* Abstand vom oberen Rand (anpassen nach Bedarf) */
    margin-left: 2vw;
    border: 2px solid #000; /* Gleiche Umrandung wie der contact Text */
    background-color: white;
    border-radius: 15px; /* Abgerundete Ecken */
    padding: 10px; /* Innenabstand */
    opacity: 0; /* Unsichtbar */
    transition: opacity 0.3s; /* Sanfter Übergang */
    pointer-events: none; /* Verhindert Interaktionen, wenn unsichtbar */
    font-family: favorit;
    font-size: calc(1.2rem + 1vw);
    max-width: 50vw;
    font-weight: 300;
    z-index: 1000;
    color: black;
}

.hidden-text.visible {
    opacity: 1; /* Sichtbar */
    pointer-events: auto; /* Erlaubt Interaktionen */
}




.heading {
    position: relative;
    margin-top: 15vh;
    margin-left: 2vw; /* Horizontale Zentrierung */
    text-align: left; /* Links ausrichten */
    font-family: favorit;
    font-weight: 300;
    font-size: calc(1.8rem + 1vw);
    z-index: 1;
    max-width: 30ch;
}

.text {
    position: relative;
    margin-left: 2vw; /* Horizontale Zentrierung */
    text-align: left; 
    font-family: favorit;
    font-weight: 300;
    font-size: calc(.6rem + 1vw);
    z-index: 1;
    width: 60vw;
    max-width: 60ch;
    color: rgb(80, 80, 80);
}

.bildbeschreibung {
    position: relative;
    text-align: center; 
    font-family: favorit;
    font-weight: 300;
    font-size: calc(0.1rem + 1vw);
    z-index: 1;
    width: auto;
    max-width: 60ch;
    color: rgb(150, 150, 150);
}


.gif-wrapper {
    position: relative; /* Positionierung für die GIFs */
}


.gif-wrapper-marlon {
    position: relative; /* Positionierung für die GIFs */
}

.gif-item {
    position: relative; /* Positionierung für die einzelnen GIFs */
    display: inline-block; /* Damit die GIFs nebeneinander angezeigt werden */
}


.overlay {
    position: absolute; /* Absolute Positionierung für das Overlay-Bild */
    top: 0; /* Oben ausrichten */
    left: 0; /* Links ausrichten */
    width: 100%; /* Breite anpassen */
    height: auto;
    opacity: 1; /* Standardmäßig sichtbar */
    transition: opacity 0.3s; /* Sanfter Übergang für die Opazität */
    cursor: pointer;
}

.gif-item:hover .overlay {
    opacity: 0; /* Unsichtbar beim Hover über das gif-item */
}


#schriftzugeins {
    display: block; /* Standardmäßig sichtbar */
    z-index: 10; /* Über anderen Elementen anzeigen */
    color: white;
}

.img2 {
    display: block;
    position: absolute;
    top: 50%; /* Vertikale Zentrierung */
    left: 50%; /* Horizontale Zentrierung */
    transform: translate(-50%, -50%);
    max-width: 90%; /* Maximale Breite anpassen */
    max-height: 90%; /* Maximale Höhe anpassen */
    z-index: 10;
    width: 60vw;
}


details > summary {
    list-style-type: '→';
    cursor: pointer
}

details[open] > summary {
    list-style-type: '↓';
}











.instagramcontainer {
    display: flex;
    justify-content: center;
    width: 100vw; 
    margin-top: 20vh;
}

.vimeodante {
    padding:45vw 0 0 0;
    position:relative;
    margin-top: 10vh;
}

.vimeoutopia {
    padding:45vw 0 0 0;
    position:relative;
    margin-bottom: 5vh;
}

.webseite {
    width: 70vw;
    height: 80vh;
    display: flex; /* Flexbox aktivieren */
    justify-content: center; /* Horizontale Zentrierung */
    align-items: center; /* Vertikale Zentrierung */
    margin: auto; /* Automatische Margen für Zentrierung */
    margin-top: 15vh;
}

#unten {
padding-bottom: 10vh;
padding-top: 5vh;
margin: 0 auto;
width: 100%;
text-align: center;
}

.spotify {
    width: 40vw; 
}

.spotifycontainer {
    padding-bottom: 20vh;
}

.lentikular {
    display: flex;
    padding: 20%;
    position:relative;
}






#page1 {
    display: none;
}













.hover-gif-container {
    position: relative;
    width: 50vw;
    margin: 60px auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hover-gif-img {
    width: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    transition: opacity 0.4s;
    border-radius: 10px;
  }
  
  .static-img {
    z-index: 2;
    opacity: 1;
  }
  
  .gif-img {
    z-index: 1;
    opacity: 0;
    pointer-events: none; /* Damit Hover immer auf dem statischen Bild bleibt */
  }
  
  .hover-gif-container:hover .static-img {
    opacity: 0;
  }
  
  .hover-gif-container:hover .gif-img {
    opacity: 1;
  }


  .gif-item-overlay-marlon {
    object-fit: cover; 
    flex: 30%;
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
    /* transition: 1s; */
}



@keyframes phone-ring {
    0% { transform: rotate(0deg); }
    3% { transform: rotate(-15deg); }
    6% { transform: rotate(15deg); }
    9% { transform: rotate(-15deg); }
    12% { transform: rotate(15deg); }
    15% { transform: rotate(-15deg); }
    18% { transform: rotate(15deg); }
    21% { transform: rotate(-15deg); }
    24% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
  }
  
  .phone-emoji {
    display: inline-block;
    animation: phone-ring 3s ease-in-out infinite;
    -webkit-animation: phone-ring 3s ease-in-out infinite;
    transform-origin: center;
    width: 1em;
    height: 1em;
    vertical-align: -.1em;
    object-fit: contain;
  }

  .favicon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -.1em;
    object-fit: contain;
  }

  img.favicon,
  img.phone-emoji {
    max-width: none;
    height: 1em;
  }














@media (max-width: 828px) {

    .gif-wrapper2 {
        width: 95vw;
        justify-content: center;
        padding: 0 10px;
        gap: 12px;
    }



    .page1 {
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        display: none;
    }

    .grid-container {
        display: none;
    }
    
    .img-container {
    display: none;
    }

    .textname, .textcontact, .textabout {
        font-size: 1.2em;
    }

    .textname2, .textcontact2, .textabout2 {
        font-size: 1.2em;
    }

    .pfeil {
        height:  5vh;
        left: 45%;
        bottom: 10vh;
    }

    .zurück {
        font-size: 1.2em;
    }


    .portfolio-gif-handy {
        display: flex;
        width: 80vw;
        margin: 0; /* Margin entfernen */
        position: absolute; /* Positionierung ändern */
        top: 50%; /* Vertikal zentrieren */
        left: 50%; /* Horizontale Zentrierung */
        transform: translate(-50%, -50%); /* Zentrierung anpassen */
    }

    .gif-container-handy {
        margin: 0;
    }


    .pfeil-wrapper {
        margin: 0 auto;
    }


    .gif-wrapper-marlon {
        width: 90vw;
        margin-bottom: 10vh;
        margin-top: 25vh !important;
    }


    .gif-wrapper {
        width: 100vw;
        margin-bottom: 10vh;
    }

    .gif-wrapper2 {
        width: 85vw;
        margin-bottom: 10vh;
        gap: 12px;
    }

    .gif-item-overlay {
        flex: 1 1 100%; /* Vollbreite für mobile Geräte */
        transform: scale(1);
        -webkit-transform: scale(1);
        max-width: 100% !important;
        min-width: 100%;
    }

    .gif-item-overlay2 {
        flex: 1 1 100%; /* Vollbreite für mobile Geräte */
        transform: scale(1);
        -webkit-transform: scale(1);
        max-width: 100% !important;
        min-width: 100%;
    }

    .gif-item-overlay-marlon {
        flex: 1 1 100%; /* Vollbreite für mobile Geräte */
        transform: scale(1);
        -webkit-transform: scale(1);
        padding: 10px;
    }

    .overlay {
        width: 100%;
    }

    .hidden-text {
        top: 11vh;
        border-radius: 15px; /* Abgerundete Ecken */
        padding: 10px; /* Innenabstand */
        opacity: 0; /* Unsichtbar */
        transition: opacity 0.3s; /* Sanfter Übergang */
        pointer-events: none; /* Verhindert Interaktionen, wenn unsichtbar */
        font-family: favorit;
        font-size: 1.2em;
        max-width: 90vw;
    }
    
    .hidden-text.visible {
        opacity: 1; /* Sichtbar */
        pointer-events: auto; /* Erlaubt Interaktionen */
    }

    .bildbeschreibung {
        font-size: .8em;
    }

    .text {
        position: relative;
        margin-left: 5vw; 
        text-align: left; 
        font-family: favorit;
        font-weight: 300;
        font-size: calc(1rem + 1vw);
        z-index: 1;
        width: 90vw;
        max-width: 60ch;
    }

    .gif-item {
        flex: 1 1 100%;
    }

    .heading {
        margin-left: 5vw;
    }
    /* .overlay {
        display: none;
    } */

    #schriftzugeins {
        display: none;
        opacity: 0;
    }

    .vimeodante {
        padding: 90vw 0 0 0;
    }

    .webseite {
        width: 85vw;
        height: 70vh;
    }



    #sebibild {
        display: flex; 
        margin: 0 auto; /* Automatische Margen für Zentrierung */
        width: 100%; /* Breite auf 100% setzen, um den verfügbaren Platz zu nutzen */
        max-width: 70%; /* Maximale Breite anpassen, falls gewünscht */
    }

    #sebibild3 {
        padding-top: 5vh;
        display: flex; 
        margin: 0 auto; /* Automatische Margen für Zentrierung */
        width: 100%;
        max-width: 50%; /* Maximale Breite anpassen, falls gewünscht */
        padding-bottom: 15vh;
    }

    #sebibild2 {
        display: none;
    }

    .spotify {
        width: 96vw;
        height: 60vh;
    }
    
    .lentikular {
        padding: 50%;
    }

    #unten {
        padding-top: 0vh;
    }


    .fake-gif-item-overlay {
        display: none;
    }

    .hover-gif-container .static-img {
        opacity: 0 !important;
    }
    .hover-gif-container .gif-img {
        opacity: 1 !important;
    }

}