﻿.header {
    background-color: var(--primary-color);
    /*height: calc(var(--height-header) + 1rem);*/
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 4rem
}

.fila-superior {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.large-menu {
    display: flex;
    gap: 24px;
}

.fila-superior > div > span {
    color: white;
    display: flex;
    gap: 5px;
    cursor: pointer;
}

    .fila-superior > div > span a {
        color: white;
        text-decoration: none;
    }

.fila-inferior {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

    .fila-inferior i {
        color: #e6f2f9 !important;
        height: 24px !important;
    }

a > img {
    width: 20px;
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-trigger {
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-arrow {
    font-size: 0.8em;
}

.language-list {
    width: 7rem;
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 135%;
    right: -25px;
    background-color: white;
    border: 1px solid #ccc;
    border-top: none;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: none;
}

.language-dropdown:hover .language-list {
    display: block;
}

.language-item {
    text-align: center;
    cursor: pointer;
    padding: 10px;
}

    .language-item:hover,
    .language-item:focus {
        background-color: #f0f0f0;
    }

.language-dropdown[aria-expanded="true"] .language-list {
    display: block !important;
}

/*Tamaño reducido*/
.short-menu {
    display: none;
    position: relative;
}

.bm-BurguerMenuAlt {
    color: white;
    cursor: pointer;
}

.language-short {
    display: flex;
    gap: 10px;
    padding-bottom: 5px;
}

    .language-short div {
        color: var(--primary-color);
    }

.short-menu-options {
    display: none;
    color: white;
    flex-direction: column;
    gap: 10px;
    width: 10rem;
    padding-top: 10px;
    padding-left: 10px;
    margin-top: 5px;
    position: absolute;
    top: 3rem;
    right: 0px;
    background-color: white;
    border: 1px solid #ccc;
    border-top: none;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

    .short-menu-options i {
        color: var(--primary-color);
    }

@media (max-width: 834px) and (min-width: 579px) {
    .large-menu {
        display: none;
    }

    .short-menu {
        display: block;
    }
}


@media (max-width: 578px) and (min-width: 360px) {
    .large-menu {
        display: none;
    }

    .short-menu {
        display: block;
        position:relative;
    }

    .short-menu-options {
        width: 100vw;
        right: -63px;
    }
}
