.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    background: var(--color_grey);
    opacity: 0;
    z-index: -300;
    transition: ease-in-out .4s;
}

.overlay.active_z_index {
    z-index: 300;
}

#overlay_gallery.active_z_index {
    z-index: 500;
}

.overlay.active_opacity {
    opacity: .7;
}

.overlay_close_btn {
    width: auto;
    height: auto;
    background: var(--color_black_opacity);
    color: var(--color_white);
    font-weight: bold;
    border-radius: 100px;
    padding: 0 12px;
    font-size: 2.2rem;
    opacity: 0;
    transition: ease-in-out .4s;
    z-index: -600;
    cursor: pointer;

    position: absolute;
    top: 20px;
    right: 20px;
}

.overlay_close_btn.active_z_index{
    z-index: 600;
}

.overlay_close_btn.active_opacity {
    opacity: 1;
}

.header_btn_container {
    width: auto;
    height: auto;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 500;
    cursor: pointer;

    display: none;
    flex-direction: column;
    gap: 10px;
}

.header_btn_line {
    width: 54px;
    height: 4px;
    background: var(--color_white);
    transition: ease-in-out .4s;
}

.header_btn_line:nth-child(2) {
    width: 64px;
    transform: translateX(-5px);
}

.header_btn_line.active.header_btn_line:nth-child(2) {
    opacity: 0;
}

.header_btn_line.active.header_btn_line:first-child {
    transform: rotate(45deg) translate(4px, 16px);
}

.header_btn_line.active.header_btn_line:last-child {
    transform: rotate(-45deg) translate(4px, -16px);
}

.header {
    width: 100%;
    height: 94px;
    padding: 0 6%;
    z-index: 400;
    position: absolute;
    top: 0;
    left: 0;
    transition: ease-in-out .4s;
    opacity: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header::after {
    content: '';
    width: 0%;
    height: 2px;
    background: linear-gradient(to right, var(--color_grey_opacity), var(--color_white), var(--color_grey_opacity));
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: ease-in-out 1s;
}

.header.border::after {
    width: 100%;
}

.header.active {
    left: 0;
}

.header.opacity {
    opacity: 1;
}

.logo_container {
    width: auto;
    height: 90%;
    text-decoration: none;

    display: flex;
    align-items: center;
    gap: 20px;
}

.logo_icon {
    width: auto;
    height: 100%;
    padding: 6px;
    border-radius: 10px;
}

.nav {
    width: auto;
    height: auto;
}

.menu {
    width: auto;
    height: auto;
    list-style: none;

    display: flex;
    gap: 20px;
}

.menu_item {
    width: auto;
    height: auto;
    position: relative;
    padding: 6px;
    cursor: pointer;
    color: var(--color_white);
}

.menu_item::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--color_white);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: ease-in-out .4s;
}

.menu_item::after {
    content: '';
    width: 0;
    height: 1px;
    background: var(--color_white);
    position: absolute;
    top: 0;
    right: 0;
    transition: ease-in-out .4s;
}

.menu_item.active::after {
    width: 100%;
}

.menu_item.active::before {
    width: 100%;
}

.main {
    width: 100%;
    height: calc(100% - 94px);
    position: relative;
    overflow: hidden;
    z-index: 100;
    margin-top: auto;
}

.whatsapp_btn {
    width: 58px;
    height: 58px;
    transition: ease-in-out .4s;

    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 200;
}

.whatsapp_icon {
    width: 100%;
    height: 100%;
}

