
  
  /* body, html {
    height: 100%;
  } */
  
  .containerStart {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 91vh;
    background-image: url('/Images/Alles_Moegliche/Gruppenfoto24.jpg');
    background-size: cover;
    background-position: center;
  }

  /* .containerStart::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark); 
    opacity: 40%;
    transition: background-color 0.3s ease;
} */

  .containerStart::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }
  
    .containerStart h1, 
    .containerStart h2, 
    .containerStart h3, 
    .containerStart a,
    .containerStart button {
        color: white;
        opacity: 0;
        transition: opacity 1s ease-in-out;
        z-index: 2;
  }
  
  #title {
    animation: fadeInLeft 1.5s ease forwards;
  }
  
  #event {
    animation: fadeInRight 1.5s ease 1s forwards;
  }
  
 
  
  #date {
    animation: fadeInLeft 1.5s ease 2s forwards;
  }
  
  #location {
    animation: fadeInRight 1.5s ease 3s forwards;
  }
  
  #name {
    animation: fadeInLeft 1.5s ease 4s forwards;
  }
  
  #infoButton {
    /* display: inline-block; */
    /* padding: 10px 20px; */

    margin-top: 20px;
   
    animation: fadeInBottom 1.5s ease 5s forwards;
    transition: 0.5s ease ;
  }
  
  @keyframes fadeInLeft {
    from {
      transform: translateX(-100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes fadeInRight {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes fadeInBottom {
    from {
      transform: translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  


/* Grundlegendes Styling */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Textanimation */
.text-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Anfangszustand: Unsichtbar */
.word, #nextEventTitle, #TypeEvent, #Place, #NextAppointment, .cta-button {
    opacity: 0; /* Unsichtbar am Anfang */
    /* font-weight: bold; */
}

/* Verschiedene Animationen für die Elemente */
.word {
    font-size: 48px;
    color: white;
    white-space: nowrap; /* Kein Zeilenumbruch */
    animation: slideInFromLeft 1s ease-in-out forwards;
    animation-delay: 0.5s; /* Versteckt bis zur Animation */
    margin-bottom: 0;
}

#nextEventTitle,
#event {
    font-size: 24px;
}

#date, #location, #name, 
#TypeEvent, #Place, #NextAppointment {
    font-size: 20px;
}

#nextEventTitle {

    color: white;
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 2s;
}

#TypeEvent {
    
    color: white;
    animation: slideInFromRight 1s ease-in-out forwards;
    animation-delay: 3s;
    /* margin-bottom: 10px; */
}

#Place {
    
    color: white;
    animation: rotateIn 1s ease-in-out forwards;
    animation-delay: 5s;
    /* margin-bottom: 10px; */
}

#NextAppointment {
   
    color: white;
    animation: scaleUp 1s ease-in-out forwards;
    animation-delay: 4s;
    /* margin-bottom: 10px; */
}

.cta-button {
    margin-top: 20px;
    /* padding: 10px 20px; */

    animation: slideInFromBottom 1s ease-in-out forwards;
    animation-delay: 6s;
}

/* Verschiedene Animationen */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-90deg);
    }
    to {
        opacity: 1;
        transform: rotate(0deg);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Verschwinden der Elemente */
.hidden {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Sound Button */
.sound-button {
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Mobile Anpassungen */
@media (max-width: 600px) {
    .word {
        font-size: 24px;
    }

    #nextEventTitle,
    #event {
        font-size: 20px;
    }

    #TypeEvent, #Place, #NextAppointment,
    #name, #date, #location {
        font-size: 15px;
    }
}
