*,
*::before,
*::after {
    margin: 0;
    padding: 0;
}

body {
    font-family: Roboto;
}

a {
    text-decoration: none;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local('Roboto Medium'), local('Roboto-Medium'), url('roboto.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

header nav{
    display: flex;
    width: 100%;
    height: 80px;
    transition: height 350ms ease-in-out;
    justify-content: space-between;
    position:fixed;
    top:0;
    z-index:1000000;
    padding-bottom:5px;
    background: /* gradient can be an image */
        linear-gradient(
        to right, 
        rgba(35,78,175,1) 0%,
        rgba(21,188,105,1) 100%
        )
        right
        bottom
        white    
        no-repeat; 
    background-size:100% 2px ;/* if linear-gradient, we need to resize it */
}

header nav .logo{
    margin-left: 15px;
    padding: 10px;
}

header nav .hamburger {
    -ms-flex-item-align: center;
    margin: 15px;
    margin-right: 30px;
    cursor:pointer;
}

header nav ul {
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    -webkit-padding-start: 0;
    padding-inline-start: 0;
    display: none;
}

header nav ul li {
    list-style: none;
    padding: 18px;
}

header nav ul li a {
    color: #234EAF;
    font-size: 20px;
    font-weight:500;
}

header nav ul li:nth-child(-n+4) a:after {
    content: '';
    width: 0px;
    height: 2px;
    display: block;
    background: #15BC69;
    transition: 300ms;
}
  
header nav ul li:nth-child(-n+4) a:hover:after {
    width: 100%;
}

header nav ul li.li-connect {
    padding: 19px 20px 22px 20px !important;
}

header nav ul li.li-connect a {
    display: none;
    -ms-flex-item-align: center;
    align-self: center;
    padding: 10px;
    border-radius:4px;
    background-color: #15BC69;
    color: white;
    cursor: pointer;
    font-size: 18px;
    transition: ease-out 0.2s;
}

header nav ul li.li-connect a:hover {
    background-color: #234EAF;
}

.expanded {
    height: 350px;
}

@media screen and (min-width: 860px) {
    nav {
        display: flex !important;
        justify-content: space-around !important;
    }
    nav .hamburger {
        display: none;
    }
    nav .logo {
        display: flex;
        -ms-flex-item-align: center;
        align-self: center;
    }
    nav ul {
        display: flex !important;
        flex-direction: row !important;
    }
    nav ul li {
        border: none;
        padding: 29px 13px !important;
        text-align: center;
    }
    nav ul li.li-connect a {
        display: block !important;
    }
}

@media screen and (min-width:1200px){
    nav ul li {
        border: none;
        padding: 29px 20px !important;
        text-align: center;
    }
}