@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

.layout-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-header {
    background-color: white;
    display: grid;
    margin-top: 2rem;
    margin-bottom: 2rem;
    grid-template-columns: 15% 50% 35%;
    padding-left: 15%;
    gap: 1rem; /* Abstand zwischen Spalten und Zeilen */
}
.logo {
    max-width: 550px;
    height: auto;
}

.site-nav {
    /* Fallback-Farbe für ältere Browser */
    background: rgb(251, 74, 74);
    /* Gradient */
    background: linear-gradient( 180deg, rgba(251, 74, 74, 0.99) 0%, rgb(55, 29, 29) 100% );
    border-radius: 8px; /* Runde Ecken */
}

    .site-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
    }

    .site-nav li {
        margin: 0 1rem;
    }

    .site-nav a {
        color: #ffffff;
        text-decoration: none;
        padding: 0.5rem;
        font-size: 1.2rem;
    }

        .site-nav a.active {
            border: none;
            border-bottom: 2px solid transparent;
            border-image: linear-gradient( to right, rgba(251,74,74,0.99), rgb(55,29,29) ) 1;
        }

.site-body {
    flex: 1;
    padding: 2rem;
}
.body-container {
    display: grid;
    margin-top: 2rem;
    margin-bottom: 2rem;
    grid-template-columns: 15% 50% 35%;
    gap: 1rem; /* Abstand zwischen Spalten und Zeilen */
}

/* Stack als Grid-Variante */
.stack-column {
    display: grid;
    text-align: start;
    grid-auto-rows: min-content;
    row-gap: 1rem;
}

/* 1. Die Header-Box */
.header-box {
    /* Fallback-Farbe für ältere Browser */
    background: rgb(251, 74, 74);
    /* Gradient */
    background: linear-gradient( 180deg, rgba(251, 74, 74, 0.99) 0%, rgb(55, 29, 29) 100% );
    padding: 2rem; /* Innenabstand */
    padding-left: 4rem; /* gleiche Einrückung wie .header-box */
    width: 440px;
    border-radius: 4px; /* Runde Ecken */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* leichter Schatten */
}

    /* Header-Textformatierung */
    .header-box h3 {
        margin:  0; /* Abstand oben/unten entfernen */
        font-size: 1.25rem;
        color: #ffffff;
    }

/* Die Header Video */
.headervideo-box {
    display: flex;
    justify-content: center; /* horizontal zentrieren */
    align-items: center; /* vertikal zentrieren */ /* Fallback-Farbe für ältere Browser */
    /* Fallback-Farbe für ältere Browser */
    background: rgb(251, 74, 74);
    /* Gradient */
    background: linear-gradient( 180deg, rgba(251, 74, 74, 0.99) 0%, rgb(55, 29, 29) 100% );
    width: auto;
    height: 80px;
    font-weight: 700;
    border-radius: 4px; /* Runde Ecken */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* leichter Schatten */
    color: white;
    /* Minimum, bevorzugte Größe in vw, Maximum */
    font-size: clamp(0.5rem, 6vw, 2rem);
}

    /* Header-Textformatierung */
    .headervideo-box h3 {
        margin: 0; /* Abstand oben/unten entfernen */
        color: white;
    }

@media (max-width: 1280px) {
    .headervideo-box {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .headervideo-box {
        font-size: 0.50rem;
    }
}

/* Textzeilen unter der Box genau gleich versetzen */
.stack-column p {
    margin: 0; /* Standard-Margen entfernen */
    padding-left: 4rem; /* gleiche Einrückung wie .header-box */
    color: #000000; /* unverändert */
    /*border-left: 2px solid #ccc; */ /* optionaler Schmuckstrich */
}

.responsive-img {
    display: block; /* entfernt Inline-Abstände */
    max-width: 100%; /* skaliert Bild nicht über Container hinaus */
    height: auto; /* erhält das Seitenverhältnis */
}

/* Footer-Grundstruktur */
.site-footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    /* Fallback-Farbe für ältere Browser */
    background: rgb(251, 74, 74);
    /* Gradient */
    background: linear-gradient( 180deg, rgba(251, 74, 74, 0.99) 0%, rgb(55, 29, 29) 100% );
    font-size: 0.9rem;
    color: lightgray;
    border-radius: 8px; /* Runde Ecken */
    margin: 2rem;
}

