.ml_header {
    position: fixed;
    top: 0;
    width: 100%;
    transition: 1s;
    z-index: 2;
}

.ml_header__content {
    padding: var(--pd-header);
    display: flex;
    justify-content: space-between;
}

.header__img {
    position: relative;
    margin: auto 0;
}

.header__logo a {
    display: flex;
}

.menu__btn {
    display: none;
    position: relative;
    height: 100%;
}

.menu__btn a {
    height: 100%;
    display: flex;
    align-items: center;
}

.menu__btn i {
    display: block;
    background: var(--bg-purple-1);
    color: var(--bg-white);
    padding: 0.6rem;
    border-radius: 0.3rem;
}

.header__menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu__list {
    display: flex;
    text-decoration: none;
    padding: 0;
    margin: 0;
    gap: 1.5rem;
}

.menu__list__item {
    list-style: none;
    display: flex;
}

.menu__list__item a {
    text-decoration: none;
    color: var(--bg-white);
    padding: var(--pd-header-link);
    border-radius: .3rem;
}

.item-contacto a {
    background: var(--bg-purple-1); 
    color: white;
    padding: var(--pd-header-link-btn);
}

.item-contacto a:hover {
    background: var(--bg-purple-1);
}

/* SELECT MENU */
.selected-1 {
    transition: .8s;
    color: var(--bg-fucsia-1) !important;
}

.selected-2 {
    transition: .8s;
    color: var(--bg-lightblue-1) !important;
}

.selected-3 {
    transition: .8s;
    color: var(--bg-purple-1) !important;
}

.selected-4 {
    transition: .8s;
    color: var(--bg-lightblue-1) !important;
}

.selected-5 {
    transition: .8s; 
    color: white !important;
}

.selected-6 {
    background: var(--bg-fucsia-2) !important;
}

/* SWITCH */

@keyframes colors {

    0%,
    100% {
        background-color: #fff;
    }

    60% {
        background-color: #def;
    }
}

.ml_language input {
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.ml_language .lang {
    color: #fff;
    cursor: pointer;
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    font-size: .8rem;
    font-weight: bold;
    margin: auto;
    position: relative;
}

.ml_language .lang::before {
    background-color: var(--bg-lightblue-1);
    border-radius: 3px;
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transition: all .3s ease;
    width: 100%;
}

.ml_language input:checked+.lang::before {
    transform: rotate(90deg);
    background-color: var(--bg-fucsia-1);
}

.ml_language .lang span {
    left: 50%;
    line-height: 1em;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all .3s ease;
}

.ml_language .lang .es {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

.ml_language input:checked+.lang .es {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0);
}

.ml_language input:checked+.lang .en {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-45deg);
}



/* ------------------------------------------
                [RESPONSIVE]
------------------------------------------- */

@media only screen and (max-width: 768px) {

    .ml_header__content {
        padding: .6rem 1rem;
        display: flex;
    }

    .header__img {
        background-color: var(--bg-header);
        z-index: 2;
        padding: .5rem;
        display: flex;
    }

    .header__logo img {
        width: 75px;
    }

    .header__menu nav {
        display: none;
        position: absolute;
        width: 100%;
        top: 53px;
        left: 0;
        box-shadow: 1px 5px 15px -6px rgba(0, 0, 0, 0.39);
        -webkit-box-shadow: 1px 5px 15px -6px rgba(0, 0, 0, 0.39);
        -moz-box-shadow: 1px 5px 15px -6px rgba(0, 0, 0, 0.39);
    }

    .menu__btn {
        display: block;
    }

    .menu__list {
        width: 100%;
        margin: 0;
        flex-direction: column;
        background-color: var(--bg-white);
        gap: 0;
    }

    .menu__list__item {
        width: 100%;
        height: auto;
        border-bottom: 1px solid var(--bg-gray-3);
    }

    .menu__list__item a {
        padding: .5rem .5rem;
        display: inline-flex;
        width: 100%;
        text-align: center;
        justify-content: center;
        color: var(--bg-dark);
        background: transparent !important;
    }

    .ml_language .lang {
        width: 2.1rem;
        height: 2.1rem;
        border-radius: 0.3rem;
    }

    .tooltip .tooltiptext-header {
        top: 135%;
        left: 0;
    }

    .tooltip .tooltiptext-header::after {
        left: 70%;
    }
 
    .selected-5 {
        transition: .8s;
        color: var(--bg-purple-2) !important; 
    }

}