header {
    position: sticky;
    top: 0;
    z-index: 9999;
}

header nav {
    background-color: #009de0;
    color: #fff;
    height: 50px;
    font-size: 20px;
}

header nav ul {
    display: flex;
    padding: 0;
    justify-content: center;
    height: 100%;
    margin: 0 auto;
    width: 60%;
}

header nav ul li {
    align-self: center;
    list-style-type: none;
    border-right: #ffd966 dashed 1px;
    height: 100%;
    line-height: 49px;
}

header nav ul li:last-child {
    border-right: none;
}

header a {
    color: inherit;
    text-decoration: none;
}

.nav-link {
    display: block;
    height: 100%;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    margin: 0;
}

.nav-dropdown {
    position: relative;
}

.nav-link .fa-caret-down {
    margin-left: 0.255em;
}

.dropdown-menu {
    border: 1px solid rgba(255,217,102,.3);
    color: #000;
    position: absolute;
    top: 50px;
    background-clip: padding-box;
    background-color: rgba(255,255,255,0.93);
    display: none;
    float: none;
    font-size: 1rem;
    left: -1px;
    list-style: none;
    min-width: 10rem;
    text-align: left;
    width: 100%;
    z-index: 1000;
}

.dropdown-item {
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255,217,102,.3);
    border-left: 3px solid transparent;
    display: block;
    font-size: 14px;
    line-height: 1.7em;
    padding: 5px 14px;
    text-transform: unset;
    transition: 0.2s ease-in-out;
    white-space: nowrap;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
    font-weight: 600;
    border-left: #e3001b solid 3px;
}

.nav-mobile {
    display: none;
    align-items: center;
    cursor: pointer;
    height: 100%;
    margin-left: 35px;
    width: fit-content;
}

.nav-mobile-icon {
    font-size: 30px;
}



/* RESPONSIVE */
@media (max-width: 1378px) {
    header nav ul {
        width: 100%;
    }

    .nav-link {
        padding: 0 1rem;
    }

    .dropdown-item {
        padding: 5px;
    }
}

@media (max-width: 1117px) {
    .nav-link {
        padding: 0 0.5rem;
    }

    .dropdown-item:focus,
    .dropdown-item:hover {
        font-weight: normal;
    }
}

@media (max-width: 1050px) {
    .nav-link,
    .dropdown-item{
        font-size: 12px;
    }
}

@media (max-width: 917px) {
    .nav-mobile {
        display: flex;
    }

    header nav ul {
        display: none;
    }

    header nav ul {
        flex-direction: column;
        justify-content: start;
        height: initial;
        width: fit-content;
        margin: 0 0 0 30px;
    }

    header nav ul li {
        align-self: initial;
        line-height: 30px;
        color: #000;
        border-right: none;
        background-color: rgba(255,255,255,0.93);
    }

    .nav-link,
    .dropdown-item{
        font-size: 14px;
    }

    .dropdown-menu {
        position: initial;
        background: none;
    }

    .dropdown-item {
        padding: 5px 5px 5px 10px;
    }
}
