/* 
-- nom: headerT.css --
-- autor: A.Moseguí / TT22 --
-- versió: 2504 --
*/
:root {
    --h-mn-hgt: 40%;
    --h-nvb-hgt-tablet: 1.6rem;
    --h-nvb-cnt-top-tablet: var(--sh-hgt);
}
/*  -- HEADER = h  -- */
.h {
    width: 100%;
    height: 100%;
    background-color: var(--cl-drk-hg);
    display: flex;
    align-items: center;
}

.h--fixed {
    position: fixed;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    z-index: 1000;
}

.h__l-cnt,
.h__m-cnt,
.h__r-cnt {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.h__l-cnt {
    width: 20%;
}

.h__m-cnt {
    width: 50%;
}

.h__r-cnt {
    width: 30%;
}

.h__logo {
    width: 70%;
    height: 70%;
    cursor: default;
    display: flex;
    justify-content: center;
    align-items: center;

}

.h__logo-img {
    max-width: 70%;
    max-height: 100%;
}

.h__logo-txt {
    font-size: 1rem;
    color: var(--cl-clr-md);
    cursor: default;
}

.h__tl-txt {
    font-size: 1.8rem;
    color: var(--cl-clr-hg);
}

.h__mn {
    width: 80%;
    height: var(--h-mn-hgt);
    display: flex;
    align-items: center;
}

.h__mn-basic {
    font-size: 1rem;
    color: var(--cl-clr-md);
}

.h__mn-ip {
    display: none;
}

.h__mn-lb {
    font-size: 2rem;
    color: var(--cl-clr-md);
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
}

.h__nvb-cnt {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10%;
}

.h__nvb {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.h__nvb:hover>.h__icon-tl-cnt {
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease-out;
}

.h__nvb:hover>.h__icon {
    transform: scale(1.2);
    transition: all 0.5s ease-out;
}

.h__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    transition: all 0.5s ease-out;
}

.h__icon-img {
    height: 100%;
}

.h__icon-tl-cnt {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease-out;
    opacity: 0;
    visibility: hidden;
    text-align: center;
    top: -1.2rem;
}

.h__icon-tl-txt {
    color: var(--cl-clr-md);
    font-size: .8rem;
    font-weight: 500;
}

.h--trp {
    background-color: transparent;
}

.h__trp-half {
    background-color: var(--cl-trp-half);
}

@media (max-width:720px) {
    .h__tl-txt {
        font-size: 1.6rem;
    }

    .h__mn {
        justify-content: center;
    }

    .h__mn-lb {
        visibility: visible;
        opacity: 1;
    }

    .h__nvb-cnt {
        position: absolute;
        top: var(--h-nvb-cnt-top-tablet);
        right: 2%;
        width: 35%;
        height: auto;
        gap: 2rem;
        background-color: var(--cl-drk-lw);
        padding: 1rem 0;
        border: .1rem solid var(--cl-clr-lw);
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        flex-flow: column nowrap;
        align-items: flex-start;
        z-index: 1100;
    }

    .h__nvb {
        width: 80%;
        height: var(--h-nvb-hgt-tablet);
        left: 5%;
        justify-content: flex-start;
    }

    .h__icon {
        width: 4rem;
    }

    .h__icon-tl-cnt {
        position: relative;
        justify-content: flex-start;
        top: 0;
        transition: none;
        opacity: 1;
        visibility: visible;
        text-align: left;
    }

    .h__icon-tl-cnt:hover {
        transition: all 0.5s ease-out;
    }

    .h__icon-tl-txt {
        font-size: 1rem;
    }

    .h__icon-tl-cnt:hover .h__icon-tl-txt {
        font-size: 1.2rem;
        transition: all 0.5s ease-out;
    }

    .h__mn-ip:checked~.h__nvb-cnt {
        transform: scaleY(1);
        opacity: 1;
    }

    .h__mn-ip:checked~.h__mn-lb::before {
        content: '\f146';
    }
}

@media (max-width:480px) {
    .h__logo {
        width: 60%;
        height: 60%;
    }

    .h__tl-txt {
        font-size: 1.2rem;
    }

    .h__nvb-cnt {
        width: 50%;
    }
}