body {
    margin: 0;
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
}

.scroll-placeholder {
    height: 100px;
}


/* Startseite: Garvinscope */
#start {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

.garvinscope-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 50px;
    
}

#garvinscope-main {
    font-size: 5rem;
    color: black; 
    -webkit-text-stroke: 2px white;
    text-stroke: 2px white; 
    cursor: pointer;
    position: relative;
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

#garvinscope-main:hover {
    -webkit-text-stroke-color: white;
    animation: glow-animation 2s infinite alternate;
    transform: scale(1.1);
}


.video-container {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    width: 100%;
    max-width: 800px; /* Maximale Breite */
    margin: auto;
    transition: all 0.3s ease;
    gap: 100px; /* Anpassbarer Abstand zwischen Video und Profilkarte */
    cursor: pointer;
    
}

.video-container video {
    width: 100%; /* Nutzt den verfügbaren Platz */
    max-width: 600px; /* Maximale Breite für das Video */
    height: auto; /* Automatische Höhe für die richtige Proportion */
    border: 2px solid white;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container video:hover {
    transform: scale(1.1);
}

.profile-card {
    display: flex;
    flex-direction: column; /* Vertikale Ausrichtung für kleinere Bildschirme */
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000, #000000);
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    width: 100%; /* Responsiv */
    max-width: 400px; /* Maximale Breite */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    gap: 10px;
    cursor: pointer;
}

.profile-card img {
    width: 80%; /* Bild passt sich proportional an */
    max-width: 150px; /* Maximale Größe des Profilbilds */
    height: auto;
    border: 2px solid white;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.5);
}


/* Profilbild */
.profile-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.5);
}

/* Profilinformationen */
.profile-info {
    text-align: left;
    max-width: 300px;
}

.profile-info h2 {
    font-size: 1.4rem;
    background: linear-gradient(90deg,#ff7eff, #feb4fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.profile-info h3 {
    font-size: 0.8rem;
    background: linear-gradient(90deg, #ffffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.profile-info p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ddd;
    margin-top: 10px;
    display: none; 
}

/* Button Design */
.profile-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    background: linear-gradient(90deg, #ff7eff, #feb4fe);
    background-size: 150% 150%;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    animation: pulse 2s infinite ease-in-out, backgroundShift 4s linear infinite;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 126, 255, 0.3), 0 0 15px rgba(255, 180, 254, 0.3);
}

@media screen and (max-width: 768px) {
    .video-container {
        flex-direction: column; /* Video und Profilkarte untereinander */
        gap: 20px; /* Abstand zwischen den Elementen */
    }

    .video-container video,
    .profile-card {
        width: 90%; /* Nutzt den verfügbaren Platz */
        max-width: 400px; /* Maximale Breite für kleinere Bildschirme */
    }

    .profile-card img {
        max-width: 100px; /* Kleinere Profilbilder auf mobilen Geräten */
    }
}


/* Animierte Hintergrundverschiebung */
@keyframes backgroundShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Keyframes für den Puls-Effekt mit dezentem Glimmer */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 126, 255, 0.3), 0 0 15px rgba(255, 180, 254, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(255, 126, 255, 0.5), 0 0 25px rgba(255, 180, 254, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 126, 255, 0.3), 0 0 15px rgba(255, 180, 254, 0.3);
    }
}

.profile-button:hover {
    animation: pulse-hover 0.5s forwards ease-in-out, backgroundShift 3s linear infinite;
    background: linear-gradient(90deg, #ff7eff, #feb4fe);
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5), 0 0 35px rgba(255, 126, 255, 0.4), 0 0 45px rgba(255, 180, 254, 0.4);
}

