h1, h2, h3, h4, h5, h6 {
    font-family: Chewy;
    color: rgb(255, 255, 255);
  }

.container h2,
.container h3, 
.container h4 {
    color: white;
}
  
  p {
    font-family: Be Vietnam Pro;
    font-weight: 200;
    font-size: 20px;
    color: rgb(255, 255, 255);
  }

 
  
/*Video mit Logo*/

.video-container {
  position: relative;
  width: 100%;
 
  margin: auto;
}

.background-video {
  width: 100%;
  height: auto;
  display: block;
}

.svg-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50vw; /* Skaliert mit der Bildschirmbreite */
  max-width: 1500px; /* Begrenzung für große Screens */
}

.svg-overlay svg {
  width: 100%;
  height: auto;
}



.navbar .nav-link {
  color: white;
  text-decoration: none;
}

.navbar .nav-link:hover {
  color: lightgray; /* Optional: Hover-Effekt */
}

/*icon burgermenü*/

.my-icon {
  color: white; 
  width: 50px; 
  height: 50px;
}

.img-fluid {
  transition: transform 0.3s ease-in-out;
}

.img-fluid:hover {
  transform: scale(1.05);
}

.clickable-image {
  cursor: pointer;
}


@keyframes rotate360 {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}

.bd-placeholder-img {
  transition: transform 1.5s ease-in-out;
}

.bd-placeholder-img:hover {
  animation: rotate360 1.5s linear 1;
}


/* Benutzerdefinierte CSS*/

  @media (max-width: 991.98px) and (min-width: 768px) {
    .card-custom {
      width: 22rem; /* Größere Kartenbreite bei Bildschirmgrößen unterhalb von lg, aber größer als md */
      margin: 0 auto; /* Zentriert die Karten */
    }
  }





/* Dynamische Anpassung an kleinere Bildschirme */
@media (max-width: 992px) { /* kleiner als lg */
  .button-img {
      height: 80px; /* Reduzierte Höhe */
  }
}

@media (max-width: 768px) { /* kleiner als md */
  .button-img {
      height: 60px; /* Noch kleinere Größe */
  }
}

.button-img {
  transition: transform 0.3s ease; /* Sanfter Übergang */
}
.button-img:hover {
  transform: scale(1.2); /* Vergrößert den Button um 20% */
}



.carousel-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.carousel-track {
  gap: 20px;
  animation: slide 70s linear infinite;
}

.carousel-item-custom {
  flex: 0 0 33.333%; /* 3 Items nebeneinander */
  max-width: 33.333%;
  box-sizing: border-box;
  padding: 10px;
}

.carousel-item-custom img {
  width: 100%;
  height: 500px; /* Einheitliche Höhe */
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.carousel-item-custom img:hover {
  transform: scale(1.05);
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-500%); } /* Passt sich der Item-Anzahl an */
}

/* Responsive Anpassung */
@media (max-width: 992px) {
  .carousel-item-custom {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 576px) {
  .carousel-item-custom {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .carousel-track {
    animation-duration: 40s; /* Schneller auf Mobilgeräten */
  }
}