
:root{
    --link-height: 30px;
}

nav a, nav button{
    pointer-events: all;
}
nav{
    overflow: auto;
    background: var(--menu-background);
}
.menu-button,.menu-button-style{
    position: absolute;
    right: 10px;
    --height: 30px;
    height: var(--height);
    pointer-events: all;
    font-weight: 600;
    aspect-ratio: 1/1;
    display: flex;
    gap: 5px;
    font-size:19px;
    justify-content: center;
    align-items: center;
    box-shadow: var(--box-shadow);
    border-radius: var(--height);
    background: var(--menu-trigger-button-background);
    color: var(--menu-trigger-button-text);
}
.menu-trigger-button-icon{
    background: var(--menu-trigger-button-text);
    height: 60%;
    aspect-ratio: 1/1;
    mask-image: url(/assets/media/images/um-icon_white.svg);
}
.menu-link{
    font-weight: 600;
    background: var(--fill-1);
    color: var(--dark-grey);
    color: var(--light-grey);
    color: white;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    height: var( --link-height);
    padding: 0 10px;
    border-radius:100px;
}
.menu-link[data-ext]{
    background: var(--pink-decorated-background);
    color: white;
}
.menu-link>i:not(.menu-link[data-ext] i){
    color: var(--light-grey);
    color: var(--dark-grey);
    color: white;
}
.menu-close-button{
    position:absolute;
    color: var(--font-color);
    font-size: 35px;
    inset: 20px 20px auto auto;
}

.menu-branding-container{
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    position: absolute;
    position: initial;
    inset: 20px auto auto 20px;
}
.menu-branding{
    height: var(--link-height);
    background: var(--menu-branding);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
}
.menu-branding-logo{
    width: 35px;
    background: var(--menu-branding-logo);
    aspect-ratio: 1/1;
    mask-image: url(/assets/media/images/um-icon_white.svg);
}
.menu-branding-text{
    font-size: 20px;
    font-weight: 800;
}

.lang-switcher{
    height: 25px;
    width: 200px;
    display:flex;
    justify-content: flex-start;
    align-items: center;
    font-weight: 600;
    border-radius:100px;
    background:var(--fill-1);
    color:var(--light-grey);
}
.lang-switcher > button{
    width: 50%;
    height:100%;
    border-radius: inherit;
}

html[lang="en"] .lang-switcher-lang[data-en]{
    background: var(--background-color-inverse);
    color: var(--font-color-inverse);
    pointer-events: none;
}

html[lang="fr"] .lang-switcher-lang[data-fr]{
    background: var(--background-color-inverse);
    color: var(--font-color-inverse);
    pointer-events: none;
}

html[lang="fr"] .lang-switcher-lang[data-fr]::beforee{
    content: '\f57c\0020';
    font-size: .8rem;
    white-space: pre;
    --_fa-family: var(--fa-family, var(--fa-style-family, "Font Awesome 7 Free"));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: var(--fa-display, inline-block);
    font-family: var(--_fa-family);
    font-feature-settings: normal;
    font-style: normal;
    font-synthesis: none;
    font-variant: normal;
    font-weight: var(--fa-style, 900);
    line-height: 1;
    text-align: center;
    text-rendering: auto;
}

.languageLink{
    opacity:1.3;
}

@media only screen and (min-width: 600px){
    :root{
        --link-height: 25px;
    }

    .lang-switcher{
        height: 25px;
    }

    .menu-button,.menu-button-style{
        font-size: 14px;
    }
}