.MobileState {
    display: none;
    width: 0px
}

/* only for defining that Mobile or desktop css is acting for using in JS */
:root {
    --headerHeight: 9rem;
    --headerTime: 0.5s;

    :has(header.stuck) {
        /* --headerHeight: 50px; */
    }
}

header {
    width: 100%;
    height: var(--headerHeight);

    * {
        transition: .3s;
    }

    a {
        color: white;
    }

    .myIcons {
        font-size: 250%;
        display: block;
    }
}

#headerWrapper {
    position: fixed;
    z-index: 1200;
    width: 100%;
    height: var(--headerHeight);
    background-color: var(--color1);
    display: flex;
    flex-direction: column;
}

#headerBanner {
    background-color: white;
    color: var(--color1);
    text-align: center;
    font-weight: 100;
    height: calc(var(--headerHeight) * 0.25);
    place-content: center;
}

#headerContainer > *{
    place-content: center;
}


#headerContainer {
    background-color: var(--color1);
    flex-grow: 2;
    padding-inline: 2vw;
    position: relative;
    display: flex;
    gap: 0 10px;
    justify-content: space-between;
    align-items: stretch;
    color: white;
    height: calc(var(--headerHeight)*0.75);

    >div {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    #logo {
        display: flex;
        align-self: center;
        align-items: center;
        margin-inline-end: 20px;
        gap: 7px;
        height: 50%;
        color: white;
        line-height: 1.5em;

        >div {
            white-space: nowrap;
            --fontsize: min(14px, 3vw);
            font-size: var(--fontsize);
            line-height: calc(var(--fontsize)*1.8);
        }


    }
}

header.stuck {
    #headerBanner {
        height: 0;
        opacity: 0;
    }

    #headerWrapper {
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
    }

    #logo {
        height: 80%;

        >div {
            line-height: 1.2em;
            font-size: 80%;
        }
    }
}




#logo img {
    height: 100%;
}

#headerWrapper.stuck #logo p .logo-en {
    /* font-size:10px; */
}

header input[type="checkbox"],
header input[type="radio"] {
    display: none;
}

.contactusEn a {
    margin-right: auto;
}

#pageAddressBar {
    font-size: 80%;

    a {
        color: gray;

        &:hover {
            color: var(--color2);
        }
    }

    a:not(:first-child)::before {
        content: '/';
        font-family: webIcons;
        margin-inline: .5ch;
    }
}

#welcome {
    font-size: 10px;
    line-height: 15px;
    white-space: nowrap;

}

#mainMenu {
    *:not(.myIcons) {
        font-weight: 400;
        font-size: .9rem;
    }

    a:link,
    a:visited,
    label {
        color: white;
    }

    a[onclick="soon()"] {
        color: lightgray;
    }
    
}