/* Allgemeines Styling */

/* Insta embed */
.gallery iframe {
 
  
}




.scroll{
display: none;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* Verhindert Scrollen */
}
.body{
    background-color: #ffffff;
    color: rgb(255, 255, 255);
}
/* Video-Hintergrund */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Hinter den anderen Elementen */
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Passt das Video an, ohne das Seitenverhältnis zu verzerren */
}

/* Inhalt */
.content {
    position: relative;
    width: 100%;
    height: 100%;
}

.top-left {
    position: absolute;
    top: 40px;
    left: 40px;
    text-align: left;
    color: #000000; /* Textfarbe auf Schwarz gesetzt */
}



h1 {
    font-size: 10em;
    margin: 0;
    color: #000000; /* Textfarbe Schwarz */
    line-height: 0.6;
}

.bold-font {
    font-weight: 900;
}

.light-font {
    font-weight: 150;
}

.small-font {
    font-size: 0.7em;
}

.new-button {
    padding: 20px 40px;
    font-size: 1.5em;
    background-color: rgb(0 0 0); 
    color: #ffffff; /* Weißer Text für den Button */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.new-button:hover {
    background-color: #450041;
}
h1.Seitentitel > span.Seitentitel {
    color: black; /* Beispiel: Schwarze Schriftfarbe */
    font-weight: bold; /* Beispiel: Fettschrift */
    line-height: 1;
}

/* Menü-Styling */

.top-left {
    top: 8vh; /* 5% der Höhe des Viewports */
    left: 5vw; /* 5% der Breite des Viewports */
}

.top-right {
    top: 8vh; /* 5% der Höhe des Viewports */
    right: 5vw; /* 5% der Breite des Viewports */
}

.bottom-left {
    bottom: 8vh; /* 5% der Höhe des Viewports */
    left: 5vw; /* 5% der Breite des Viewports */
}

.bottom-right {
    bottom: 8vh; /* 5% der Höhe des Viewports */
    right: 5vw; /* 5% der Breite des Viewports */
}
.menu-item {
    position: absolute;
    font-size: 6em; /* Größere Schrift */
    font-weight: bold;
    color: #000000; /* Schwarzer Text */
    text-decoration: none; /* Kein Unterstrich */
    transition: color 0.3s, transform 0.2s; /* Effekt für Hover */
    
}

.menu-item:hover  {
    color: #450041; /* Ändert die Farbe beim Hover */
    transform: scale(1.1); /* Leichter Zoom-Effekt */
}


/*Projects Page*/


/* NEUER CODE FÜR NEUE PROJECTS SUBPAGES */

.gallery {
    padding: 2rem;
    text-align: center;
}

.gallery h2 {
    margin-bottom: 1.5rem;
}

/* Responsive Grid */
.gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Einheitliche Bildgröße (4:3) */
.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 6;  /* sorgt für 4:3-Format */
    object-fit: cover;    /* füllt das Format ohne Verzerrung */
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.02);
}




/* Video-Hintergrund bleibt fixiert */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Hinter den anderen Elementen */
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Galerie-Styling */
.gallery {
    padding: 5vh 5vw; /* Abstand zur Seite */
    padding-top: 50vh;
}

.carousel {
    margin-bottom: 10vh; /* Abstand zwischen Karussells */
}

.carousel h2 {
    font-size: 2em;
    margin-bottom: 1em;
    color: black;
}

.carousel-track {
    display: flex;
    gap: 1em; /* Abstand zwischen Bildern */
    overflow-x: auto; /* Horizontales Scrollen ermöglichen */
    scroll-snap-type: x mandatory; /* Snap-Effekt */
}


.foto-about{
width: 20%;
}

.about-me-text{
	font-size: 2em;
    color: black;
  background-color: rgba(255, 255, 255, 0.5);
  text-align: left;
}

/* Layout für Scrollen aktivieren */
body {
    overflow-y: scroll; /* Scrollen aktivieren */
    height: auto; /* Höhe dynamisch anpassen */
}

/* Menü-Seite spezifisch */
body.menu-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden; /* Kein Scrollen für die Menü-Seite */
}