.app-infopage {
    display: grid;
    grid-template-columns: 20% 80%;
    border-radius: 8px; /* Runde Ecken */
}

.app-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}


.bild-container {
    display: flex; /* Flexbox aktivieren */
    gap: 0.5rem; /* Optional: Abstand zwischen den Thumbnails */
    justify-content: center;
    align-items: center;
}

.thumb {
    cursor: pointer;
    border-radius: 5px;
    object-fit: cover;
}

    .thumb:hover {
        transform: scale(var(--hover-scale));
        transition-property: transform;
        transition-duration: 0.3s;
        transition-timing-function: ease;
        transition-delay: 1s; /* kein delay für hover-out */
    }

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: #fff;
    padding: 1rem;
    border-radius: 4px;
}

.modal-image {
    /* max-width/max-height sorgen dafür, dass das Bild 
     nie über den Container bzw. den Viewport hinauswächst */
    max-width: 90vw;
    max-height: 90vh;
}

.close {
    position: absolute;
    top: 0.2rem;
    right: 0.4rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

    .video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.myNavlink {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: black;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}
.button {
    display: block;
    background: linear-gradient( 180deg, rgba(251, 74, 74, 0.99) 0%, rgb(55, 29, 29) 100% );
    border-radius: 8px; /* Runde Ecken */
    border-color: white;
    color: white;
    width: 100%;
    height: 80px;
    justify-content: center;
    vertical-align: central;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
    .button:hover {
        background: linear-gradient( 180deg, rgba(251, 74, 74, 0.99) 0%, rgb(55, 29, 29) 100% );
        transform: scale(1.05);
        cursor: pointer;
    }

/* Optional: Stil für den Fehler- und Erfolgstext */
.alert {
    margin-top: 10px;
    font-size: 1rem;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Container für den ganzen Abschnitt */
.app-download {
    margin-top: 3rem;
    background: linear-gradient( 180deg, rgba(251, 74, 74, 0.99) 0%, rgb(55, 29, 29) 100% );
    border-radius: 8px; /* Runde Ecken */
    border-color: white;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}

    /* Titelgestaltung */
    .app-download h2 {
        margin-bottom: 1rem;
        font-size: 1.5rem;
        color: #333;
    }

/* Die Header Video */
.download-header {
    justify-content: center; /* horizontal zentrieren */
    align-items: center; /* vertikal zentrieren */ /* Fallback-Farbe für ältere Browser */
    font-weight: 700;
    color: white;
    /* Minimum, bevorzugte Größe in vw, Maximum */
    font-size: clamp(0.5rem, 6vw, 2rem);
}

@media (max-width: 1280px) {
    .download-header {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .download-header {
        font-size: 0.50rem;
    }
}

/* Flexbox für die Buttons */
.download-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Einheitliche Größe der Badge-Bilder */
.store-button img {
    height: 40px;
    width: auto;
    display: block;
}

/* Auf mobilen Geräten etwas kleinere Badges */
@media (max-width: 40px) {
    .store-button img {
        max-height: 18px;
    }
}

/* Untermenü standardmäßig verstecken */
.site-nav .has-submenu .submenu {
    display: none;
    position: absolute;
    top: 100%; /* direkt unter dem Eltern-LI */
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    padding: 0.5rem 0;
    min-width: 180px;
    z-index: 1000;
}

/* Listenelemente nebeneinander im Hauptmenü */
.site-nav > ul > li {
    display: inline-block;
    position: relative;
    margin-right: 1rem;
}

/* Einzelne Einträge im Untermenü als Block */
.site-nav .has-submenu .submenu li {
    display: block;
}

    .site-nav .has-submenu .submenu li a {
        display: block;
        padding: 0.4rem 1rem;
        color: #333;
        text-decoration: none;
    }

/* Hover-Effekt: Untermenü einblenden */
.site-nav .has-submenu:hover > .submenu {
    display: block;
}

/* Optional: Submenu-Einträge hover-styling */
.site-nav .has-submenu .submenu li a:hover {
    background-color: #f0f0f0;
}





html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYg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zLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }
