/* .navbar{
    background-color: rgba(255, 255, 255, 0.4) !important;
    color: white !important;
}
.nav-link{
    color: white !important;
} */

.navhead {
    /* background-color: white !important; */
    background-color: rgba(255, 255, 255, 1) !important;
}

nav {
    position: relative;
}

.navbar-nav {
    box-sizing: border-box;
}



/* 项目卡css样式 */
.nav-link {
    height: 3rem;
    line-height: 3rem;
    font-size: 16px !important;
    box-sizing: border-box;
    padding: 0rem !important;
    color: #646464 !important;
    /* gao 关闭原来的css样式 */
    /* padding-top: 0.5rem !important;
    padding-bottom: 0rem !important; */
}
.nav-item {
    box-sizing: border-box;
    perspective: 500px;
    width: 70px;
    height: 5rem;
    margin: 0 8px;
    float: left;
    line-height: 5rem;
}
.linkBox {
    position: relative;
    width: 100%;
    height: 3rem;
    /* gao 关闭饭庄样式 */
    /* transform-style: preserve-3d;
    transition: all 0.6s;
    cursor: pointer; */
    margin-top: 1rem;
}
/* gao 关闭反转样式 */
/* .linkBox:hover {
    transform: rotateX(90deg);
} */

.linkTop,
.linkBottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    /* line-height: 40px; */
    color: #fff;
}

.linkTop {
    /* 关闭选项颜色 */
    /* background-color: #27a8e1; */
    z-index: 1;
    /* 关闭项目卡反转特效 */
    /* transform: translateZ(20px); */
    /* border-radius: 8px; */
}

.linkBottom {
    background-color: #17a2b8;
    /* border-radius: 8px; */
    transform: translateY(20px) rotateX(-90deg);
}


/* .nav-link:hover {
    color: #17a2b8 !important;
} */

/* .nav-link:hover {
    border-bottom: 3px solid black;
    box-sizing: border-box;
} */
#navgap {
    width: 100%;
    height: 3px;
    background-color: #000;
    display: none;
}

.nav2 a {
    color: black;
}

.nav2 {
    background: white;
    position: absolute;
    top: 65px;
    z-index: 996;
    display: none;
    box-shadow: 0px 0px 15px #000;
    border-radius: 6px;
    font-size: 14px;
    width: 12.4rem;
    /* text-align: center; */
    padding-left: 1.875rem;
    line-height: 2.5rem;

    /* padding-top: 0.5rem;
    padding-bottom: 0.5rem; */
    /* padding: 0.5rem 1rem;
    padding-right: 1.2rem;
    padding-left: 1.2rem; */
    box-sizing: border-box;
    /* animation-name: nav2an;
    animation-duration: 2s; */
}

.nav2 p {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* @keyframes nav2an{
    from{
        width: 6.4rem;
        height: 0;
    }
    to{
        width: 6.4rem;
        height: 100%;
    }
} */
nav ul li:hover .nav2 {
    display: block;
}

/* .nav2{
    width: ;
} */
.changeEN {
    font-size: 14px !important;
    color: rgb(100, 100, 100) !important;
    margin-top: 1rem;
}