/* Inhalt in der Menü-Seite */
body.menu-page .content {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Sicherstellen, dass Video-Hintergrund korrekt angezeigt wird */
body.menu-page .video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.bottom-right {
    position: absolute;
    bottom: 10vh; /* Statt 40px */
    right: 10vw; /* Statt 40px */
    z-index: 10; /* Sicherstellen, dass der Button über dem Video liegt */
}


/* Styling für den Button */
.new-button {
    display: inline-block;
    padding: 20px 50px;
    font-size: 1.5em;
    background-color: rgb(0, 0, 0); 
    color: #ffffff; /* Weißer Text */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none; /* Entfernt Unterstreichung */
    transition: background-color 0.3s, transform 0.2s;
}

.new-button:hover {
    background-color: #450041; /* Hover-Farbe */
    transform: scale(1.1); /* Vergrößerungseffekt */
}
.button-container {
    position: absolute !important; /* Ermöglicht absolute Positionierung */
    bottom: 8vh;       /* Abstand vom unteren Rand */
    right: 8vw;        /* Abstand vom rechten Rand */
    z-index: 10;       /* Sicherstellen, dass der Button über anderen Elementen liegt */
}

/* Neuer Button */
.action-container {
    position: absolute;
    bottom: 5vh;
    right: 5vh;
}

.primary-action-button {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    padding: 20px 35px;
    font-size: 2.2em;
    transition: all 0.5s ease-in-out; /* Transition für Standardzustand */
    transition: 0.3s ease;
}
.knopf{}
.primary-action-button:hover {
    background-color: #450041;
    transform: scale(1.1); /* Leichter Zoom-Effekt */
}




.carousel-item {
    flex: 0 0 auto; /* Verhindert, dass Bilder sich dehnen */
    max-width: 100%; /* Maximale Breite des Containers */
    height: auto; /* Automatische Höhe basierend auf dem Seitenverhältnis */
    object-fit: cover; /* Verhindert Verzerrungen */
    scroll-snap-align: center; /* Zentrierter Snap-Effekt */

}
.carousel-item {
    flex: 0 0 auto; /* Verhindert, dass Bilder sich dehnen */
    width: 40vh; /* Breite der Bilder */
    height: 60vh; /* Höhe der Bilder */
    object-fit: cover; /* Bilder anpassen */
    scroll-snap-align: center; /* Zentrierter Snap */
    border-radius: 10px;
}




/* Hintergrund-Foto-Styling */
.Foto-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Hinter den anderen Elementen */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Verhindert Scrollen bei großen Bildern */
}

.Foto-background img {
    width: 200vh;
    height: 200vh;
    object-fit: cover; /* Bild füllt den Container ohne Verzerrung */
}




/* Responsive Design für Tablets und Desktop */
@media (max-width: 768px)  {
    .Seitentitel {
        font-size: 2.5rem;
	margin-bottom: 0.5rem !important; /* Reduziert den Abstand unterhalb des Titels */
    }

    .carousel-item {
        width: 80vh;
		height: 60vh;
    }
  .carousel{
  padding-top: 90px;
  }
  .gallery-grid{
    padding-top: 180px;
  }
      
.top-left {
    margin-bottom: 1rem; /* Reduziert den Abstand zum nächsten Element */
}
.gallery{
padding-top: 15vh;
}
 
  .about-me-text{
  font-size: 20px;
	padding-top: 70px;
	font-weight: 500;
	background-color: rgba(255, 255, 255, 0.5);
  }
  /*CONTACT PAGE*/
  .contact{
padding-top:30vh;
	padding-bottom:23vh;
}
  

.menu-item {
        position: static; /* Menüpunkte untereinander anordnen */
        display: block;
        font-size: 3em; /* Kleinere Schriftgröße */
        margin: 20px 0; /* Abstand zwischen den Menüpunkten */
        text-align: center; /* Zentrierter Text */
  
    }
  
  /* Menü-Container zentrieren */
.menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Ganze Höhe des Bildschirms nutzen */
    text-align: center;
}
 .scroll{
display: block;
	font-weight: 500;
	font-style: italic;
}
 
  
  /* "Projects" auf 80px setzen */
.project-title .Seitentitel:first-of-type {
    font-size: 70px;
	
}

/* "Max Bauer" auf 60px setzen */
.project-title .light-font.small-font {
    font-size: 50px;
	line-height: 60px;
}  

  
}


@media (min-width: 900px) {
    .gallery {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    #posts{
        display: flex;
        flex-direction: row !important;
        
    }

    .carousel {
        flex: 1 1 calc(50% - 2rem);
    }



}