/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

video {
    width: 100%; /* 100% der Breite des übergeordneten Containers oder des Browserfensters */
    max-height: 50vh;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

/*body {*/
    /* Margin bottom by footer height */
    /*background-color: black;

}*/

body {
    width: 100%;
    height: 100vh;
    background-color: #000;
    background-image: radial-gradient(circle at top right, rgba(121, 68, 154, 0.13), transparent), radial-gradient(circle at 20% 80%, rgba(41, 196, 255, 0.13), transparent)
}

canvas {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index:-1;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    background-color: white;
}

#catch {
    position:absolute;
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh; /* 100% der Bildschirmhöhe */
}

#root {
    display: flex;
    flex-direction: column;
    height: 100vh; /* 100% der Bildschirmhöhe */
}

.full-height-div {
    flex: 1; /* Füllt den verfügbaren Platz im Container aus */
}

.cvertical {
    display: flex;
    justify-content: center; /* Horizontal zentrieren (optional) */
    align-items: center; /* Vertikal zentrieren */
    height: 80vh; /* 100% der Bildschirmhöhe */
}

.cverticalsecound {
    display: flex;
    justify-content: center; /* Horizontal zentrieren (optional) */
    align-items: center; /* Vertikal zentrieren */
    height: 80vh; /* 100% der Bildschirmhöhe */
}

.cverticalthird {
    display: flex;
    justify-content: center; /* Horizontal zentrieren (optional) */
    align-items: center; /* Vertikal zentrieren */
    height: 80vh; /* 100% der Bildschirmhöhe */
}

.playbtn {
    color: white;
    cursor: pointer;
    transition: color 0.3s;
}

    .playbtn:hover {
        color: black;
        cursor: pointer;
    }

.shortened-link {
    display: inline-block;
    width: 150px; /* Set the desired width for the shortened link */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}


.selectedNavItem {
    color: white;
    font-weight: 600;
}

/**Navbar underline aktive link**/

.navbar-nav .show > .nav-link,
.navbar-nav .active > .nav-link,
.navbar-nav .nav-link.show,
.navbar-nav .nav-link.active {
    font-weight: 600;
    color: white;
    text-decoration-line: underline;
}

.custom-navbar {
    background: linear-gradient(to right, white, #87CEEB, #1abc9c, black); /* Farbverlauf von Weiß nach Schwarz von rechts nach links */
    box-shadow: 0 8px 6px -6px rgba(0,0,0,0.5);
}

.custom-image-table {
    width: 70px; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */
}

.custom-image-home {
    width: 140px; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */
}

textarea {
    resize: vertical;
    height: 15vh;
    width: 100%;
    opacity: 0.5;
}

.img-container {
    display: flex;
    justify-content: center; /* Horizontale Zentrierung */
    align-items: center; /* Vertikale Zentrierung */
}


iframe {
    width: 100%;
    height: 70vh;
    border: none;
}








/* for demo purposes */
.card {
    margin: 10px 10px;
}

.card-block {
    width: 100%; /* Breite des div */
    height: 250px; /* Höhe des div, anpassbar nach Bedarf */
    background-image: url('../images/vs.jpg'); /* Pfad zum Hintergrundbild */
    background-size: cover; /* Skaliert das Bild, um den gesamten Container zu bedecken */
    background-position: center; /* Zentriert das Bild im Container */
    background-repeat: no-repeat; /* Verhindert das Wiederholen des Bildes */
    position: relative; /* Ermöglicht die Platzierung von Inhalten darüber */
}

input[type='checkbox'] {
    display: none;
}

/* Flip Cards CSS */
.card-container {
    display: grid;
    perspective: 700px;
}

.card-flip {
    display: grid;
    grid-template: 1fr / 1fr;
    grid-template-areas: "frontAndBack";
    transform-style: preserve-3d;
    transition: all 0.7s ease;
}

    .card-flip div {
        backface-visibility: hidden;
        transform-style: preserve-3d;
    }

.front {
    grid-area: frontAndBack;
}

.back {
    grid-area: frontAndBack;
    transform: rotateY(-180deg);
}

input[type='checkbox']:checked + .card-container .card-flip {
    transform: rotateY(180deg);
}
