nav ul {
    padding: 0 0px;
    list-style: none;
    position: relative;
    width: 100%;
}

nav ul:after {
    content: "";
    clear: both;
    display: block;
}

nav ul li {
    float: left;
}

nav ul li:hover {
    background: rgb(255 255 255 / 80%) !important;
}

nav ul li a {
    display: block;
    padding: 20px 30px;
    text-decoration: none;
    color: #333333;
    font-size: 15px;
    font-weight: 500;
}

nav ul li a:hover {
    color: #333333;
    font-size: 15px;
    font-weight: 500;
}

nav ul ul {
    display: none;
    background: rgb(255 255 255 / 80%) !important;
    padding: 0;
    position: absolute;
    top: 100%;
    max-width: 300px;
    width: auto;
}

nav ul ul li {
    float: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    position: relative;
}

nav ul li:hover > ul {
    display: block;
}

nav ul ul li a {
    padding: 10px 40px;
    color: #333333;
    font-size: 15px;
    font-weight: 500;
}

nav ul ul li a:hover {
}

nav ul ul ul {
    position: absolute;
    left: 100%;
    top: 0;
    width: 200px;
}