body {
    background-color: #f0f0f0;
    font-family: sans-serif;
  }
  
  .slide-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 25px;
    align-items: center;
  }
  
  .slide-text {
    display: flex;
    align-items: center;
    justify-content: center; /* Bild und Text in der Mitte */
    opacity: 0;
    transform: translateX(-300px);
    animation: slideIn 1.5s ease forwards;
  
    background-color: #ffffff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    width: 50%;
    gap: 20px;
  }
  
  /* Bild Styling */
  .slide-text img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  /* Text Styling */
  .slide-text span {
    font-size: 20px;
    font-weight: bold;
  }
  
  /* Verzögerung für jeden Textblock */
  .slide-text:nth-child(1) {
    animation-delay: 0s;
  }
  
  .slide-text:nth-child(2) {
    animation-delay: 1s;
  }
  
  .slide-text:nth-child(3) {
    animation-delay: 2s;
  }
  
  @keyframes slideIn {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Media Query: nur width verändern */
@media (max-width: 600px) {
    .slide-text {
      width: 300px;
    }
  }