@font-face {
  font-family: "Raleway";
  src: url("Fonts/Raleway-Regular.ttf");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Raleway";
  src: url("Fonts/Raleway-Thin.ttf");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Raleway";
  src: url("Fonts/Raleway-Italic.ttf");
  font-weight: 100;
  font-style: italic;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #000000;
  font-family: "Raleway", sans-serif;
}

main {
  flex: 1;
}

h1 {
  color: #ffffff;
  padding: 30px;
  text-align: center;
  font-weight: 600;
}

h2 {
  color: #ffffff;
  padding: 30px;
  text-align: center;
  font-weight: 600;
}

.small-text {
  font-size: 12px;
}

p {
  color: #ffffff;
  padding: 0;
  margin: 0;
  line-height: 1.7;
  font-size: 16px;
}

a {
  color: rgb(122, 164, 255);
}

img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: cover;
}


/* Burger-Menü-Icon: Standardmäßig versteckt */
#burger-menu {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1001;
}

nav {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 100;
  font-weight: 300;
  width: 100%;
  background-color: #000000;
  height: 70px;
}

nav ul {
  display: flex;
  align-items: center;
  width: 100%;
  list-style-type: none;
  justify-content: center;
  padding: 20px 20px;
}

nav li:first-child {
  margin-right: auto;
}

nav li:last-child {
  margin-left: auto;
}

nav li a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 20px;
  text-decoration: none;
  color: white;
  text-align: center;
}

.active {
  font-weight: 500;
}

li a:hover {
  font-weight: 500;
}

li a,
.dropbtn {
  display: inline-block;
  padding: 14px 16px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #000000;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: rgb(255, 255, 255);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown:hover .dropdown-content {
  display: inline;
}

.sub-dropdown {
  position: relative;
}

.sub-dropdown-content {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background-color: #000;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  z-index: 1;
  white-space: nowrap;
}

.sub-dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.sub-dropdown:hover .sub-dropdown-content {
  display: block;
}

/* optional: entfernt den Pfeil bei submenus, falls durch browser erzeugt */
.sub-dropbtn::after {
  content: none !important;
}


footer {
  color: #ffffff;
  background-color: #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 55px;
  position: relative;
  /* Der Footer bleibt relativ zum normalen Fluss */
  width: 100%;
  margin-top: auto;
  /* Fügt dem Footer eine automatische Positionierung am Ende des Inhalts hinzu */
}

.column-left-footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 20px;
}

.column-right-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 40px;
  /* Abstand zwischen Text und Icon */
  padding-right: 20px;
}

footer img {
  width: 25px;
  height: 25px;
}

/* -------------------------------- Index-Seite -------------------------------- */

#frontfont {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Bild im Hintergrund */
#frontfont img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay */
#frontfont::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  /* Helligkeit anpassen (0.4 = 40% Schwarz) */
  z-index: 1;
}

.moving-text,
.subtext {
  z-index: 2;
}

.moving-text {
  color: #ffffff;
  font-size: 7vw;
  display: flex;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  user-select: none;
  font-weight: 300;
}

.wrapper {
  padding-left: 1.2vw;
  padding-right: 1.2vw;
  padding-top: 1.2vw;
}

.wrapper .letter {
  transition: ease-out 1s;
  transform: translateY(40%);
}

.wrapper .shadow {
  transform: scale(1, -1);
  color: #99999971;
  transition: ease-in 1s, ease-out 1s;
}

.wrapper:hover .letter {
  transform: translateY(-70%);
}

.wrapper:hover .shadow {
  opacity: 0;
  transform: translateY(40%);
}

.subtext {
  position: absolute;
  top: 72%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.6vw;
  font-weight: 300;
  text-align: center;
  user-select: none;
  line-height: 1.4;
  transition: opacity 0.6s ease;
  padding: 1%;
}


.container {
  display: flex;
  padding-top: 4%;
  flex-wrap: wrap;
  /* Ermöglicht das Umfließen der Kacheln */
  max-width: 60%;
  /* Maximale Breite des Containers */
  width: 100%;
  /* Damit der Container nicht größer als 100% wird */
  margin: 0 auto;
  /* Zentriert den Container horizontal */
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 4%;
}