/* Keyframes für die Hover-Puls-Animation mit reduziertem Effekt */
@keyframes pulse-hover {
    0% {
        transform: scale(1.15);
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.5), 0 0 35px rgba(255, 126, 255, 0.4), 0 0 45px rgba(255, 180, 254, 0.4);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 35px rgba(255, 255, 255, 0.6), 0 0 50px rgba(255, 126, 255, 0.5), 0 0 60px rgba(255, 180, 254, 0.5);
    }
    100% {
        transform: scale(1.15);
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.5), 0 0 35px rgba(255, 126, 255, 0.4), 0 0 45px rgba(255, 180, 254, 0.4);
    }
}

/* Optional: Dezenter Glanzstreifen */
.profile-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.5s;
    pointer-events: none;
}

.profile-button:hover::before {
    transform: rotate(45deg) translateX(100%);
}



#profile-section {
    margin: 20px auto;
    overflow-y: auto;
    max-height: calc(100vh - 120px);
}

/* Neue Sektion "projects" */
.projects-section {
    background-color: black;
    color: white;
    margin-top: 100px;
    min-height: auto;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    text-align: center;
}

.projects-section .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    cursor: pointer;
}

/* Filter-Button-Leiste */
.filter-buttons {
    display: inline-flex;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 25px;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.filter-btn.active {
    background-color: white;
    color: black;
}

.filter-btn:hover {
    background-color: white;
    color: black;
}

/* Medien-Galerie */
.media-container {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    justify-items: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto; 
    padding-bottom: 150px;
}

/* Bilder in .media-item */
.media-item img {
    display: block;         /* Ermöglicht margin: 0 auto; oder center */
    margin: 0 auto;         /* Zentriert das Bild innerhalb der .media-item */
    width: 100%;            /* Passt sich der .media-item-Breite an */
    max-width: 300px;       /* Begrenze auf 300px (oder Wunschmaß) */
    height: auto;           /* Beibehaltung des Seitenverhältnisses */
    border-radius: 10px;    /* Falls abgerundete Ecken gewünscht */
    object-fit: cover;      /* Falls Bilder zugeschnitten werden sollen */
  }
  


/* Videos in .media-item */
.media-item video {
    display: block;
    margin: 0 auto;          /* Zentriert das Video in der .media-item */
    width: 100%;
    max-width: 900px;        /* Angenehme Breite, anpassbar */
    
    border-radius: 10px;     /* Gleicher Stil wie bei Bildern */

  }
  

.media-item img:hover,
.media-item video:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* "Zurück"-Button in der Projects-Sektion */
.projects-section .back-button {
    display: inline-block;
    margin-top: 40px;
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: 2px solid white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.projects-section .back-button:hover {
    background-color: white;
    color: black;
}

/* Keyframes für den glühenden Effekt */
@keyframes glow-animation {
    0% {
        text-shadow:
            0 0 1px rgba(255, 255, 255, 0.9),
            0 0 2px rgba(255, 255, 255, 0.7),
            0 0 4px rgba(255, 255, 255, 0.5);
    }
    50% {
        text-shadow:
            0 0 3px rgba(255, 255, 255, 1),
            0 0 6px rgba(255, 255, 255, 0.8),
            0 0 9px rgba(255, 255, 255, 0.7);
    }
    100% {
        text-shadow:
            0 0 1px rgba(255, 255, 255, 0.9),
            0 0 2px rgba(255, 255, 255, 0.6),
            0 0 5px rgba(255, 255, 255, 0.5);
    }
}

/* Impressum Seite */
#impressum {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 50vh;
    text-align: center;
    padding: 20px;
    margin-top: 150px;
}

#impressum a {
    color: white;
    text-decoration: none;
    cursor: default;
}

/* Datenschutzerklärung */
#datenschutzerklaerung {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px;
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
    margin: 0;
    box-sizing: border-box;
    padding-bottom: 50px;
}

.datenschutz-wrapper {
    width: 100%;
    max-width: 900px;
    margin: auto;
    padding: 20px;
    box-sizing: border-box;
}

.back-button {
    position: relative;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: 2px solid white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 999;
}

