html, body {
  height: 100%;
  margin: 0;
}

body {
  padding-top: 6.5rem;
  padding-bottom: 5rem;
}


.slideshow {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s linear;
}

.banner {
  top: 1rem;
  height: 3.5rem;
  margin-inline: auto;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  max-width: 800px;
  padding: 1.5rem;
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 0.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
}

.banner img {
  display: block;
  max-height: 3rem;
  width: auto;
  object-fit: contain;
}

@media (max-width: 800px) {
  .banner {
	width: 90vw; 
    max-width: none;
  }
}
  
.content {
  position: fixed;
  top: 8.5rem;
  bottom: 5.5rem;
  overflow-y: auto;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  max-width: 800px;
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 0.2rem;
  color: #fff;
  font-size: 1.4rem;
  font-family: "Palatino", Times, serif;
  padding: 0.5rem 1.5rem;
  text-align: justify;
  line-height: 1.1;
}

.content::-webkit-scrollbar {
  width: 8px;
}

.content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
}

.content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.6);
}

.content {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.4) rgba(255,255,255,0.1);
}

.content p { padding-bottom: 0.25rem }

.content h1 { font-size: 1.3rem }
.content h2 { font-size: 1.2rem }
.content h3 { font-size: 1.1rem }
.content h4 { font-size: 1.0rem }

@media (max-width: 800px) {
  .content {
    width: 90vw;
    max-width: none;
    font-size: 1.2rem;
  }
}

/* Sprach-Switch Container rechts im Banner */
.lang-switch {
  position: absolute;
  right: 1rem;
  top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.9rem;
  font-family: Arial, sans-serif;
}

/* Toggle-Switch Basis */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Slider-Hintergrund */
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255,255,255,0.4);
  transition: .4s;
  border-radius: 34px;
}

/* Der kleine Kreis */
.slider:before {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: rgba(0,120,255,0.8);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

/* Sprachlabel */
.lang-label {
  letter-spacing: 1px;
}


.footer {
  height: 1.5rem;
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 60vw;
  max-width: 800px;
  padding: 1rem 1.5rem;
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 0.2rem;
  text-align: center;
  color: #fff;
  font-size: 1rem;
  font-family: "Palatino", Times, serif;
}

.footer a {
  color: #fff;
  text-decoration: none;
  padding: 0 0.3rem;
  transition: color 0.2s;
}

.footer a:hover {
  color: #a0c8ff;
}

.separator {
  margin: 0 0.3rem;
  opacity: 0.7;
}

@media (max-width: 800px) {
  .footer {
    width: 90vw;
    max-width: none;
    font-size: 0.9rem;
  }
}
