html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}


.slideshow {
    width: 100%;
    max-width: 800px;
    display: grid;
    grid-template-areas: "stack";
    place-items: center;
    margin: 0 auto;
    min-height: 400px;
}

.slideshow-images {
    position: relative;
    grid-area: stack;
    width: 100%;
    max-height: 400px;
    aspect-ratio: 2 / 1;
}

.slideshow img {
    width: 100%;
    height: 100%;
    opacity: 0;
    filter: blur(5px);
    animation: fadeInBlur 20s infinite;
    display: block;
    min-height: min-content;
}

        .slideshow img:nth-child(1) {
            animation-delay: 0s;
            position: absolute;
        }

        .slideshow img:nth-child(2) {
            animation-delay: 10s;
            position: absolute;
        }

@keyframes fadeInBlur {
    0% {
        opacity: 0;
        filter: blur(0px);
    }

    10% {
        opacity: 1;
        filter: blur(1px);
    }

    25% {
        opacity: 1;
        filter: blur(2px);
    }

    40% {
        opacity: 1;
        filter: blur(3px);
    }

    50% {
        opacity: 0;
        filter: blur(4px);
    }

    100% {
        opacity: 0;
        filter: blur(5px);
    }
}


/* Text Overlay Container */
.slideshow .text-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: black;
    text-align: center;
    z-index: 10;
    height: 100%;
    grid-area: stack;
    min-height: min-content;
}

    /* Animation für Text */
    .slideshow .text-overlay h1,
    .slideshow .text-overlay h2,
    .slideshow .text-overlay ul li {
        opacity: 0;
        filter: blur(10px);
        animation: textFade 2s forwards;
    }

    /* Überschriften zeitversetzt einblenden */
    .slideshow .text-overlay h1 {
        animation-delay: 1s;
        font-size: 2em;
        margin: 0;
        background-color: rgba(135, 206, 250, 0);
        border-radius: 10px;
        padding: 10px;
        display: inline-block;
        font-size: clamp(1.5rem, 1vw, 3rem);
    }

    .slideshow .text-overlay h2 {
        animation-delay: 2s;
        font-size: 1.2em;
        margin: 10px 0;
        background-color: rgba(135, 206, 250, 0);
        border-radius: 10px;
        padding: 10px;
        display: inline-block;
        font-size: clamp(1.3rem, 1vw, 3rem);
    }

    .slideshow .text-overlay ul li:nth-child(1) {
        animation-delay: 3s;
    }

    .slideshow .text-overlay ul li:nth-child(2) {
        animation-delay: 3.5s;
    }

    .slideshow .text-overlay ul li:nth-child(3) {
        animation-delay: 4s;
    }

    .slideshow .text-overlay ul li:nth-child(4) {
        animation-delay: 4.5s;
    }

/* Keyframes für Text */
@keyframes textFade {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateX(-20px);
        background-color: rgba(135, 206, 250, 0);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateX(0);
        background-color: rgba(135, 206, 250, 0.8);
    }
}

@keyframes objectFade {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateX(0);
    }
}

/* Listen Style */
.slideshow .text-overlay ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    align-items: flex-start;
    padding: 0;
    margin: 10px 0 0 0;
}

    .slideshow .text-overlay ul li {
        margin-bottom: 5px;
        background-color: rgba(135, 206, 250, 0);
        border-radius: 10px;
        padding: 10px;
        display: inline-block;
        font-size: clamp(1rem, 1vw, 3rem);
        max-width: max-content;
    }


.reg1 {
    opacity: 0;
    filter: blur(10px);
    transform: translateX(-20px);
    transition: opacity 0.5s ease-out;
}

    .reg1.visible {
        animation: objectFade 1.5s ease-out forwards;
    }

.reg2 {
    opacity: 0;
    filter: blur(10px);
    transform: translateX(-20px);
    transition: opacity 0.5s ease-out;
}

    .reg2.visible {
        animation: objectFade 0.5s ease-out forwards;
    }

.reg3 {
    opacity: 0;
    filter: blur(0px);
    transform: translateX(0px);
    white-space: nowrap;
}

    .reg3.visible {
        animation: objectFade 0.5s ease-out forwards;
    }

.regSymbol1 {
    text-align: center;
    padding-top: 10px;
    animation: floatStar 5s ease-in-out infinite;
    animation-delay: calc(var(--delay) * 1s);
}

@keyframes floatStar {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}