.back-button:hover {
    background-color: white;
    color: black;
    border-color: black;
}

/* Pfeil nach unten (Animation) */
#down-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 40px;
    height: 40px;
    border: solid white;
    border-width: 0 5px 5px 0;
    cursor: pointer;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0% {
        transform: translate(-50%, -50%) rotate(45deg) scale(1);
    }
    50% {
        transform: translate(-50%, -60%) rotate(45deg) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) rotate(45deg) scale(1);
    }
}
#menu {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(60vh - 70px);
    flex-wrap: wrap;
    gap: 20px;
    background-color: black;
    color: white;
    margin-top: 30px;
    margin-bottom: 100px; 
    position: center;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}
#menu.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#menu.visible {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
/* Rainbow Effect for Tile Borders */
@keyframes rainbow-border {
    0%   { border-color: red; }
    14%  { border-color: orange; }
    28%  { border-color: yellow; }
    42%  { border-color: green; }
    57%  { border-color: cyan; }
    71%  { border-color: blue; }
    85%  { border-color: violet; }
    100% { border-color: red; }
}

.tile {
    border: 2px solid white;
    position: relative;
    padding: 40px;
    border-radius: 10px;
    margin: 20px;
    background-color: black;
    color: white;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.tile::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 10px;
    border: 4px solid;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    animation: rainbow-border 5s linear infinite;
    pointer-events: none;
}

.tile:hover::before {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
}

footer {
    background-color: #000000; /* Dunkleres Schwarz für Eleganz */
    color: white;
    padding: 20px 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: 'Roboto', sans-serif; /* Roboto Schriftart */
}

/* Social Icons Container */
footer .social-icons {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Impressum und Kontakt Links */
footer .impressum-kontakt {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Links im Footer */
footer a {
    color: white;
    text-decoration: none;
    font-weight: 500; /* Leichtes Gewicht für Eleganz */
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

footer a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #feb4fe;
}

/* Feather Icons */
footer .social-icons i {
    color: white;
    width: 24px;
    height: 24px;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer .social-icons a:hover i {
    color: #feb4fe; /* Farbe beim Hover */
    transform: scale(1.2); /* Leichte Vergrößerung beim Hover */
}

/* Fotogalerie */
#photography-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    margin: 0 auto; /* Horizontales Zentrieren des gesamten Containers */
    justify-items: center;
    align-items: center;
    max-width: 1200px;
    scroll-behavior: smooth;
    min-height: 100vh;
    padding-bottom: 150px;
    text-align: center;
}


#photography-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
#photography-gallery .back-button {
    /* Nimmt die gesamte Zeilenbreite (Spalten 1 bis -1) ein */
    grid-column: 1 / -1; 
    justify-self: center; /* Zentriert den Button in dieser Zeile */
    margin-top: 20px;     /* optionaler Abstand nach oben */
}


#photography-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Scroll-Leiste stylen (optional, modernes Design) */
#photography-gallery::-webkit-scrollbar {
    width: 10px;
}
#photography-gallery::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}
#photography-gallery::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Mobile Ansicht für die Galerie */
@media screen and (max-width: 768px) {
    #photography-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    #photography-gallery img {
        border-radius: 5px;
    }
}

/* Mobile Ansicht - Fußzeile */
@media screen and (max-width: 768px) {
    footer {
        font-size: 0.8rem;
        padding: 15px 0;
    }
    footer .impressum-kontakt {
        gap: 10px;
    }
}

/* Links unterstreichen und weiß halten */
#impressum a,
#datenschutzerklaerung a {
    color: white !important;
    text-decoration: underline;
    cursor: pointer;
}

#about-me {
    background-color: #f5f5f5; /* Beige Farbe */
    color: black;
    padding: 50px 20px;
    min-height: 100vh;
    transition: transform 1s ease-in-out, opacity 0.6s ease-in-out;
    padding-bottom: 100px;
    cursor: pointer;
}

