body {
  margin: 0;
  height: 100%;
  min-height: 100vh;
  overflow-x: hidden; /* verhindert horizontales Scrollen */
  font-size: 15pt;
  color: var(--color1);
}

.container {
  display: flex;
  min-height: 100vh;
}

.image-section {
  height: 100vh;
  max-width: 1000px;
  flex-shrink: 0; /* verhindert, dass das Bild kleiner wird */
  overflow: hidden;
}

.image-section img {
  height: 100vh;
  width: auto;
  max-width: 100%;
  display: block;
  user-select: none;
  pointer-events: none;
}

.text-section {
  flex: 1;
  max-height: 100vh;
  overflow-y: auto;
  background-color: var(--color4);
  color: var(--fontColor);
  padding: 60px;
  display: flex;
  flex-direction: column;
}

.text-section h1 {
  font-weight: 300;
  margin: 0;
}

.text-section h5{
font-size: 1.1rem;
  font-weight: 400;
  padding: 0;
  margin: 0;
   line-height: 1.5;
}
.text-section p {
  font-size: 1.1rem;
  font-weight: 400;
  padding: 0;
  margin: 0;
   line-height: 1.5;
}

.spacer{
  display: block;
  content: "";
  height: 15px;
}

.close-button {
  position: fixed;
  top: 20px;
  right: 40px;
  border: 1px solid var(--fontColor);
  padding: 10px;
  padding-bottom: 5px;
  border-radius: 100px;
  transition: 0.5s;
  z-index: 5;
}

.close-button:hover {
  border: 1px solid black;
}

.image-section-one {
  animation: imagereel 4s ease infinite;
}

.image-section-two {
  animation: imagereel 4s ease infinite;
  animation-delay: 2s;
  transform: translateY(-100%);
}

@keyframes imagereel {
  0%, 50% {opacity: 1;}
  55%, 95% {opacity: 0;}
  100% {opacity: 1;}
}
