header{
    position: sticky;
    position: -webkit-sticky;
    width: 100%;
    height: 8%;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out
}

.active {
    background-color: rgb(32, 32, 32);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

header ul {
    display: inline-flex;
    list-style: none;
}
header ul li{
    display: inline-flex;
}
header li img{
    position: relative;
    min-height: 10px;
    height: 15px;
    max-height: 30px;
    filter: invert(1);
}
header li a {
    color: #ffffff;
    margin-right: 30px;
    margin-left: 10px;
    font-size: 1.5vh;
    font-weight: 500;
    text-decoration: none;
    /* align text to center */
    display: flex;
    align-items: center;
    text-align: center;
    line-height: 50%;
    
}
header #emait-logo{
    height: 120%;
    margin-left : 20px;
    width: auto;
    position: relative;
    transition: ease-in-out 0.3s;
    color: white;
    text-align: center;
    font-size: 20px;
}
.active #emait-logo{
    scale: 0.9;
}

/* Responsive Header */
@media only screen and (max-width: 850px)  {
    header{
        padding: 0 5px;
        transition: ease-in-out 0.3s;
    }
    header li a {
        margin-right: 20px;
        margin-left: 10px;
    }
}