#about-me.hidden {
    transform: translateY(100%);
    opacity: 0;
}

#about-me.visible {
    transform: translateY(0);
    opacity: 1;
}

.text-image-pair {
    display: flex;
    justify-content: center; /* Zentriert die Elemente horizontal */ 
    gap: 70px;
    margin: 20px 0;
    cursor: pointer;
}



.text-image-pair .text {
    width: 30%;
    font-size: 1rem;
    line-height: 1.4;
}

.text-image-pair img {
    width: 30%;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
}


.text-image-pair img:hover {
    transform: scale(1.05);
}

/* Responsive Anpassung für Mobilgeräte */
@media (max-width: 768px) {
    .text-image-pair {
      display: flex;
      flex-direction: row; /* Elemente bleiben nebeneinander */
      justify-content: center;
      gap: 40px; /* Kleinerer Abstand für kleinere Bildschirme */
      margin: 10px 0; /* Reduziertes Margin */
    }
  
    .text-image-pair .text {
      width: 45%; /* Text bleibt proportional */
      font-size: 0.9rem; /* Geringere Schriftgröße für mobile Geräte */
      line-height: 1.4; /* Lesbare Zeilenhöhe */
    }
  
    .text-image-pair img {
      width: 45%; /* Bild bleibt proportional */
      border-radius: 10px;
      object-fit: cover; /* Bild wird korrekt angepasst */
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Beibehaltung des Schattens */
    }
    
  }
  
  
#second-arrow {
    display: inline-block;  /* statt block */
    width: 40px;
    height: 40px;
    margin: 30px;
    border: solid white;
    border-width: 0 5px 5px 0;
    transform: rotate(45deg);
    cursor: pointer;
    animation: bounce 1.5s infinite;
    margin-left: 75px; 
    margin-top: 100px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    }



  
  /* Nur auf der Startseite eingeblendet */
  .hidden-second-arrow {
    display: none !important;
    visibility: hidden;
    opacity: 0;
  }
 
.portfolio-section {
    width: 100%;
    background-color: #000; /* Schwarz oder dein Hintergrund */
    color: #fff;           /* Weißer Text */
    padding-top: 200px;     /* Abstand nach oben/unten */
    text-align: center;    /* Zentriert den Text */
    position: relative;    /* Falls du etwas absolut positionieren möchtest */
    cursor: pointer;
  }
  
  /* --- TITEL-STYLING --- */
  .portfolio-header h1 {
    font-family: "Helvetica Neue", sans-serif; /* oder eine andere moderne Schrift */
    font-size: 4rem;            /* Große Schrift, z. B. 4rem */
    letter-spacing: 0.2em;      /* Weite Buchstaben, wie auf dem Bild */
    font-weight: 300;           /* Eher dünnes Gewicht */
    text-transform: uppercase;  /* Ggf. komplett groß geschrieben */
    margin: 0;                  /* Kein Standardabstand */
    padding: 20px 0;            /* etwas Platz, damit der Text Luft hat */
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1);
    
  }
  
  .portfolio-header .subline {
    font-family: "Helvetica Neue", sans-serif;
    font-size: 1rem;
    font-style: italic;         /* oder normal, je nach Geschmack */
    color: #ccc;                /* leicht grauer Ton, damit es dezenter ist */
    margin-top: 5px;
  }
  
  .portfolio-header:hover h1 {
    -webkit-text-stroke-color: white;
    animation: glow-animation 2s infinite alternate;
    transform: scale(1.1);
}
#videography-gallery {
    background-color: black;
    color: white;
    padding: 50px 20px;
    min-height: 100vh;
    transition: transform 1s ease-in-out, opacity 0.6s ease-in-out;
    text-align: center;
    padding-bottom: 130px;
    cursor: pointer;
}

#videography-gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 90px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    
    
}

