.top-nav{
    position: fixed;
    width: 100%;
    top: 20px;
    height: 60px;
    background: linear-gradient(#66ddd0, #28a3fa);
    box-sizing: border-box;
    z-index: 99;
}

.nav-logo{
    float: left;
    height: 100%;
    position: relative;
}

.nav-logo img{
    position: relative;
    height: 100%;
    left: 20%;
}

.nav-topics{
    float: left;
    height: 100%;
}

.nav-titles{
    display: block;
    position: relative;
    left: 35%;
    width: 85%;
    height: 100%;
    User-select: none;
}


.nav-title{
    float: left;
    position: relative;  
    font-size: 1.3em;
    width: 90px;
    margin-right: 2%;
    height: 60px;

}

.nav-title:last-child
{
    margin-right: 0%;
}


.long-nav{
    width: 180px;
}

.middle-nav{
    width: 85px;
}

.short-nav{
    width: 70px;
}

.nav-link{
    display: block;
    height: 100%;
    text-align: center;
    position: relative;
    color: #eef9fc;
    transition: all .3s;
    width: auto;
    padding: 0;
    cursor: pointer;
}

.nav-link span{
    position: relative;
    top: 20%;
}


.nav-tag::before{
    content: '';
    display: block;
    position: absolute;
    height: 15px;
    border-radius: 15px;
    border: 4px solid #063f11;
    width: 15px;
    right: 0;
    top: 80%;
    transform: translateY(-50%);
}

.nav-tag::after{
    content: '';
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    display: block;
    height: 11px;
    width: 3px;
    position: absolute;
    background-color: #fff;
    bottom: -3px;
    right: 6px;
}

.nav-title>.tag{
    display: block;
    font-size: 0.85em;
    text-align: center;
    height: 300px;
    overflow: hidden;
    padding-top: 70px;
    display: none;
    width: 200px;
    background: url(https://static.igem.wiki/teams/4223/wiki/ltag.png) no-repeat;
    background-position: center -50px ;
    background-size: 90%;
    transform: translateX(-25px);
}

#h-practices{
    transform: translateX(70px);
}

#wet-lab{
    transform: translateX(-20px);
}

#dry-lab{
    padding-top: 100px;
}

#team{
    transform: translateX(-40px);
    padding-top: 85px;
}


.tag>li{
    height: 45px;
    line-height: 45px;
}

.tag>li a{
    font-family: 'Mircosoft Yahei';
    color: #2f291b;
    font-size: 0.8em;
    font-weight: 700;
}

#h-practices{
    padding-top: 90px;
}

#dry-lab{
    padding-top: 120px;
}

.nav-link:hover {
    color: #002073;
}

.tag-link:hover{
    color: #967a62;
}


