/* Header and main container */
header{
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
}
.overlay{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1000;
   
}
.header-overlay{
    background-color: var(--black);
}
.header-container{
    width: 80%;
    height: 30px;
}
.header-container_items{
    justify-content: space-between !important;
}
@media only screen and (min-width: 600px) {
    header{
        height: 80px;
    }
    .header-container{
        height: 100%;
    }
    .header-container_items{
        height: 100%;
    }
 }
 @media only screen and (min-width: 600px) {
    header{
        height: 100px;
    }
    .header-container{
        max-width: 1091px;
    }
 }
 @media only screen and (min-width: 1000px) {
    .active > a::after{
        transform: scaleX(1);
        transform-origin: bottom left;
    }
    nav li{
        position: relative;
    }
    .animacion_menu::after{
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 4px;
        bottom: -4px;
        left: 0;
        background-color: var(--orange);
        transform-origin: bottom right;
        transition: transform 0.25s ease-out;
    }      
      nav li:hover > a::after {
        transform: scaleX(1);
        transform-origin: bottom left;
      }
 }
 @media only screen and (min-width: 1500px) {
    .header-container{
        max-width: 1643px;
    }
 }

 /* Logo */
 .logo_link_container, #logo{
    background-color: transparent;
}
.logo_link_container{
    width: 27.07px;
    height: 30px;
    background-image: url('../Logos/icon.webp');
    background-size: 100% 100%;
}
@media only screen and (min-width: 600px) {
    .logo_link_container{
        width: 40px;
        height: 44.33px;
    }
}
@media only screen and (min-width: 1000px) {
    .logo_link_container{
        width: 160px;
        height: 54.93px;
        background-image: url('../Logos/logo_negativo.webp');
    }
}
@media only screen and (min-width: 1100px) {
    .logo_link_container{
        width: 191.17px;
        height: 70px;
    }
}

 /* LANG */
.header-container_lang-btnmenu{
    flex-wrap: wrap;
}
.header-container_lang{
    background-color: transparent;
    webkit-appearance: none; 
    -moz-appearance: none;
    appearance: none;
    opacity: 0;
    cursor: pointer;
    width: fit-content;
    margin-right: 2vw;
    padding: 0 10px;
}
.header-container-translate__label{
    position: absolute;
    z-index: 0;
}
.header-container-translate__label-span{
    color: var(--white);
    pointer-events: none;
    font-family: Montserrat_Bold;
    font-size: 0.875rem;
    letter-spacing: 0.12px;
}
.icon_lang{
    height: 15px;
    width: 15px;
    margin-left: 5px;
    margin-right: 2px;
}
.icon_drown{
    width: 7.74px;
    height: 5px;
}
@media only screen and (min-width: 600px) {
    .header-container-translate__label-span{
        font-size: 0.95rem;
        letter-spacing: 0.10px;
    }
    .icon_lang{
        height: 17px;
        width: 17px;
        margin-left: 7px;
        margin-right: 5px;
    }
    .icon_drown{
        width: 7.74px;
        height: 5px;
    }
}
@media only screen and (min-width: 1000px) {
    .header-container_lang{
        margin-right: 0;
        width: auto;
        height: 21px;
    }
    .header-container-translate{
        order: 3;
        margin-left: 41px;
    }
    .icon_lang{
        width: 20px;
        height: 20px;
        margin-left: 3px;
        margin-right: 2px;
    } 
    .icon_drown{
        height: 8px;
       width: 12.39px;
    }
}

/* Nav*/
.header-container__btn_menu{
    background-color: transparent;
    height: 18.4px;
    width: 20px;
    opacity: 0;
}
@media only screen and (min-width: 600px ) {
    .header-container__btn_menu{
        height: 27.66px;
        width: 30px;
    }
}
@media only screen and (min-width: 1000px) {
    #menu_mobile_overlay{
        display: none;
    }
    .header-container__btn_menu{
       display: none;
    }
}
.header-container__btn_menu img{
    height: 100%;
    width: 100%;
}
/* /list */
.header-container_list{
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: center;
    transition: visibility 0.1s, opacity 0.5s linear;
}

.menu{
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
}
.event_out_side_menu_a{
    z-index: 1;
}