/* Stil für das h3-Element innerhalb von #videography-gallery */
#videography-gallery h3 {
    position: relative;
    left: 170px;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: rgb(255, 255, 255); /* Weiß */
    text-align: left;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.9),
                 0 0 2px rgba(255, 255, 255, 0.7),
                 0 0 4px rgba(255, 255, 255, 0.5);
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1); 
}

#videography-gallery:hover h3 {
    -webkit-text-stroke-color: white;
    animation: glow-animation 2s infinite alternate;

}


/* Jeder Video-Block */
.video-block {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 30px; /* Erhöht */
    margin: 60px auto; /* Erhöht */
    max-width: 1200px;
    flex-wrap: nowrap;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hinzugefügt */
}



/* Linker Bereich für das Video */
.video-left {
    flex: 2;
}

.video-left video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    outline: none;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hinzugefügt */
}

/* Hover-Effekt für Videos */
.video-left video:hover {
    transform: scale(1.05); /* Leichte Vergrößerung beim Hover */
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3); /* Schattierung */
}

/* Rechter Bereich für die Stills */
.collage-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    max-width: 500px;
    box-sizing: border-box;
    position: relative; /* Für das Overlay */
}

/* Container für Bilder mit relativer Positionierung */
.image-container {
    position: relative;
}

/* Collage-Bilder */
.collage-right img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    border: 1px solid #555;
    object-fit: cover;
    cursor: pointer; /* Zeigt an, dass das Bild klickbar ist */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Für leichte Vergrößerung beim Hover */
}

/* Hover-Effekt für die Collage-Bilder */
.collage-right img:hover {
    transform: scale(1.05); /* Leichte Vergrößerung beim Hover */
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3); /* Schattierung */
}

/* Overlay hinzufügen beim Hover */
.collage-right img::after {
    pointer-events: none; 
    content: "Vergrößern";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Halbtransparenter schwarzer Hintergrund */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Standardmäßig unsichtbar */
    transition: opacity 0.3s ease; /* Sanfte Transition */
    border-radius: 5px; /* Gleiche Rundung wie das Bild */
}

.collage-right img:hover::after {
    opacity: 1; /* Sichtbar beim Hover */
}

/* Responsives Design */
@media (max-width: 1200px) {
    .video-block {
        flex-direction: column;
        align-items: center;
    }
    
    .collage-right {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }
}

/* Modal-Stile */
.modal {
    display: none; /* Standardmäßig ausgeblendet */
    position: fixed;
    z-index: 1000; /* Sicherstellen, dass es über anderen Elementen liegt */
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8); /* Schwarzer, halbtransparenter Hintergrund */
    backdrop-filter: blur(5px); /* Hintergrund verschwommen */
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    border: 2px solid white;
    border-radius: 10px;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

.close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.hidden {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.0s ease, visibility 0.0s ease;
}
.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.0s ease, visibility 0.0s ease;
}

.graphic-pairs {
    display: flex; /* Flexbox verwenden */
    flex-direction: column; /* Inhalte vertikal ausrichten */
    gap: 20px; /* Abstand zwischen den Elementen */
    justify-content: center; /* Vertikale Zentrierung */
    align-items: center; /* Horizontale Zentrierung */
    height: auto; /* Vollbildhöhe für perfekte Zentrierung */
    margin: 0 auto; /* Optional: Zusätzliche horizontale Zentrierung */
    text-align: center; /* Für zentrierten Text in den Kindern */
}


.graphic-pairs .text-image-pair {
    gap: 30px;
    margin: 15px 0;
}

.graphic-pairs .text-image-pair .text {
    width: 30%;
    font-size: 1rem;
}

.graphic-pairs .text-image-pair img {
    width: 30%;
}

@media screen and (max-width: 768px) {
    .graphic-pairs .text-image-pair .text,
    .graphic-pairs .text-image-pair img {
        width: 90%;
    }
}

