@keyframes NavItem {
    0% {
        width: 0;
    }

    100% {
        width: 80%;
    }
}

.navbar-nav .cur a {
    color: var(--main-color);
}

.navbar-nav .cur a::after {
    display: block !important;
}

.navbar-nav .nav-item a {
    transition: 500ms;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.navbar-nav .nav-item {
}

.navbar-nav .nav-item:hover a::after {
    display: block;
}

.navbar-nav .nav-item a::after {
    content: '';
    width: 0;
    height: 2px;
    background-color: var(--main-color);
    position: absolute;
    bottom: 0;
    display: none;
    animation: NavItem 500ms forwards;
}

.downList {
    background-color: #fff;
    z-index: 99;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    box-sizing: border-box;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    height: 0;
    padding: 0;
    overflow: hidden;
}

.downList .cont {
    margin: 50px 0;
    display: flex;
}