/* ----------------------------------------------------------- */
/* ------------------------- NAVBAR -------------------------- */
/* ----------------------------------------------------------- */
.navbar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    /*border: solid 1px red;*/
}

    .navbar__logo-image {
        height: 30px;
        display: block;
        /*border: solid 1px red;*/
    }

    /* Invert logo color for light theme (white -> black) */
    html[theme="light"] .navbar__logo-image {
        filter: invert(1);
    }

    .navbar__item {
        color: var(--text-color) !important;
        text-decoration: none !important;
        font-size: 18px;
        font-weight: 500;
        background-color: transparent;
        /*border: solid 1px red;*/
    }

    .navbar__item:hover {
        color: var(--text-color) !important;
        text-decoration: none !important;
        background-color: var(--button-nav-hover-bg-color);
    }

    .navbar__item:active {
        color: var(--text-color) !important;
        text-decoration: none !important;
    }

    .navbar__item--active {
        background-color: var(--button-nav-hover-bg-color) !important;
    }


    .navbar__burger {
        height: 36px;
        width: 36px;
        line-height: 33px;
        font-size: 28px;
        padding: 0;
        margin: 0;
        border-radius: 12px;
        font-weight: 400;
    }

        .navbar__burger-icon {
            height: 36px;
            width: 36px;
            display: block;
            cursor: pointer;
            /*border: solid 1px red;*/
        }
            .navbar__burger-icon:hover {
                transform: scale(1.1);
            }

        /* Optional: Invert burger icon color for light theme */
        html[theme="light"] .navbar__burger-icon {
            filter: invert(1);
        }

    .navbar__menu {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        gap: 10px;
        /*border: solid 1px red;*/
    }

        .navbar__menu--visible {
            display: flex !important;
        }

/* ----------------------------------------------------------- */
/* ------------------------- CONTENT ------------------------- */
/* ----------------------------------------------------------- */
.container {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 40px 80px 0 80px;
    align-items: center;
    /*border: solid 1px red;*/
}

    .container__form-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        min-width: 200px;
        max-width: 400px;
        padding: 0;
        margin: 0;
        /*border: solid 1px red;*/
    }

    .container__card-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        min-width: 300px;
        max-width: 680px;
        padding: 0;
        margin: 0;
        /*border: solid 1px red;*/
    }

    .container__post {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        min-width: 300px;
        max-width: 680px;
        padding: 0;
        margin: 0;
        /*border: solid 1px red;*/
    }

    .container__comments-section {
        display: flex;
        flex-direction: column;
        /*align-items: center;*/
        width: 100%;
        min-width: 300px;
        max-width: 680px;
        padding: 60px 0 0 0;
        margin: 0;
        /*border: solid 1px red;*/
    }

    .container__about-me {
        display: flex;
        flex-direction: column;
        align-items: start;
        line-height: var(--line-height-l);
        width: 100%;
        min-width: 300px;
        max-width: 680px;
        padding: 0;
        margin: 0;
        /*border: solid 1px red;*/
    }

    .container--user-profile {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        min-width: 300px;
        max-width: 680px;
        gap: 12px;
        padding: 0;
        margin: 0;
        /*border: solid 1px red;*/
    }

    .container--user-profile-update {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        min-width: 300px;
        max-width: 680px;
        gap: 12px;
        padding: 0;
        margin: 0;
        /*border: solid 1px red;*/
    }


/* ----------------------------------------------------------- */
/* ------------------------- FOOTER -------------------------- */
/* ----------------------------------------------------------- */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 100px 0 10px 0;
    /*border: solid 1px red;*/
}

        .footer__social {
            display: flex;
            flex-direction: row;
            gap: 26px;
            flex-wrap: nowrap;
            padding: 0 0 20px 0;
            margin: 0;
        }

            .footer__social-icon {
                display: block;
                height: 34px;
            }

        .footer__copyright {
            margin: 0;
            padding: 0 0 20px 0;
            color: var(--text-color-secondary);
        }


/* ----------------------------------------------------------- */
/* ------------------------ RESPONSIVE ----------------------- */
/* ----------------------------------------------------------- */
@media (max-width: 1024px) {
    .container {
        padding : 40px 60px 0 60px;
    }
    .navbar {
        justify-content: center;
    }
}


@media (max-width: 570px) {
    .navbar {
        justify-content: space-between;
        flex-wrap: nowrap;
        padding: 30px 20px;
        position: relative;
    }

    .navbar__menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-color);
        box-shadow: 0 8px 8px rgba(0, 0, 0, 0.06);
        flex-direction: column;
        padding: 20px 20px 48px 20px;
        z-index: 10;
        align-items: center;
    }

    .navbar__menu--visible {
        display: flex !important;
    }

    .container {
        padding : 20px 20px 0 20px;
    }
}