.bildnachweis {
    font-size: 0.8rem;   /* Schriftgröße wird kleiner */
    text-align: left;    /* Text wird links ausgerichtet */
    margin-left:1090px;      /* Entfernt ggf. zusätzlichen linken Rand */
  }
  
/* Minimalistischer Scroll-to-Top-Button mit zwei übereinanderliegenden Pfeilen */
.scroll-to-top {
    position: fixed;
    bottom: 150px;           /* Abstand vom unteren Bildschirmrand */
    right: 30px;            /* Abstand vom rechten Bildschirmrand */
    width: 45px;
    height: 45px;
    background-color: #111; /* Dunkles Grau/Schwarz */
    border-radius: 50%;     /* Runde Form */
    border: 2px solid #fff; /* Weißer Rand */
    cursor: pointer;

    /* Standardmäßig ausgeblendet */
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);

    /* Sanfte Übergänge */
    transition: 
        opacity 0.3s ease, 
        visibility 0.3s ease,
        transform 0.3s ease;
    z-index: 9999; /* Liegt über anderen Elementen */

    /* Zur Zentrierung der Pfeile */
    display: block; 
    text-align: center;
}

/* Zwei Dreiecke als Pfeile: schmal, übereinander und in der Kreis-Mitte */
.scroll-to-top::before,
.scroll-to-top::after {
    content: "";
    position: absolute;
    /* Ein kleines nach oben zeigendes Dreieck */
    border: 5px solid transparent; 
    border-bottom-color: #fff; 
    left: 50%;                /* Horizontal zentrieren */
    transform: translateX(-50%); 
}

/* Oberer Pfeil */
.scroll-to-top::before {
    top: 10px; /* Schiebe den oberen Pfeil etwas nach oben */
}

/* Unterer Pfeil */
.scroll-to-top::after {
    top: 20px; /* Ein Stück darunter, damit man zwei Pfeile sieht */
}

/* Wenn der Button eingeblendet wird (per JS-Klasse) */
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hover-Effekt: leichte Farbänderung & Lift */
.scroll-to-top:hover {
    background-color: #333; 
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
/* Modal für Credits (kann sehr ähnlich wie dein Bild-Modal aussehen) */
#credits-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 100%; /* Dynamische Höhe */
    overflow-y: auto; /* Scrollen bei Überlauf */
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    padding: 60px 20px; /* Platz nach oben und an den Seiten */
    box-sizing: border-box; /* Padding wird in die Breite/Höhe einberechnet */
}

  
  #credits-modal table {
    margin: 20px auto;
    border-collapse: collapse;
    color: #fff;
  }
  
  #credits-modal table td, 
  #credits-modal table th {
    border: 1px solid #fff;
    padding: 8px 12px;
  }
  
  .close-credits {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }
  
  /* Beispiel-Klasse für den Credits-Button */
  /* Allgemeine Button-Einstellungen */
.credit-btn {
    display: flex;
    align-items: center; /* Vertikale Zentrierung */
    justify-content: center;
    margin-top: 10px;
    padding: 5px 10px;
    background: #fff; /* Standard: Weißer Hintergrund */
    color: #000; /* Standard: Schwarzer Text */
    border: 2px solid #000; /* Schwarzer Rahmen */
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out; /* Sanfter Übergang */
}

/* Hover-Effekt: Button wird dunkler */
.credit-btn:hover {
    background: #000; /* Dunkler Hintergrund */
    color: #fff; /* Weißer Text */
}

/* Bildcontainer */
.img-container {
    position: relative; /* Bezugsrahmen für die Positionierung des Buttons */
    display: flex; /* Flexbox für die Positionierung */
    justify-content: flex-end; /* Button wird standardmäßig rechts ausgerichtet */
    margin-top: 10px; /* Abstand oberhalb des Containers */
}

