/* Main header */

header {
    width: 100%;

    display: flex;

    padding: 40px 80px;

    z-index: 1;
}

.header-main {
    width: 100%;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-main-trademark > a {
    display: flex;
}

.header-main-trademark > a > img {
    height: 38px;
}

.header-main-nav {
    display: flex;
    align-items: center;
}

.header-main-nav > a.active {
    font-weight: 800;
}

.header-main-nav > a:not(:last-child) {
    color: #FFFFFF;

    margin-right: 20px;
}

header.dark .header-main-nav > a:not(:last-child) {
    color: var(--primary-color);
}

.main-lang-switcher-btn {
    color: #FFFFFF;

    margin-right: 20px;
    
    cursor: pointer;
}

header.dark .main-lang-switcher-btn {
    color: var(--primary-color);
}

.main-lang-options {
    display: flex;
    align-items: center;

    padding-right: 20px;

    display: none;
}

.main-lang-options > li {
    display: flex;
    align-items: center;

    cursor: pointer;
}

.main-lang-options > li:not(:last-child) {
    margin-right: 20px;
}

.main-lang-options > li > img {
    height: 20px;

    object-fit: cover;
}

/* Mobile header */

.header-mobile {
    width: 100%;

    display: none;
    flex-direction: column;
}

.header-mobile-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-mobile-panel > a > img {
    height: 24px;
}

.header-mobile-panel > span {
    font-size: 24px;
    font-weight: 800;

    cursor: pointer;
}

.header-mobile-panel-toggle-btn > i {
    color: #FFFFFF;
}

header.dark .header-mobile-panel-toggle-btn > i {
    color: var(--primary-color);
}

.header-mobile-nav {
    width: 100%;
    height: 100vh;

    background-color: rgba(0, 0, 0, 0.8);

    display: none;
    align-items: center;

    position: absolute;

    top: 0;
    left: 0;
}

.header-mobile-nav > div {
    height: 100%;

    background-color: #FFFFFF;

    display: none;
    flex-direction: column;
    justify-content: center;
}

.header-mobile-nav > div > a {
    width: fit-content;
    
    color: var(--primary-color);

    white-space: nowrap;

    margin-bottom: 20px;
}

.mobile-lang-options {
    display: flex;
}

.mobile-lang-options > li {
    display: flex;
    align-items: center;

    cursor: pointer;
}

.mobile-lang-options > li:not(.mobile-lang-options > li:last-child) {
    margin-right: 20px;
}

.mobile-lang-options > li > img {
    width: 20px;
}

@media only screen and (max-width: 1000px) {
    .header-main {
        display: none;
    }

    .header-mobile {
        display: flex;
    }
}

@media only screen and (max-width: 800px) {
    header {
        padding: 40px 60px;
    }
}

@media only screen and (max-width: 600px) {
    header {
        padding: 40px;
    }
}

@media only screen and (max-width: 400px) {
    header {
        padding: 20px;
    }
}