* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root{
    --letras: rgb(255, 255, 255);
    --letrasScroll: rgb(255, 255, 255);
    --iconMenu: rgb(255,255,255);
    --iconMenuScroll: rgb(255, 255, 255);
    --fondoMenu: rgb(250, 250, 250);
    --letrasResponsive: rgb(85, 85, 85);
    --letrasResponsiveScroll: rgb(85, 85, 85);
    --fondoInicialMenuScroll: rgb(137,60,16);
}

/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
.containerNav {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    position: fixed; 
    top: 0; 
    z-index: 1000; 
    font-family: "Open Sans", sans-serif;
    background-color: rgb(0, 0, 0, .001);
}

.logoHead {
    width: 120px;
    height: 70px;
    margin: 0px 5% 0px 3%;
}

.logoHead img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.containerUl {
    width: 100%;
    height: auto;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 60px;
}

.itemLink {
    text-decoration: none;
    color: var(--letras);
    font-size: 23px;
    border-bottom: 1px solid transparent;
    transition: color 0.7s ease, border-bottom-color 0.7s ease;
}

.itemLink:hover {
    border-bottom: 1px solid rgb(255, 255, 255);
}

.subMenu {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all .3s ease-in-out;
    background-color: var(--iconMenu); 
}

.subMenu.scrolled .bar {
    background-color: var(--iconMenuScroll);
}

/* Estilos para cuando la navegación está fija */
.fixed-header {
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--fondoInicialMenuScroll);
    transition: background-color 0.6s ease;
    -webkit-box-shadow: 0px 3px 13px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 3px 13px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 3px 13px 0px rgba(0, 0, 0, 0.75);
    z-index: 1000; 
}

.logoHead.secondLogo {
    display: none;
}

.logoHead.scrolled {
    display: none;
}

.logoHead.secondLogo.scrolled {
    display: block;
}

.itemLink.scrolled {
    color: var(--letrasScroll);
}

@media(max-width:930px) {
    .containerUl {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--fondoMenu);
        text-align: center;
        gap: 20px;
    }

    .containerUl .itemLi:first-child {
        margin-top: 10px; 
    }

    .containerUl.active {
        display: flex;
    }

    .subMenu {
        display: block;
        position: absolute;
        right: 0;
        margin-right: 10%;
    }

    .subMenu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .subMenu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .subMenu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .logoHead {
        height: 60px;
        /* padding: 8px; */
        margin: 0 10%; 
    }

    .itemLi {
        width: 100%;
        padding: 10px 0; 
        font-size: 20px;
    }

    .itemLink {
        font-size: 20px; 
        color: var(--letrasResponsive);
    }

    .itemLink.scrolled {
        color: var(--letrasResponsiveScroll);
    }
}


/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
/*footer*/
.contenedor_footer
{
    width: 100%;
    height: auto;
    background-image: url(../img/img_footer.png);
    background-size: cover;
    background-position: bottom;
    clip-path: polygon(83% 0, 100% 0, 100% 100%, 0 100%, 0 9%);
}
.filtro_footer
{
    width: 100%;
    height: auto;
    padding-top: 50px;
    clip-path: polygon(83% 0, 100% 0, 100% 100%, 0 100%, 0 9%);
    background-color: rgba(38, 47, 78, 0.703);
    display: flex;
    align-items:flex-end;
    justify-content: center;
}
.cont_informacion_footer
{
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* border: 1px solid green; */
}
.cont_logo_footer
{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content:flex-start;
    border-bottom: 1px solid white;
    padding: 10px 0;
}
.cont_logo_footer img
{
    height: 90px;
}
.cont_arriba_footer
{
    width: 100%;
    display: flex;
    align-items:flex-start;
    justify-content:space-between;
    padding: 10px 0;
}
.cont_izq_footer
{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}
.cont_izq_footer p
{
    font-size: 17px;
    color: white;
    text-align: justify;
}
.cont_der_footer
{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content:flex-start;
    flex-direction: column;
    /* border: 1px solid red; */
}
.cont_der_footer h2
{
    font-size: 17px;
    color: white;
    font-weight: 500;
    padding-bottom: 30px;
}
.cont_redes_footer
{
    width: 90%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}
.boton_red_footer
{
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    border-radius: 10px;
    margin: 2px 0;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s;
}
.boton_red_footer:hover
{
    transition: all 0.3s;
    border: 2px solid grey;
}
.boton_red_footer:hover i
{
    transition: all 0.3s;
    color: grey;
}
.boton_red_footer i
{
    font-size: 20px;
    color: white;
}
.cont_abajo_footer
{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid white;
    padding: 10px 0;
}
.cont_abajo_footer_izq
{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.cont_abajo_footer_der
{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.cont_abajo_footer h3
{
    font-size: 20px;
    font-weight: 500;
    color: white;
    text-align: center;
    padding-bottom: 10px;
}
.cont_abajo_footer img
{
    height: 40px;
}
/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
/*Responsive*/
@media screen and (max-width:840px){
    /*footer*/
    .cont_arriba_footer
    {
        flex-direction: column;
    }
    .cont_izq_footer
    {
        width: 100%;
        padding-bottom: 10px;
    }
    .cont_der_footer
    {
        width: 100%;
    }
}
/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
@media screen and (max-width:570px)
{
    /*footer*/
    .cont_logo_footer
    {
        justify-content:center;
    }
    .cont_izq_footer p
    {
        text-align: center;
    }
    .cont_abajo_footer
    {
        flex-direction: column;
    }
    .cont_abajo_footer_izq
    {
        padding: 10px 0;
    }
    .cont_abajo_footer_der
    {
        padding: 10px 0;
    }
}
/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
@media screen and (max-width:395px){
    /*footer*/
    .cont_logo_footer img
    {
        height: 60px;
    }
    .cont_izq_footer p
    {
        font-size: 15px;
    }
    .cont_abajo_footer h3
    {
        font-size: 17px;
    }
}