/* Button leicht eingerückt unter das Bild */
.image-credit-btn {
    margin-right: 260px; /* Eingerückt von der rechten Seite */
    padding: 4px 8px; /* Kleinere Polsterung für kompakteren Button */
    background: #fff; /* Standard: Weißer Hintergrund */
    color: #000; /* Standard: Schwarzer Text */
    border: 1px solid #000; /* Schwarzer Rahmen */
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.5rem; /* Kleinere Schriftgröße */
    transition: all 0.3s ease-in-out; /* Sanfter Übergang */
}

/* Hover-Effekt: Button wird dunkler */
.image-credit-btn:hover {
    background: #000; /* Dunkler Hintergrund */
    color: #fff; /* Weißer Text */
}

/* Mobile Ansicht */
@media (max-width: 768px) {
  .img-container {
      justify-content: flex-end; /* Button bleibt rechtsbündig */
      margin-top: 20px; /* Mehr Abstand auf Mobilgeräten */
  }

  .image-credit-btn {
      font-size: 0.4rem; /* Kleinere Schrift für Mobilgeräte */
      padding: 3px 6px; /* Noch kompakterer Button */
      margin-right: 20px; /* Weniger Einrückung für kleinere Bildschirme */
      border: 1px solid #000; /* Konsistenter schwarzer Rahmen */
  }
}
@media (max-width: 768px) {
    .img-container {
        margin-bottom: 130px; /* Platz außerhalb des Containers */
    }
}
/* Mobile Anpassung */
@media (max-width: 768px) {
    .poetry-section h2 {
        font-size: 1.8rem; /* Kleinere Überschrift */
        margin-bottom: 30px; /* Weniger Platz nach unten */
    }

    .poetry-section .poetry-container {
        grid-template-columns: 1fr; /* Einspaltige Darstellung */
        gap: 15px; /* Kleinere Abstände */
    }

    .poetry-item {
        max-width: 90%; /* Nutze den verfügbaren Platz */
        padding: 15px; /* Weniger Padding */
        font-size: 0.9rem; /* Kleinere Schrift */
    }
}
@media (max-width: 768px) {
    .text-image-pair {
        flex-direction: column; /* Text und Bild untereinander */
        gap: 20px; /* Kleinere Abstände zwischen Text und Bild innerhalb eines Paares */
        align-items: center; /* Zentriert die Inhalte horizontal */
        margin: 30px 0; /* Mehr Abstand zwischen den Paaren */
    }

    .text-image-pair .text {
        width: 90%; /* Text füllt mehr Platz aus */
        font-size: 0.9rem; /* Kleinere Schriftgröße für Mobilgeräte */
        line-height: 1.4; /* Lesbare Zeilenhöhe */
        text-align: center; /* Zentriert den Text */
    }

    .text-image-pair img {
        width: 90%; /* Bild passt sich der Breite an */
        max-width: 300px; /* Begrenzung für kleinere Geräte */
        margin: 0 auto; /* Horizontale Zentrierung für das Bild */
    }
}
@media screen and (max-width: 768px) {
    #garvinscope-main {
        font-size: calc(6vw + 10px); /* Reduzierte Schriftgröße für kleine Bildschirme */
        -webkit-text-stroke: 1px white; /* Dünnere Umrandung */
        margin: 0 auto; /* Zentriert den Text */
        text-align: center; /* Zentriert den Text */
        
    }

    #start {
        justify-content: center; /* Inhalt bleibt zentriert */
    }
}

/* Globale Einstellungen für horizontales Scrollen */
html, body {
    overflow-x: hidden; /* Entfernt horizontales Scrollen */
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
}
@media (max-width: 768px) {
    .portfolio-header h1 {
        font-size: 2.5rem;      /* Reduzierte Schriftgröße */
        letter-spacing: 0.1em; /* Weniger Abstand zwischen Buchstaben */
        padding: 10px 0;       /* Weniger Platz oben/unten */
    }
}