@keyframes waber-opacity {
  0%, 100% {
    opacity: 0.0;
  }
  50% {
    opacity: 0.5;
  }
}

/*.logo {
  animation: waber-opacity 12s ease-in-out infinite;
}*/
body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background-image: url('src/bg.jpg'); /* Hier dein Hintergrundbild */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  position: relative;
}

main {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

main .logo {
  max-width: 90%;
  max-height: 90%;
  opacity: 0.0;
  pointer-events: auto;
  /* animation: waber-opacity 12s ease-in-out infinite; */
}

.corner-button {
  position: fixed;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  width: 30vw;
  height: 30vw;
  max-width: 160px;
  max-height: 160px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.corner-button:hover {
  transform: scale(1.05);
  animation: none;
  opacity: 0.8;
}

.button-icon {
  width: 100%;
  height: auto;
  display: block;
}


.top-left {
  top: 0;
  left: 0;
}

.top-right {
  top: 0;
  right: 0;
}

.bottom-left {
  bottom: 0;
  left: 0;
}

.bottom-right {
  bottom: 0;
  right: 0;
}

.logo {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  max-width: 90%;
  max-height: 90%;
  pointer-events: auto;
}

/* Wenn einer der Buttons (irgendwelcher) hovered wird, Logo sichtbar machen */
.corner-button:hover ~ main .logo,
.corner-button:focus ~ main .logo {
  opacity: 1;
}

/* Beide Blöcke erstmal verstecken */
.pdf-desktop,
.pdf-mobile {
  display: none;
}

/* Nur auf großen Bildschirmen: iframe zeigen */
@media (min-width: 768px) {
  .pdf-desktop {
    display: block;
  }
}

/* Nur auf kleinen Bildschirmen: Link zeigen */
@media (max-width: 767px) {
  .pdf-mobile {
    display: block;
    padding: 2rem;
    font-size: 1.2rem;
  }
}
@media (max-width: 600px) {
  .corner-button {
    width: 20vw;
    height: 20vw;
    max-width: 80px;
    max-height: 80px;
  }
}

