:root {
    --bs-primary: #A8DADC;
    --bs-secondary: #F1FAEE;
    --bs-success: #E9CBA7;
    --bs-danger: #F4A261;
    --bs-warning: #F1FAEE;
    --bs-info: #A8DADC;
    --bs-light: #F1FAEE;
    --bs-dark: #1D3557;
    --bs-body-font-size: 1rem;
    --bs-navbar-hover-color: #cbbde2;
    --navbar-height: 100px;
}

:is(h1, h2, h3, h4, h5, h6) {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-variation-settings: "wdth" 100;
    line-height: 1.3;
}

body {
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


nav.anchor-menu > a {
    text-decoration: none;
    font-size: small;
}

.sticky-top {
    border: 1px solid #f1f1f1;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgb(231 231 231 / 48%);
    top: 140px;
}

.nav-item {
    min-width: 120px;
    text-align: center;
}

.nav-link {
    padding: 0.8rem 1.2rem !important;
    white-space: nowrap;
}

.dropdown-menu {
    min-width: 200px;
}

@media (max-width: 991px) {
    .nav-item {
        width: 100%;
        min-width: auto;
    }

    .nav-link {
        padding: 1rem 1.5rem !important;
    }
}

.logo-container {
    display: inline-block;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.main-text {
    font-size: 50px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #cbbde2;
}

.sub-text {
    font-size: 24px;
    text-transform: uppercase;
    color: #cbbde2;
    display: block;
    width: 100%;
    text-align: center;
}

h1 {
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    text-shadow: 1px 1px 1px black;
}

h1.white {
    color: white;
    text-shadow: 2px 1px black;
}

.article-title {
    margin-bottom: 50px;
}

.article-title.dna {
    background-image: url('img/eeg.webp');
    background-size: cover;
}

.article-title.treatment {
    background-image: url('img/aav.webp');
    background-size: cover;
}

.article-title.genetics {
    background-image: url('img/dna-rna.webp');
    background-size: cover;
}

.article-title.hand {
    background-image: url('img/hand.webp');
    background-size: cover;
}

h2 {
    padding-left: 5px;
    color: white;
    text-shadow: 1px 1px 2px #0066b7;
    background: linear-gradient(to right, #018fff, #a5d7ff);
    font-weight: 300;
    font-size: 2rem;
}

h3 {
    font-weight: 300;
    font-size: 1.5rem;
}

h4 {
    font-weight: 500;
    font-size: 1.5rem;
}

h5 {
    font-weight: 500;
    font-size: 1.25rem;
}

h6 {
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    line-height: 1.6;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 1rem;
}

.article-title {
    height: 400px;
    background-color: gray;
}

.cdkl5-symptoms {
    font-size: 1.05rem;
    line-height: 1.6;
}

.symptom-item {
    transition: all 0.2s;
    border-left: 4px solid #4e73df;
}

.symptom-item:hover {
    background-color: #f1f7fe !important;
    transform: translateX(3px);
}

.cdkl5-symptoms dt {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.cdkl5-symptoms dd {
    color: #555;
}

p + h2 {
    margin-top: 2.2em;
}

section {
    display: grid;
    gap: 20px;
}

.navbar {
    background: rgb(86, 61, 124);
    background-size: 400% 400%;
    width: 100%;
    min-height: 100px;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: "Noto Sans", sans-serif;
    font-size: 1.5rem !important;
}

.navbar a {
    color: white !important;
}

.navbar a.inactive {
    color: #cbbde2 !important;
}
.navbar a.inactive:hover {
    color: white !important;
}

.content {
    margin-top: 70px;
}


footer {
    background-color: rgb(86, 61, 124);
    margin-top: auto;
    color: #cbbde2;
}

footer a {
    color: #cbbde2;
    text-decoration: none;
}

footer a:hover {
    transition: color .15s ease-in-out;
    color: white;
}


.footer-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}