.item {
  padding: 15px 0px;
  text-align: center;
}

/* Für die zweite Zeile mit nur zwei Kacheln */
.container .item:nth-child(2),
.container .item:nth-child(3) {
  flex-basis: calc(50% - 20px);
  /* Jede der Kacheln in der zweiten Reihe nimmt 50% der Breite ein */
}

/* Für die dritte Reihe */
.container .item:nth-child(4),
.container .item:nth-child(5),
.container .item:nth-child(6) {
  flex-basis: calc(33.33% - 30px);
  /* Jede der Kacheln in der dritten Reihe nimmt 1/3 der Breite ein */
}

#acceptance .tile h1 {
  font-size: 3rem;
  /* Nur Film größer */
}

.tile {
  position: relative;
  overflow: hidden;
  background-color: transparent;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, filter 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
  opacity: 1;
  filter: brightness(80%);
}

.tile h1 {
  position: absolute;
  padding: 2%;
  color: white;
  text-shadow: 0px 0px 10px rgb(0, 0, 0);
  text-align: center;
  z-index: 1;
  font-size: 2rem;
  /* Größe nach Belieben anpassen */
  font-weight: bold;
  margin: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tile:hover {
  transform: scale(1.05);
  filter: brightness(100%);
}

.tile:hover img {
  filter: grayscale(0%);
}

/* -------------------------------- z. B. Filmseite -------------------------------- */
.overall {
  width: 80%;
  /* Container bleibt bei 80% der Gesamtbreite */
  max-width: 1600px;
  /* Maximale Breite für größere Bildschirme */
  margin: 0 auto;
  /* Zentriert den Container */
}

.chapter-heading-film h2 {
  text-align: start;
  /* Überschrift links ausrichten */
  padding-top: 2%;
  /* Kein zusätzliches Padding oben */
  margin: 0;
  /* Entfernt jegliche Standard-Margen */
  padding-left: 0%;
}

#film h2 {
  padding-top: 0%;
  /* Ändert das Padding nur für das h2 im #film */
}

.video-container {
  display: flex;
  align-items: center;
  /* Video und Text oben ausrichten */
  gap: 50px;
  /* Abstand zwischen Video und Text */
  width: 100%;
  padding-bottom: 6%;
  /* Optionaler Abstand nach unten */
}

.video-container iframe,
.video-container video {
  width: 60%;
  /* Video nimmt 60% der Containerbreite ein */
  aspect-ratio: 16/9;
  /* Beibehaltung des Seitenverhältnisses */
  height: auto;
  /* Höhe wird automatisch angepasst */
}

.video-container div {
  width: 40%;
  /* Textbereich nimmt 40% der Containerbreite ein */
  max-width: 600px;
  /* Maximale Breite für den Textbereich */
}

.info-box {
  width: 100%;
  display: flex;
  color: white;
  margin-top: 45px;
  gap: 20px;
  text-align: left;
  align-items: left;
  line-height: 2;
  font-size: 13px;
}


/* -------------------------------- Slider Grundstruktur -------------------------------- */

.slider {
  height: 90vh;
  margin-top: 0px;
  position: relative;
}

.item {
  padding: 0;
  text-align: center;
}

.slider .list .item {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.5s;
  max-height: 100vh;
}

.slider .list .item.active {
  opacity: 1;
  z-index: 10;
}

.slider .list .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider .list .item::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, #000 40%, transparent);
}

/* -------------------------------- Slider Content -------------------------------- */

.slider .list .item .content {
  position: absolute;
  left: 8%;
  top: 10%;
  width: 500px;
  max-width: 80%;
  z-index: 1;
}

.slider .list .item .content p:nth-child(1) {
  text-transform: uppercase;
  letter-spacing: 10px;
  text-align: start;
  padding: 0 35px;
}

.slider .list .item .content h2 {
  font-size: 60px;
  margin: 0;
  width: 600px;
  text-align: start;
}

/* -------------------------------- Show More Button -------------------------------- */

.slider .list .item.active .show-more {
  position: absolute;
  display: inline-block;
  padding: 10px 20px;
  background-color: white;
  color: black;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  left: 30px;
  opacity: 0;
  transform: translateY(30px);
  transition: background-color 0.3s ease;
  animation: showContent 0.5s 1.5s ease-in-out forwards;
}

/* Hover Effekt für Show More */
.slider .list .item.active .show-more:hover {
  scale: 1.1;
}

/* Show More unsichtbar bei inaktiven Items */
.slider .list .item:not(.active) .show-more {
  opacity: 0;
  visibility: hidden;
}

/* -------------------------------- Animations für Content -------------------------------- */

@keyframes showContent {
  to {
    transform: translateY(0);
    filter: blur(0);
    opacity: 1;
  }
}

.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3),
.slider .list .item.active .show-more {
  transform: translateY(30px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent 0.5s 0.7s ease-in-out forwards;
}

.slider .list .item.active h2 {
  animation-delay: 1s;
}

.slider .list .item.active p:nth-child(3) {
  animation-delay: 1.3s;
}

/* -------------------------------- Navigation Arrows -------------------------------- */

.arrows {
  position: absolute;
  top: 10%;
  right: 50px;
  z-index: 100;
}

.arrows button {
  background-color: #eee5;
  border: none;
  font-family: monospace;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  font-size: x-large;
  color: #eee;
  transition: 0.5s;
}

.arrows button:hover {
  background-color: #eee;
  color: black;
}

/* -------------------------------- Thumbnail Bereich -------------------------------- */

.thumbnail {
  position: absolute;
  bottom: 40px;
  z-index: 11;
  display: flex;
  gap: 10px;
  width: 100%;
  height: 250px;
  box-sizing: border-box;
  overflow: auto;
  justify-content: center;
}

.thumbnail::-webkit-scrollbar {
  width: 0;
}

.thumbnail .item {
  width: 150px;
  height: 220px;
  filter: brightness(0.5);
  transition: 0.5s;
  flex-shrink: 0;
  position: relative;
}

.thumbnail .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.thumbnail .item.active,
.thumbnail .item:hover {
  filter: brightness(1.5);
}

.thumbnail .item .content {
  position: absolute;
  inset: auto 1px 12px 1px;
  color: white;
  z-index: 1;
  font-size: 15px;
}

.thumbnail .item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

/* -------------------------------- Photography -------------------------------- */
.overall-photo {
  width: 70%;
  /* Container bleibt bei 80% der Gesamtbreite */
  max-width: 1600px;
  /* Maximale Breite für größere Bildschirme */
  margin: 0 auto;
  /* Zentriert den Container */
}

.chapter-heading h2 {
  padding-top: 4%;
  text-align: start;
  padding-left: 2%;
}

#photo h2 {
  padding-top: 0%;
  /* Ändert das Padding nur für das h2 im #photo */
}

.photo-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  gap: 30px;
}

.margin-bottom {
  margin-bottom: 6%;
}

.margin-bottom-alternate {
  margin-bottom: 3%;
}

.margin-top {
  margin-top: 1%;
}

/* Standardbilder im Container */
.photo-container img {
  width: calc(33.33% - 30px);
  /* 3 Bilder in einer Reihe mit Abstand */
  height: auto;
}

/* Links um die Bilder */
.photo-container a {
  display: inline-flex;
  justify-content: center;
  text-align: center;
  width: calc(33.33% - 30px);
  margin: 0;
}

/* Bilder innerhalb der Links */
.photo-container a img {
  width: 100%;
  height: auto;
}

/* Breite Bilder (z.B. für größere Formate) */
.photo-container img.wide,
.photo-container a.wide {
  width: calc(66.66% - 30px);
  /* doppelte Breite */
}

/* Bilder innerhalb breiter Links */
.photo-container a.wide img .photo-container a.half img {
  width: 100%;
}

.photo-container a.half {
  width: calc(50% - 30px);
}


/* Bildunterschriften */
.caption-container {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.caption-container p {
  font-size: 13px;
  margin-top: 0;
  line-height: 2;
}

.left-info-box {
  width: 100%;
  text-align: left;
}

.right-info-box {
  width: 100%;
  text-align: right;
}

.center-info-box {
  width: 100%;
  text-align: center;
}

.left-info-box p {
  font-size: 13px;
  margin-top: -2%;
  line-height: 2;
  padding-bottom: 3%;
}

.right-info-box p {
  font-size: 13px;
  margin-top: -2%;
  line-height: 2;
  padding-bottom: 3%;
}

.center-info-box p {
  font-size: 13px;
  margin-top: -2%;
  line-height: 2;
  padding-bottom: 3%;
}

.container-uni {
  display: flex;
  margin: 0 auto;
  padding-bottom: 2%;
}

#frau-welte-container {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
  /* Zentriert das Bild und den Text horizontal */
  text-align: left;
  /* Optional: Wenn du möchtest, dass der Text linksbündig bleibt */
}

