


body {
  background-image: url("bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-size: 2rem;

}

nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 26px;
  font-size: 1.2rem;
}

.pink {
  color: #ff1493;
  text-shadow: 3px 3px 4px #0c991f
  ;
}

nav,
nav a {
  color: #39ff14;
  text-shadow: 3px 3px 4px #700b6b;
}

.galerie-bereich {
  margin-top: 32px;
  overflow-x: auto;
}

.galerie {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  max-width: 1440px;
}

.galerie a {
  flex: 0 0 calc((100% - 60px) / 4);
  aspect-ratio: 1 / 1;
  background-color: #242424;
  transition: transform 0.2s ease;
}


.galerie img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.galerie a {
  transition: transform 0.2s ease;
}

.galerie a:hover,
.galerie a:focus-visible {
  transform: scale(1.05);
  z-index: 1;
  outline: 2px solid #ff1493;
}

.galerie-jahr {
  flex: 0 0 100%;
  margin: 24px 0 0;
  color: #ff1493;
  font-size: 2rem;
  text-shadow: 3px 3px 4px #0c991f;
}


.diashow-start {
  display: inline-block;
  padding: 10px 16px;
  font-size: 2rem;
  font-weight: bold;
  color: #ff1493;
  text-shadow: 3px 3px 4px #0c991f;
}

#diashow {
  display: none;
}

#diashow:target {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background-color: #111;
}

#diashow > a {
  justify-self: end;
  padding: 12px 20px;
  color: #39ff14;
}

.diashow-fenster {
  position: relative;
  overflow: hidden;
}

.diashow-fenster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: durchwischen 164s linear var(--start) infinite;
}

@keyframes durchwischen {
  0% {
    opacity: 1;
    transform: translateX(100%);
  }

  0.3%, 2.14% {
    opacity: 1;
    transform: translateX(0);
  }

  2.439% {
    opacity: 1;
    transform: translateX(-100%);
  }

  2.44%, 100% {
    opacity: 0;
    transform: translateX(-100%);
  }
}


.titelzeile {
  display: flex;
  align-items: baseline;
  gap: 160px;
}

.titelzeile h1 {
  margin: 0;
}

.titelzeile .diashow-start {
  padding: 0;
}

.untertitel {
  margin: 1px 0 0;
}

.galerie-bereich {
  margin-top: 11px;
}

.galerie-jahr:first-child {
  margin-top: 8px;
}


body {
  min-height: 100vh;
  background-color: rgb(69, 79, 83);
  background-image: linear-gradient(135deg, rgb(46, 58, 17), #3b0969);
  background-attachment: fixed;
}
