  
  html {
  scroll-behavior: smooth;
}

body {
  overflow: visible !important;
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}
  
  /* Overlay Container */
    #introOverlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: black;
        z-index: 99999;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transition: opacity 1s ease-out;
    }

    /* Responsive Fullscreen Video */
    #introVideo {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        transform: translate(-50%, -50%);
        object-fit: cover;
        pointer-events: none;
    }

    /* Mobile Portrait Anpassung */
    @media (max-aspect-ratio: 4/3) {
        #introVideo {
            width: 100%;
            height: auto;
        }
    }

    @media (min-aspect-ratio: 4/3) {
        #introVideo {
            width: auto;
            height: 100%;
        }
    }

   /* End Video */




.mt  {
font-size: 2em;
}

  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease-out;
    backdrop-filter: blur(5px);
    overflow-y: auto; /* Allows scrolling if the content overflows */
  }

  .modal-content {
    color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 80%;
    max-width: 80vw;
    position: relative;
    animation: slideIn 0.4s ease-out;
    overflow: hidden; /* Prevents content from overflowing */
  }

  .modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .modal-close:hover {
    color: #fff;
  }

  /* Fade In Animation */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Slide In Animation */
  @keyframes slideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  /* Responsive Design: Adjust for Mobile Devices */
  @media screen and (max-width: 768px) {
    .modal-content {
      padding: 20px;
      width: 90%;
      max-width: 90vw; /* Ensure it doesn't go outside of the screen */
    }

    .modal-close {
      font-size: 22px;
      top: 10px;
      right: 10px;
    }
  }

  /* For very small devices like smartphones */
  @media screen and (max-width: 480px) {
    .modal-content {
      padding: 15px;
      width: 95%;
      max-width: 95vw;
    }

    .modal-close {
      font-size: 18px;
      top: 5px;
      right: 5px;
    }
  }

  /* The rest of your modal CSS goes here */
  
  .modal-logo {
    display: block;
    max-width: 150px; /* Adjust the size of your logo */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto 20px auto; /* Center the logo and give space below */
  }

  @media screen and (max-width: 768px) {
    .modal-logo {
      max-width: 120px; /* Reduce logo size for smaller screens */
    }
  }

  @media screen and (max-width: 480px) {
    .modal-logo {
      max-width: 100px; /* Further reduce size for very small devices */
    }
  }


  /* Swiper Custom */

.swiper-button-next, .swiper-button-prev {
    color: white !important;
}


.swiper-pagination-bullet-active {
    border: 2px solid rgb(255,255,255);
    background: rgb(0,235,200) !important;
}

.swiper-pagination-bullet {
    border: 2px solid rgb(0,235,200);
    background: rgb(255,255,255) !important;
}

  .gradient-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 2000;

    padding: 14px 28px;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(90deg, rgb(0,235,200) 0%, rgb(0,235,200) 50%, rgb(180,50,255) 100%);
    border: none;
    border-radius: 50px; /* Fully rounded pill shape */
    cursor: pointer;

    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    font-family: var(--wp--preset--font-family--basicsans-lightit) !important;
    letter-spacing: 2px;
    text-transform: uppercase;
}

  .gradient-button:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }

  .gradient-button:active {
    transform: scale(0.95);
  }
  





   .bg-cyan-15rem  { 
    background-color: rgb(0,235,200); 
    display: inline;
    line-height: 1.4 !important;
    color: white !important;
    padding: 4px 8px; 
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone; 
    }

    .bg-white-1rem  { 
    background-color: rgb(255,255,255);
    line-height: 0.8 !important;
    color: black !important;
    padding: 5px 6px;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone; /* for Safari/Chrome */

    }

    .mt-minus10 {
        margin-top: -10px !important;
    }    

    /* .wp-block-template-part 

     {
        margin-top: 0px !important;
    }     */


.video-button {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid white;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: blink 2s infinite;
  transition: transform 0.3s ease;
  margin: 0 auto; /* center horizontally */
  appearance: none;
  outline: none;
}

.video-button::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 20px solid white;      /* triangle color */
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  transition: border-left-color 0.3s ease;
}

.video-button:hover {
  background-color: white;
  border-color: white;
}

.video-button:hover::before {
  border-left-color: black; /* triangle turns black */


}

@keyframes blink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}



.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}

.video-backdrop {
  background-color: rgba(0, 0, 0, 0.8);
  position: absolute;
  width: 100%;
  height: 100%;
}

.video-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 80%;
  z-index: 1000;
}

.video-content iframe {
  width: 100%;
  height: auto;
  max-height: 500px;
}

.video-content video {
  border-radius: 10px;
  display: block;
  height: auto;
  max-width: 90vw;
  max-height: 70vh;
}

@media (max-width: 768px) {
  .video-content {
    padding: 0;
    margin: 0;
      top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  z-index: 1000;
  }

  .video-content video {
    width: 100vw;
    height: 100vh;
    border-radius: 5px;
    object-fit: cover;
    max-height: 80vh;

  }
}



.custom-video-wrapper {
  margin: 0 auto;
}

#seek-bar {
  width: 100%;
  height: 8px;
  margin-top: 10px;
  background: transparent;
  appearance: none;
  cursor: pointer;
}

/* Background track */
#seek-bar::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgb(0, 235, 200) 0%, rgb(0, 235, 200) 50%, rgb(180, 50, 255) 100%);
}

#seek-bar::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgb(0, 235, 200) 0%, rgb(0, 235, 200) 50%, rgb(180, 50, 255) 100%);
}

/* Thumb styling */
#seek-bar::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  background: white;
  border: 2px solid rgb(0, 235, 200);
  border-radius: 50%;
  margin-top: -4px; /* Center thumb */
}

#seek-bar::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: white;
  border: 2px solid rgb(0, 235, 200);
  border-radius: 50%;
  cursor: pointer;
}


.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  width: 48px;
  height: 48px;
  color: white;
  background: rgb(180, 50, 255);
  font-size: 24px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  text-align: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.scroll-to-top:hover {
  background: white;
  color: rgb(180, 50, 255);

}

.scroll-to-top.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.scroll-to-top.hide {
  opacity: 0;
  transform: translateY(20px);
}