#frau-welte-container img {
  max-width: 100%;
  height: auto;
}

#frau-welte-container p {
  width: calc(50% - 30px);
  line-height: 1.5;
  font-size: 16px;
}

.welte {
  color: #666666;
}


/* -------------------------------- Graphic -------------------------------- */

.container-graphic {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 60%;
  margin: 0 auto;
  gap: 30px;
  padding-bottom: 5%;
  align-items: center;
}

.container-graphic a {
  flex: 2;
  max-width: 50%;
}

.container-graphic p {
  flex: 1;
}

/* Für deine speziellen halben Bilder */
.photo-container a.half-width {
  flex: 0 0 calc(50% - 15px);
  /* 15px, weil 2x Gap 30px geteilt auf beide Seiten */
}

.half-width {
  width: calc(50% - 30px);
}

/* -------------------------------- AboutMe -------------------------------- */

.aboutMe-body::before {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url(Media/Container.jpg);
  filter: grayscale(100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.aboutMe-flex-container {
  display: flex;
  gap: 100px;
  padding: 40px;
  flex-wrap: wrap;
  justify-content: center;
  /* Neu: zentriert beide Elemente horizontal */
  align-items: center;
  /* Optional: vertikale Zentrierung */
  max-width: 1150px;
  margin: 0 auto;
}

.aboutMe-image {
  max-width: 400px;
  /* oder was gut passt */
  height: auto;
}

.container-aboutMe {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40%;
  max-width: 900px;
  padding: 50px 0px;
  /* margin-left / margin-right entfernen */
  flex: 1;
  min-width: 300px;
}

.text-aboutMe h1 {
  padding: 0px;
  text-align: center;
}

.text-aboutMe {
  color: #ffffff;
  line-height: 1.8;
  font-size: 1.1vw;
  padding: 0 5%;
  padding-bottom: 5%;
  background: rgba(0, 0, 0, 0.42);
  /* Glas-Effekt */
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* -------------------------------- Impressum -------------------------------- */

.impressum-section {
  width: 60%;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 4%;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.impressum-row {
  display: flex;
  gap: 90px;
}

.impressum-title {
  width: 30%;
  font-style: italic;
  font-weight: 100;
  color: #ffffff;
  line-height: 1.6;
}

.impressum-text {
  width: 60%;
  color: #ffffff;
  line-height: 1.6;
}

.impressum {
  color: #ffffff;
  text-decoration: none;
}

/* -------------------------------- Media Queries -------------------------------- */


/* Größere Bildschirme (ab 1920px) */
@media (min-width: 1920px) {

  .small-text {
    font-size: 14px;
  }

  p {
    font-size: 20px;
  }

  .container {
    max-width: 55%;
  }

  .info-column {
    flex: 1;
    font-size: 15px;
  }

  .arrows {
    right: 8%;
  }

  .thumbnail {
    gap: 10px;
    height: 440px;
  }

  .thumbnail .item {
    width: 300px;
    height: 400px;
  }

  .thumbnail .item .content {
    inset: auto 1px 25px 1px;
    font-size: 25px;
  }

  .overall-photo {
    width: 70%;
  }

  .caption-container p {
    font-size: 14px;
  }

  #frau-welte-container p {
    font-size: 20px;
  }

  .container-graphic {
    width: 50%;
    padding-bottom: 3%;
  }

  .container-graphic p {
    font-size: 20px;
  }

  .margin-top {
    margin-top: 2%;
  }

  .aboutMe-flex-container {
    gap: 120px;
    padding: 2%;
    max-width: 1650px;
    align-items: center;

  }

  .aboutMe-image {
    max-width: 700px;
  }

  .impressum-section {
    max-width: 1100px;
    gap: 80px;
  }

}