

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: 20px;
    background-image: linear-gradient(180deg, #4fd1c5 0%, #0077b6 100%);
    padding-top: 70px;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
}

.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;
}

.navbar {
    height: 50px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    background-image: linear-gradient(180deg, #4fd1c5 0%, #0077b6 100%);
    box-shadow: 0 4px 8px rgba(79, 209, 197, 0.2);
    border: none;
}

.navbar-brand {
    font-size: 20px;
    font-weight: bold;
    align-self: flex-start;
    color: black;
}

.navbar-toggler {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar .auth-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-link img {
    margin-right: 10px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-image: linear-gradient(180deg, #ffffff 0%, #4fd1c5 100%);
    z-index: 1030;
    box-shadow: none;
    margin: 0;
    border: none;
}

.table td, .table th {
    padding: 4px 8px;
    line-height: 1.2;
    font-size: 13px;
}

.table th {
    color: white;
    background: #0075BE;
}

.table-title {
    background-image: linear-gradient(0deg, #0075BE 0%, #190A46 100%);
    font-size: 16px;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-bottom: 1px solid #000;
    height: 40px;
}

.startseite {
    margin: 0;
    padding: 0;
    height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

footer {
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    /*background-image: linear-gradient(180deg, #0077b6 0%, #4fd1c5 100%);*/
    box-shadow: none;
    margin: 0;
    border: none;
}

.footer a {
    color: #190A46;
    text-decoration: underline; /* falls du die Unterstreichung behalten möchtest */
}

.footer a:hover {
    color: #cccccc; /* optional heller beim Hover */
}

button {
    background-color: #00b4d8;
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 180, 216, 0.2);
}

button:hover {
    background-color: #0077b6;
    box-shadow: 0 6px 14px rgba(0, 119, 182, 0.3);
}


.offcanvas-start {
    background-color: #17a2b8; /* schönes Türkis */
    color: white;
    width: 220px;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2);
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

/* Breiter auf größeren Bildschirmen */
@media (min-width: 768px) {
    .offcanvas-start {
        width: 200px;
    }
}

/* Animiertes Ein- und Ausblenden */
.offcanvas.showing,
.offcanvas.hiding {
    opacity: 0;
}

.offcanvas.show,
.offcanvas.showing {
    opacity: 1;
}

/* Menü-Überschrift */
.offcanvas-header {
    background-color: #138496; /* etwas dunkleres Türkis für Kontrast */
    color: white;
    height: 50px;
    border-top-right-radius: 12px;
}

/* Menülinks */
.offcanvas-body .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Optional: Icons etwas mehr Abstand geben */
.offcanvas-body img {
    margin-right: 8px;
    vertical-align: middle;
}

.offcanvas-body .nav-link {
    display: flex;
    align-items: center; /* vertikal zentrieren */
    gap: 10px; /* Abstand zwischen Icon und Text */
    color: white;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.offcanvas-body .nav-link img {
    width: 30px;
    height: 30px;
    flex-shrink: 0; /* Verhindert, dass das Icon gestaucht wird */
}


h1 {
    text-align: center;
    color: white;
}

/* Buttonfarbe anpassen */
.btn-primary {
    background-color: #0075BE; /* deine Wunschfarbe */
    border-color: #0075BE;
}

.btn-primary:hover {
    background-color: #005a90; /* dunkler beim Hover */
    border-color: #005a90;
}

/* Linkfarbe anpassen */
a {
    color: #00BFFF; /* Linkfarbe */
    text-decoration: none;
}

a:hover {
    color: #cccccc; /* beim drüberfahren */
    text-decoration: underline;
}
