#top_header {
    background-color: #FFD8CA;
    width: 100%;
    height: 160px;
    padding: 15px 0 10px 0;
}

#top_header_mobile {
    display: none;
}

#search_lenguages {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    max-width: 1300px;
    margin: auto;
    padding: 0 20px;
}

#search_lenguages svg {
    margin: auto;
}

#search_lenguages img {
    margin: auto;
}

select {
    width: 55px;
    padding: 5px;
    appearance: none;
    border: none;
    outline: 0px;
    background-color: #ffd8ca;
    background-image: url("../img/header/select_arrow.svg");
    background-repeat: no-repeat;
    background-position: right center;
    cursor: pointer;

    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    color: var(--secondary-uno, #002F6C);
}

hr {
    background-color: #002F6C;
    width: 100%;
    max-width: 1300px;
    margin: 15px auto 0 auto;
    opacity: 1;
}

#menu_index {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 25px;

    width: 100%;
    max-width: 1300px;
    height: 59px;
    margin: auto;
    padding: 0 20px;
}

#menu {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 25px;

    width: 100%;
    max-width: 1300px;
    height: 59px;
    margin: auto;
    padding: 0 20px;
}

.menu_item {
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    color: #002F6C;
    cursor: pointer;
}

.log_out {
    margin-left: auto;
    cursor: pointer;

    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    color: #002F6C;
}

.profile_image_container {
    width: 45px;
    height: 45px;
    padding: 5px;
    border-radius: 30px;
    cursor: pointer;
}

.profile_image {
    width: 100%;
    background: #FFF;
    background-image: url(../img/default_profile_img.png);
    background-size: cover;
    background-position: center;
    height: 100%;
    border-radius: 30px;
}

.policy {
    display: flex;
    align-items: center;
    justify-content: center;
}

#header {
    display: block;
    /* background-image: linear-gradient(to right, #d8c5b2 , #9d8570); */
    background-image: url(../img/header/header-index.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

#header_container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;

    width: 100%;
    max-width: 1300px;
    margin: auto;
}

#welcome {
    width: 100%;
    max-width: 610px;
    padding: 80px 0;
}

#welcome_buttons {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
    gap: 20px;

    margin-top: 40px;
}

#welcome_img {
    /* background-image: url("../img/header/header_girl.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover; */
    width: 85%;
    transform: scaleX(-1);
}

#header_mobile {
    display: none;
}

#header_page {
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 254px;
    padding: 0 15px;
}

.page_title {
    width: 100%;
    max-width: 1300px;
    margin: auto;

    font-family: Montserrat;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    color: #FFF;
}

.sub_menu_container {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    width: 100%;
    height: 66px;
    padding: 0 15px;
    background: #FFECE5;
    z-index: 99;
}

.sub_menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    width: 100%;
    max-width: 1128px;
    margin: auto;
}

.sub_menu_center {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 24px;

    width: auto;
    max-width: none;

    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.sub_menu_item {
    min-width: fit-content;
    padding: 4px 5px;
    cursor: pointer;

    scroll-snap-align: start;

    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    color: #8696B0;
}

.sub_menu_item.hidden {
    display: block;
    min-width: 150px;
}

.selected {
    font-weight: 500;
    color: #002F6C;
    border-bottom: solid 2px #002F6C;
}

.back_top {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #002F6C;
}

@media (max-width: 520px) {
    #top_header {
        display: none;
    }

    #top_header_mobile {
        display: flex;
        align-items: end;
        justify-content: center;

        position: fixed;
        background-color: #FFD8CA;
        width: 100%;
        height: 90px;
        z-index: 999;
    }

    #search_lenguages {
        margin: 5px;
    }

    #search_lenguages img {
        margin: inherit;
    }

    .page_title {
        font-family: Montserrat;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 130%;
        text-align: center;
        color: #002F6C;
    }

    #header {
        display: none;
    }

    #header_mobile {
        display: block;
        width: 100%;
        padding: 180px 15px 0 15px;
    }

    #header_page {
        display: none;
    }

    #header_container {
        background-image: url(../img/header/header-index.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 10px;
        margin: 10px 0;
    }

    #welcome {
        max-width: 50%;
        padding: 60px 0;
        text-align: center;
    }

    #welcome img {
        width: 150px;
    }

    #welcome_buttons {
        margin: 20px 0;
    }

    #welcome_buttons .button {
        width: 100%;
    }

    .sub_menu_container {
        position: fixed !important;
        /* display: block; */
        top: 89px;
        /* padding: 15px 15px; */
        /* overflow-y: scroll; */
    }

    .sub_menu_left {
        display: none;
    }

    .sub_menu_center {
        justify-content: start;
        gap: 0;
    }

    .sub_menu_item {
        padding: 6px 12px;

        font-size: 14px;
        font-weight: 500;
        line-height: 130%;
    }

    .sub_menu_item.hidden {
        display: none;
    }

    .selected {
        background-color: #002F6C;
        border-radius: 32px;

        color: #fff;
    }

    .back_top {
        display: none;
        color: #002F6C;
    }
}
