* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family:'Maple Mono CN';
    height: 100vh;
    background: #eceaff;
}

nav{
    background: #111111;
    width: 100%;
    padding: 0 6%;
    display: flex;
    position: relative;
    align-items: center;
    height: 80px;
}

.logo{
    width: 80px;
    height: 80px;
}

nav ul{
    display: flex;
    width: 100%;
}

nav ul li{
    margin-left: 5%;
    list-style: none;
}

nav ul a{
    text-decoration: none;
    color: #fff;
}

.user-pic{
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

/*菜单部分*/

.dropdown-content{
    position: absolute;
    right: 5%;
    top: 120%;
    background: #f9f9f9;
    box-shadow: 0 8px 16px 0 rgba(153, 153, 153, 0.527);
    z-index: 1;
    border-radius: 10px;
    width: 320px;
    display: none;
}

.dropdown-content a{
    color: black;
    padding: 12px 16px;
    display: flex;
    text-decoration: none;
}

.user-info{
    display: flex;
    align-items: center;
    padding: 5% 0 0 10%;
}
.user-info img{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.user-info h3{
    font-weight: 600;
}

.menu{
    padding-bottom: 3%;
}

.menu hr{
    border: 0;
    height: 2px;
    background: #dfdbdb;
    width: 80%;
    margin: 5% 0 3% 10%;
}

.menu-link img{
    width: 23px;
    height: 23px;
    align-items: center;
    margin-right: 10px;
}

.menu-link p{
width: 100%;
font-size: 15px;
}

.menu-link span{
    font-size: 20px;
    transition: transform 0.3s;
}

.menu-link{
    margin: 0 5% 0 5%;
    
}

.menu-link :hover span{
    transform: translateX(5px);
}