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

body {
  background-color: #063bff;
  font-family: Arial, sans-serif;
  height: 100vh;
  overflow: auto;
  position: relative;
}

/* Container hält Bild + Links */
.container {
  width: 100vw;
  height: 100vh;
  position: relative;
}

/* Bild mit Transparenz */
.full-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
  pointer-events: none; /* Bild ist durchklickbar */
}

/* Navigationslinks */
.nav-link {
  position: absolute;
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* Platzierungen (anpassen nach Bedarf) */
.link-work {
  top: 35%;
  left: 48%;
}

.link-about {
  top: 65%;
  left: 26%;
}

.link-contact {
  top: 80%;
  left: 68%;
}

.link-3Fragezeichen {
  top: 50%;
  left: 80%;
}

.link-videos {
  top: 24%;
  left: 48%;
}

.page-content {
  padding: 40px;
  color: white;
  background-color: #063bff;
  min-height: 100vh;
}

.page-content h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

/* Künstlername */
.artist-name {
  position: absolute;
  top: 10%;
  left: 3%;
  color: white;
  font-size: 30px;
  font-weight: bold;
  z-index: 1;
}

/* Artist Statement */
.artist-statement {
  font-size: 14px;
  line-height: 1.2;
  max-width: 600px;  /* Der Text läuft nur bis zur Mitte */
  margin: 0 auto 30px;  /* Zentriert den Text mit Abstand nach unten */
}

/* CV */
.cv {
  font-size: 16px;
  line-height: 1.4;
  max-width: 800px;  /* Der Text läuft nur bis zur Mitte */
  margin: 30px auto 30px;  /* Abstände nach oben und unten */
}

/* ABOUT SCHRIFT */
.about {
  position: absolute;
  top: 5%;
  left: 23%;
  color: white;
  font-size: 30px;
  font-weight: bold;
  z-index: 1;
}

/* NO MORE ROBIN */
.Frage3 {
  position: absolute;
  top: 40%;
  left: 25%;
  color: #ff0000;
  font-size: 50px;
  font-weight: bold;
  z-index: 1;
}

/* Grund-Layout für die Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Spalten im Desktop */
  gap: 20px; /* Abstand zwischen den Bildern */
  margin-top: 20px; /* Abstand zum oberen Bereich */
  padding: 20px;
}

/* Gallery Item */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
}

/* Vimeo-Container */
.vimeo-container {
  position: relative;
  overflow: hidden;
  padding-bottom: 56.25%;
  height: 0;
}

.vimeo-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}

/* Hover-Effekt für das Bild */
.gallery-item img {
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease; /* Übergang für das Bild */
  display: block; /* Entfernt mögliche Zwischenräume unter dem Bild */
}

/* Overlay-Box */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6); /* Halbdurchsichtiger Hintergrund */
  opacity: 0; /* Anfangs unsichtbar */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: white;
  padding: 20px;
  transition: opacity 0.3s ease; /* Übergang für das Overlay */
  box-sizing: border-box; /* Damit Padding das Bild nicht überläuft */
}

/* Hover-Effekt: Bild wird milchig und Overlay erscheint */
.gallery-item:hover img {
  opacity: 0.7; /* Bild wird milchig */
}

.gallery-item:hover .overlay {
  opacity: 1; /* Text erscheint, wenn über das Bild gehovt wird */
}

/* Text-Stil für Titel und Details */
.title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.details {
  font-size: 16px;
}

/* Kein Overlay-Effekt auf Videos */
.gallery-item.video-item .overlay {
  display: none; /* Keine Overlay-Anzeige bei Videos */
}

/* Anpassungen für mobile Geräte (max-width: 768px) */
@media screen and (max-width: 768px) {
  /* Der Container bleibt unverändert */
  .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
    position: relative;
  }

  /* Der Künstlername bleibt oben links */
  .artist-name {
    position: absolute;
    top: 27%;
    left: 50%;
    color: white;
    font-size: 18px;
    font-weight: bold;
    z-index: 1; /* Stellt sicher, dass der Name über dem Bild bleibt */
  }

  /* Das Hintergrundbild wird zentriert und bleibt mittig */
  .full-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Zentriert das Bild sowohl horizontal als auch vertikal */
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 0; /* Bild hinter allem anderen */
  }

  /* Platzierung der Links auf der gleichen Höhe wie der "about"-Link */
  .nav {
    position: absolute;
    top: 60%; /* Die Höhe der Links auf der gleichen Höhe wie der "about"-Link */
    display: flex;
    justify-content: center; /* Links werden horizontal zentriert */
    width: 100%; /* Breite des Containers */
  }

  /* Die Links werden mit Abstand zueinander platziert */
  .nav-link {
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    margin: 0 20px; /* Abstand zwischen den Links */
    z-index: 1; /* Links bleiben vor dem Bild */
  }

  .nav-link:hover {
    opacity: 0.7;
    text-decoration: underline;
  }

/* Platzierungen (anpassen nach Bedarf) */
.link-work {
  top: 70%;
  left: 18%;
}

.link-about {
  top: 70%;
  left: 2%;
}

.link-contact {
  top: 70%;
  left: 35%;
}

.link-3Fragezeichen {
  top: 80%;
  left: 80%;
}

.link-videos {
  top: 70%;
  left: 57%;
}

/* ABOUT SCHRIFT */
.about {
  position: absolute;
  top: 1%;
  left: 10%;
  color: white;
  font-size: 20px;
  font-weight: bold;
  z-index: 1;
}

}