@font-face {
    font-family: 'OpenSansRegular';
    src: url('../font/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

:root {
    --bg: #0f1115; /* near-black */
    --card: #161a21; /* dark slate */
    --muted: #6c757d; /* BS gray */
    --text: #e8ecf1; /* off-white */
    --brand: #e7487a; /* pink */
    --brand-2: #6a7cff; /* violet */
    --mila-bg: #1b1821; /* Hintergrund der Seite */
    --mila-pink: #e7487a; /* Hauptfarbe – feminin, kräftig */
    --mila-pink-light: #f07da5; /* Hover */
    --mila-text-dark: #fff; /* Text auf Button */
}

body {
    font-family: 'OpenSansRegular', sans-serif;
    background: radial-gradient(100vw 80vh at 80% -10%,
                rgba(231,72,122,.35), transparent 70%),
                radial-gradient(80vw 60vh at -10% 20%,
                rgba(106,124,255,.25), transparent 60%),
                radial-gradient(120vw 90vh at 50% 120%,
                rgba(231,72,200,.20), transparent 70%),
                #11131a;
    color: #fff;
}

#navigation .mila-logo {
    height: 40px;
    width: auto;
    max-width: 100%;
}

.mila-card-bg {
    background: linear-gradient(180deg, #c62e6b, #b37578)
}

.mila-text {
    color: rgb(191 92 113) !important;
}

#navigation .nav-equal {
    display: flex;
    gap: .5rem;
}

#navigation .nav-equal .nav-item {
    flex: 1 1 0;
}

#navigation .nav-equal .nav-link.btn {
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

#navigation .navbar-toggler {
    border-color: rgb(191, 91, 113) !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

#navigation .navbar-toggler-icon {
    filter: invert(1);
}

#navigation .nav-top-row {
    flex-wrap: nowrap;
}

#navigation .navbar .container {
    flex-wrap: nowrap;
}

#navigation .navbar-brand {
    flex-shrink: 1;
}

#navigation .navbar-toggler {
    flex-shrink: 0;
}

#navigation .nav-top-row .mila-logo {
    max-width: 70%;
    flex-shrink: 1;
}

#navigation .nav-top-row .navbar-toggler {
    flex-shrink: 0;
}

.btn-mila {
    color: var(--mila-text-dark);
    background: linear-gradient(135deg, var(--mila-pink), #a040ff);
    border: none;
    border-radius: .5rem;
    transition: all .3s ease;
}

.btn-mila:hover,
.btn-mila:focus {
    background: linear-gradient(135deg, var(--mila-pink-light), #b16eff);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 72, 122, .4);
}

.btn-mila:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-mila.disabled,
.btn-mila:disabled {
    background: rgba(231, 72, 122, 0.4);
    opacity: 0.6;
}

.brand-logo {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,
                var(--brand),
                var(--brand-2)
    );
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(231,72,122,.35);
}

.glass {
    background: linear-gradient(to bottom right,
    rgba(17,19,26,0.55),
    rgba(17,19,26,0.35));
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.glass-light {
    background: linear-gradient(to bottom right,
    rgba(255,255,255,0.25),
    rgba(255,255,255,0.15));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.bg-glass {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none; /* Safari */
    transition: background-color .25s ease, backdrop-filter .25s ease, box-shadow .25s ease, border-color .25s ease;
    border-bottom: 1px solid transparent;
}

.bg-glass.is-stuck {
    background: linear-gradient(to bottom, rgba(17,19,26,.6), rgba(17,19,26,.35));
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom-color: rgba(255,255,255,.08);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.no-backdrop .bg-glass.is-stuck {
    background: rgba(17,19,26,.85);
}

body.has-transparent-nav .navbar.bg-glass {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.icon {
    display: inline-flex;
}

#content {
    line-height: 28px;
}

.footer-social a,
.footer-social button {
    display: flex;
    align-items: center;
    color: var(--bs-secondary-rgb);
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color .25s ease;
}

.footer-social a:hover,
.footer-social button:hover {
    color: #fff;
    text-decoration: none;
}

.footer-social img {
    margin-right: .5rem;
    vertical-align: middle;
}

.footer-social li {
    margin-bottom: .4rem;
}

.footer-social a:focus,
.footer-social button:focus {
    outline: none;
    box-shadow: none;
}

@media (min-width: 992px) {
    #about,
    #gallery,
    #notes {
        scroll-margin-top: 80px;
    }
}

@media (max-width: 991.98px) {
    #about,
    #gallery,
    #notes {
        scroll-margin-top: 240px;
    }
}