.header_page {
    padding: 20px;
    position: fixed;
    display: flex;
    z-index: 1000;
    align-items: center;
    width: 100%;
    height: 80px;
    top: 0;
    background-color: #ffffff;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.container_header_page {
    width: 100%;
    display: flex;
    align-items: center;
}


.header_page::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 55px;
    right: 55px;
    width: calc(100% - 110px);
    height: 3px;
    display: block;
    border-radius: 30px;
    background-color: rgba(204, 41, 41, 1);
}

.header_nav.desktop, .link_login.desktop {
    display: none;

}


.box_logo_header {
    margin-right: auto;
}

.link_header_logo {
    display: block;
    width: 105px;
    height: auto;
}

.link_red {
    padding: 4px 13px;
    border-radius: 26px;
    font-family: var(--font-family-base);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    vertical-align: middle;
    color: #FFFFFF;
    background-color: rgba(204, 41, 41, 1);
}

.box_link_login_connect .link_red {
    margin-right: 21.5px;
}


@media screen and (min-width: 768px) {
    .link_login.desktop {
        display: flex;
    }

    .link_login {
        padding: 4px 13px;
        border-radius: 26px;
        font-family: var(--font-family-base);
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
        text-align: center;
        vertical-align: middle;
        background-color: rgba(201, 201, 201, 1);
        color: rgba(43, 43, 43, 1);
    }

    .box_link_login_connect {
        display: flex;
        align-items: center;
        gap: 20px;
    }


    .header_page::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 147px;
        right: 147px;
        width: calc(100% - 294px);
    }

    .box_link_login_connect .link_red {
        margin-right: 25px;
    }

}

@media screen and (min-width: 1200px) {
    .btn_open_menu_mobile {
        display: none;
    }

    .header_nav.desktop {
        display: flex;
    }

    .header_page {
        height: 80px;
        padding: 10px 50px;

    }

    .container_header_page {
        width: 100%;
        max-width: 1680px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }


    .link_header_logo{
        width: 148px;
    }

    .box_logo_header {
        width: 267px;
        margin-right: 0;
    }


    .header_page::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 590px);
        max-width: 1000px;
    }

    .header_nav {
        display: flex;
        align-items: center;

    }

    .header_nav_link {
        padding: 10px 20px;
        border-radius: 26px;
        font-family: var(--font-family-base);
        font-weight: 700;
        font-size: 20px;
        line-height: 24px;
        text-align: center;
        vertical-align: middle;
        color: rgba(18, 18, 18, 1);
        transition: var(--transition-all-time);
        cursor: pointer;
    }


    .header_nav_link:hover {
        background-color: rgba(201, 201, 201, 1);
    }

    .link_login, .link_red {
        padding: 10px 20px;
    }

}

/* ============== menu_mobile STYLES ============== */

.container_menu_mobile {
    position: fixed;
    padding: 25px 10px;
    top: 0;
    bottom: 0;
    width: 100%;
    right: -100%;
    background-color: #FFFFFF;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: var(--transition-all-time);
}

.container_menu_mobile.open {
    right: 0;
}


.box_top_menu_mobile {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 30px;
}

.container_links_menu_mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.box_links_menu_mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.list_group_links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.title_group_links{
    font-family: var(--font-family-base);
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    vertical-align: middle;
    color: rgba(18, 18, 18, 1);
}


.item_link_menu_mobile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item_link_menu_mobile {
    padding: 10px 5px;
    font-family: var(--font-family-base);
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    vertical-align: middle;
    color: rgba(18, 18, 18, 1);
}

.decoration_line_link_menu_mobile {
    width: 100%;
    height: 1px;
    background-color: rgba(43, 43, 43, 1);

}

.container_bottom_menu_mobile {
    position: static;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: auto;
}

.link_address_menu_mobile {
    border-radius: 20px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family-base);
    font-weight: 700;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    color: #ffffff;
    background-color: rgba(204, 41, 41, 1);
    border: 1px solid rgba(204, 41, 41, 1);
    transition: var(--transition-all-time);
}

.link_address_menu_mobile {
    color: #ffffff;
    border-color: #fff;
}

.box_bottom_menu_mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.decoration_line_bottom_menu_mobile {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 1);
}

.text_bottom_menu_mobile{
    font-family: var(--font-family-base);
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    text-transform: lowercase;
    color: rgba(18, 18, 18, 1);
}


.text_bold_bottom_menu_mobile{
    font-family: var(--font-family-base);
    font-weight: 700;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    text-transform: lowercase;
    color: rgba(18, 18, 18, 1);
}
/* ============== /menu_mobile STYLES ============== */
