/* Header Navigation Styles */
header {
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #f8f8f8;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 100px;
}

.menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    margin-right: 200px;
}

.menu li {
    align-content: center;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.menu a.active {
    color: #52505b;
    font-weight: bold;
}

@media (max-width: 768px) {
    /* Body adjustments */
    body {
        font-size: 14px;
    }

    /* Header adjustments */
    .header-nav {
        flex-direction: column;
        align-items: center;
        padding: 0.5rem 1rem;
        margin-bottom: -25%;
        z-index: 6;
        position: relative;
        background-color: #f8f8f866;
    }

    .logo {
        font-size: 1.2rem;
        margin-left: 0;
        margin-bottom: 0.5rem;
        margin-top: 20px;
    }

    .menu {
        gap: clamp(0.5rem, 3vw, 1.5rem);
        margin: 0;
    }

    .menu a {
        display: flex;
        align-items: center;
        min-height: 44px;
        font-size: 0.9rem;
    }

    /* Links inside description */
    .main-link {
        display: block;
    }
}