.menu .list{
    width: 80%;
    min-height: 416px;
    height: fit-content;
    position: relative;
    z-index: 2;
}

@media only screen and (min-width: 1000px) {
    .menu{
        position: relative;
        height: fit-content;
        width: auto;
    }
    .header-container_list{
        display: flex;
        order: 2;
        visibility: visible;
        opacity: 1;
    }
    .overlay.event_out_side_menu_a{
        display: none;
    }
    .menu .list{
        width: auto;
        min-height: 100px;
        height: 100px;
    }
}

.container_menu_mobile_btnclosed{
    display: flex;
    justify-content: end;
    align-items: center;
    height: 50px;
}
@media only screen and (min-width: 600px) {
    .container_menu_mobile_btnclosed{
        height: 100px;
    }
}

.menu_mobile_btnclosed, .menu_mobile_btnclosed img{
    background-color: transparent;
    width: 20px;
    height: 20px;
}
@media only screen and (min-width: 600px) {
    .menu_mobile_btnclosed, .menu_mobile_btnclosed img{
        width: 30px;
        height: 30px;
    }
}
@media only screen and (min-width: 1000px) {
    .container_menu_mobile_btnclosed{
        display: none;
    }
}

.menu_container_items{
    margin-top: 30px;
    flex-direction: column;
    gap: 25px;
}
.menu_container_items li a{
    font-family: 'poppins_bold';
    color: var(--black);
    text-transform: uppercase;
    font-size: 1.25rem;
    letter-spacing: .2px;
}
@media only screen and (min-width: 600px) {
    .menu_container_items li a{
        font-size: 1.5rem;
        letter-spacing: .5px;
    }
}
@media only screen and (min-width: 1000px) {
    .menu_container_items{
        margin: 0;
        flex-direction: row;
        gap: 30px;
        height: 100%;
        display: flex;
        align-content: center;
    }

    .menu_container_items li a, .header-container-translate__label-span{
        font-size: 1rem;
        letter-spacing: .10px;
        font-weight: bold;
        color: var(--white);
        letter-spacing: 0.16px;
    }
}
@media only screen and (min-width: 1200px) {
    .menu_container_items{
        gap: 41px;
    }
}

.sub_menu_services{
 display: none;
}

#container_logo_menu_mobile{
    margin-top: 100px;
}
@media only screen and (min-width: 400px) {
    #container_logo_menu_mobile img{
        height: 109.85px;
        width: 300px;
    }
}
@media only screen and (min-width: 600px) {
    #container_logo_menu_mobile img{
        height: 164.78px;
        width: 450px;
    }
}
@media only screen and (min-width: 1000px) {
    #container_logo_menu_mobile{
        display: none;
    }
}
.menu_container_itams-a-title{
    width: 100%;
    display: block;
    text-align: center;
}
.menu_services-a{
    cursor: pointer;
    flex-wrap: wrap;
    justify-content: end;
}

.show_sub_menu_services{
 display: block;
 margin-left: 20px;
 width: 50%;
}

.sub_menu_services li{
    margin-top: 10px ;
}
.sub_menu_services li a{
    color: var(--black);
    text-decoration: underline;
    font-size: 1rem;
}
@media only screen and (min-width: 600px) {
    .sub_menu_services li a{
        font-size: 1.25rem;
    }
}
@media only screen and (min-width: 1000px) {
    .sub_menu_services li a{
        color: var(--white);
    }
    .menu_services-a{
        display: block;
        position: relative;
    }
    .menu_services-a:hover .sub_menu_services{
        position: absolute;
        top: 0px;
        margin: 0;
        width: 268px;
        height: 230px;
        border-radius: 8px;
        display: flex;
        align-content: end;
        align-items: end;
       }
       .sub_menu_services-div_desk{
        position: relative;
        height: 171px;
        width: 100%;
       }
       .sub_menu_services-div_desk .overlay{
        border-radius: 0 0 8px 8px;
        background-color: var(--black);
       }
       .sub_menu_services li{
        margin: 27px 0 0 22px;
        width: fit-content;
        }
        .sub_menu_services li:first-of-type{
            margin-top: 21px;
        }
        .sub_menu_services li a{
            font-size: 1rem;
        }
}

.show{
    opacity: 1;
    visibility: visible;
}
.invisible{
    opacity: 1;
}