#header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    padding-top: 50px;
    z-index: 10;
    transform: translateY(-50px);

    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition: all 300ms ease-in-out;
}

body.home #header {
    background-color: rgba(215, 255, 181, 0.3);
}

#header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#header-logo a {
    display: flex;
    align-items: center;
    font-family: var(--font-light);
    font-weight: 300;
    font-size: 24px;
    text-decoration: none;
    color: var(--color-text);
}

#header-logo strong {
    font-family: var(--font-text);
    font-weight: 600;
}

#header-logo a::before {
    content: '';
    display: block;
    background-image: url('../images/logo.svg');
    background-repeat: no-repeat;
    height: 48px;
    width: 48px;
}

#header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
}

#header ul,
.language-switcher {
    display: flex;
    list-style: none;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    justify-content: center;
}

#header ul a,
.language-switcher a {
    text-transform: uppercase;
    color: var(--color-text);
    font-family: var(--font-text);
    font-weight: 600;
    text-decoration: none;
    display: block;
    padding: 10px;
}

#header ul a:hover {
    text-decoration: underline;
}

#header ul > li,
.language-switcher > li {
    position: relative;
}

#header ul li > span,
.language-switcher li > span {
    cursor: default;
}

.language-switcher > li:not(:hover) > ul {
    transform: scale(0);
    opacity: 0;
}

.language-switcher > li > ul {
    position: absolute;
    margin: 0;
    padding: 0;
    background-color: var(--color-text);
    border-radius: 10px;
    padding: 5px 10px;
    left: calc(50% - 30px);
    top: calc(100% + 20px);
    transition: all 150ms linear;
    transform-origin: top;
    min-width: 60px;
}

.language-switcher > li > ul a {
    color: var(--color-white)!important;
    text-align: center;
}

.language-switcher > li > ul::before {
    content: '';
    width: 100%;
    padding-bottom: 100%;
    position: absolute;
    left: 0;
    bottom: 100%;
}

.language-switcher > li > ul::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--color-text);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
}

#header-nav-main li + li {
    margin-left: 30px;
}



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

    #header {
        height: 120px;
    }

    #header-logo {
        font-size: 16px;
    }

    #header-logo::before {
        width: 32px;
        height: 32px;
    }

    #header-nav {
        display: none;
    }
}