.all-cases-link {
    display: none;
}

.nav-submenu{
    display: flex;
    flex-direction: column;
    padding: 10px;   
}
.nav-submenu li:hover a{
    color: black;
}
.nav-container ul li ul.nav-submenu{
    width: 200px;
    border-radius: 10px;
    background-color: rgba(89,235,172,0.95);
    position: absolute;
    left: -20px;
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    text-align: center;
}
.actual-ele:hover ul.nav-submenu{
    transition: opacity 0.6s ease;
    visibility: visible;
    opacity: 1;
}

@media screen and (max-width:768px) {
    .upper-navigation{
        display: none;
        visibility: hidden;
    }
    .all-cases-link {
        display: block;
    }
}
.upper-navigation{
    z-index: 9;
    width: 100%;
    /* padding: 10px; */
    height: 82px;
    display: block;
    /* background-color: blue; */
    position: absolute;
    top: 0;
}
.upper-navigation.scrolled {
    position: fixed;
    background-color: rgba(0,0,0,0.8) !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: all 200ms ease-out;
}

.nav-container{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background-color: burlywood; */
}
.nav-container ul{
    width: 600px;
    display: flex;
    justify-content: space-evenly;
    margin-right: 30px;
    margin-top: 10px;
    list-style-type:none;
    /* background-color: aqua; */
}
.nav-container ul li{
    padding: 2px;
    position: relative;
    /* background-color: brown; */
}

.nav-container > ul > li:after{
    content: '';
    position: absolute;
    border-radius:50px;
    height: 2px;
    left: 0;
    bottom: 0;
    width: 0;
    background-color: white;
    transition: all 0.3s ease-out;
}
.nav-container ul li:hover:after{
    width: 40%;
    background-color: aquamarine;
}

.nav-container ul a{
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    
}