.section_index {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.section_index.visibility {
    visibility: hidden;
}

.section_about_us {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 6%;
    z-index: 100;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.section_about_us.visibility {
    visibility: hidden;
}

.about_us_desc {
    width: 50%;
    height: auto;
    font-size: 1.4rem;
    color: var(--color_white);
    text-align: center;
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: ease-in-out .4s;
}

.about_us_desc.active {
    opacity: 1;
    transform: translateY(0);
}

.section_gallery {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 0 6%;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.section_gallery.visibility {
    visibility: hidden;
}

.gallery_slider_container {
    width: 24cm;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 47px));
    overflow: hidden;
    opacity: 0;
    z-index: 600;
    display: none;
    transition: ease-in-out .4s;
}

.gallery_slider_container.opacity {
    opacity: 1;
}

.gallery_slider_container.visibility {
    opacity: 1;
    display: block;
}

.gallery_slider {
    width: auto;
    height: auto;
    transition: ease-in-out .2s;
    list-style: none;
    margin-left: 6cm;

    display: flex;
    gap: 4px;
}

.gallery_item {
    width: 12cm;
    height: 12cm;
    filter: blur(4px);
    transform: scale(.8);
    transition: ease-in-out .2s;
}

.gallery_item.active {
    filter: blur(0px);
    transform: scale(1);
}

.gallery_img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery_btn {
    width: 48px;
    height: 48px;
    z-index: 500;
    filter: invert(100%);
    position: absolute;
    top: 50%;
    transform: translate(0,-50%);
    cursor: pointer;
    background: var(--color_white_opacity);
    padding: 10px;
    border-radius: 100px;
}

.gallery_btn_left {
    left: 10px;
    visibility: hidden;
}

.gallery_btn_left.visibility {
    visibility: visible;
}

.gallery_btn_right {
    right: 10px;
    visibility: hidden;
}

.gallery_btn_right.visibility {
    visibility: visible;
}

.embroidery_container {
    width: 100%;
    height: 60%;
    overflow: hidden;
}

.embroidery_container::-webkit-scrollbar {
    background: transparent;
    width: 8px;
}

.embroidery_container::-webkit-scrollbar-thumb {
    background: var(--color_yellow);
    border-radius: 10px;
}

.embroidery_container.scroll {
    overflow: auto;
}

.embroidery_list {
    width: 100%;
    height: auto;
    list-style: none;

    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 24px;
}

.section_budgets {
    width: 100%;
    height: 100%;
    z-index: 100;
    position: absolute;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.section_budgets.visibility {
    visibility: hidden;
}

.budgets_description {
    font-weight: bold;
    font-size: 1.225rem;
    color: var(--color_white);
    transition: ease-in-out .4s;
    opacity: 0;
    transform: translateY(-50px);
}

.budgets_description.active {
    opacity: 1;
    transform: translateY(0);
}

.budgets_steps {
    font-weight: bold;
    font-size: 1.225rem;
    color: var(--color_white);
    transition: ease-in-out .4s;
    opacity: 0;
    transform: translateY(-50px);
    margin-top: 4px;
}

.budgets_steps.active {
    opacity: 1;
    transform: translateY(0);
}

.form_budgets {
    width: 360px;
    height: auto;
    transition: ease-in-out .4s;
    opacity: 0;
    transform: translateY(40%);
    position: relative;
    overflow: hidden;
}

.form_budgest_items_container {
    width: 300%;
    height: 100%;
    transition: ease-in-out .4s;

    display: flex;
    justify-content: space-evenly;
    gap: 20px;
}

.form_bugets_item {
    width: calc(90% / 3);
    height: auto;

    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.form_budgets_label {
    width: 100%;
    font-size: 1.1rem;
    color: var(--color_white);
    font-weight: bold;
    position: relative;
}

.form_bugets_msg_error {
    width: auto;
    height: auto;
    color: var(--color_red);
    font-size: 1rem;
    visibility: hidden;
    transition: ease all .4s;
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}

.form_bugets_msg_error.active {
    visibility: visible;
}

#form_bugets_msg_error.active {
    visibility: visible;
}

.form_budgets_input {
    width: 100%;
    height: auto;
    background: transparent;
    color: var(--color_white);
    border: 2px solid var(--color_white);
    padding: 8px;
    border-radius: 10px;
    outline: none;
    font-size: 1.2rem;
    position: relative;
}

.form_budgets_option {
    color: var(--color_grey);
}

.form_budgets_step_btns {
    width: 100%;
    height: auto;

    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.form_budgets_step_icon {
    width: 100%;
    height: auto;
    transform: rotateZ(-90deg);
}

.form_budgets_step_icon_left {
    transform: rotateZ(90deg);
}

.form_budgets.active {
    opacity: 1;
    transform: translateY(0);
}

.section_contact {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 6%;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-direction: column;
}

.section_contact.visibility {
    visibility: hidden;
}

.contact_info_container {
    width: 100%;
    height: 60%;
    opacity: 0;
    transform: translateY(50px);
    transition: ease-in-out .4s;
    overflow: auto;

    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact_info_container::-webkit-scrollbar {
    background: transparent;
    width: 8px;
}

.contact_info_container::-webkit-scrollbar-thumb {
    background: var(--color_yellow);
    border-radius: 10px;
}

.contact_info_container.active {
    opacity: 1;
    transform: translateY(0);
}

.contact_info_item {
    width: calc(100% / 3);
    min-width: 300px;
    height: auto;

    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.contact_info_title {
    width: auto;
    height: auto;
    color: var(--color_white);
    font-size: 2.4rem;
    text-align: center;
}

.contact_info_sub_title {
    font-size: 1.4rem;
    color: var(--color_yellow);
    text-align: center;
}

.contact_map {
    width: 90%;
    height: 120px;
    border-radius: 10px;
}

.socials_networks {
    width: auto;
    height: auto;
    list-style: none;

    display: flex;
    gap: 20px;
}

.social_network {
    width: auto;
    height: auto;
}

.social_network_link {
    width: auto;
    height: auto;
    text-decoration: none;
}

.phone_numbers {
    width: auto;
    height: auto;
    list-style: none;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.phone_number {
    font-size: 1.4rem;
    color: var(--color_yellow) !important;
    font-weight: bold;
}

.social_netowrk_icon {
    width: 52px;
    height: 52px;
    border-radius: 22px;
    filter: invert(100%);
    transition: ease-in-out .4s;
}

.background {
    width: 100%;
    height: 100%;
    filter: brightness(50%);
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

@media(hover:hover) {
    .menu_item:hover::before {
        width: 100%;
    }

    .menu_item:hover::after {
        width: 100%;
    }

    .whatsapp_btn:hover {
        transform: scale(1.1);
    }

    .form_budgets_step_btn:hover {
        background: var(--color_grey);
        color: var(--color_white);
    }

    .form_budgets_submit:hover {
        background: var(--color_grey);
        color: var(--color_white);
    }

    .social_netowrk_icon:hover {
        opacity: .7;
    }
}

@media (max-width: 1030px) {
    
    .main {
        height: calc(100svh);
    }

    .header_btn_container {
        display: flex;
    }

    .header {
        width: 70%;
        height: 100svh;
        top: 0;
        left: 0;
        position: absolute;
        left: -70%;
        background: var(--color_grey);

        justify-content: center;
        flex-direction: column;
        gap: 40px;
    }

    .logo_container {
        width: auto;
        height: 128px;

        flex-direction: column;
    }

    .menu {
        flex-direction: column;
    }

    .menu_item {
        font-size: 1.8rem;
    }

    .section_about_us {
        padding: 0 2%;
    }

    .about_us_desc {
        width: 100%;
    }

    .about_us_items {
        width: 100%;
        position: relative;

        flex-direction: column;
        gap: 30px;
    }

    .about_us_item {
        width: auto;
        padding: 6px;
        border-radius: 6px;
        height: auto;
        background-color: var(--color_yellow);
    }
    
    .about_us_item_icon {
        display: none;
    }

    .about_us_item_title {
        color: var(--color_grey);
    }
}

@media (max-width: 950px) {
    .gallery_slider_container {
        width: 90%;
        overflow: auto;
        overflow-y: hidden;
    }

    .gallery_slider_container::-webkit-scrollbar {
        background: transparent;
        height: 8px;
    }

    .gallery_slider_container::-webkit-scrollbar-thumb {
        background: var(--color_yellow);
        border-radius: 100px;
    }

    .gallery_slider {
        width: auto;
        margin: 0;
        justify-content: space-between;
    }

    .gallery_item {
        width: 8cm;
        height: 8cm;
        transform: scale(1);
        filter: blur(0);
    }

    .gallery_btn {
        display: none;
    }
}

@media (max-width: 910px) {
    .contact_info_container {
        flex-wrap: wrap;
    }
}

@media (max-width: 500px) {
    .title, .about_us_title, .gallery_title, .budgets_title, .contact_title {
        font-size: 3rem;
    }

    .contact_info_title {
        font-size: 1.8rem;
    }
}