* {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    box-sizing: border-box;
}


.outer-container {
    width: 250px;
    height: 800px;
    display: none;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 250px;
    /* 容器最大宽度为960像素 */
    /* height: 100%; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    /* 将容器向右移动，使其紧贴页面左侧 */
    margin-right: 0;
    background: url('image/bg.png');
    background-repeat: no-repeat;
    background-position: bottom;
}

.container nav {
    width: 100px;
    height: min-content;
    padding: 16px;
    border-radius: 12px;
    backdrop-filter: blur(18px);
    background: rgba(230, 235, 240, .7);
    border: 2px solid rgba(230, 235, 240, .7);
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .6s cubic-bezier(.8, .5, .5, .8);
}

.container nav:hover {
    width: 320px;
}

nav .brand {
    width: 100%;
    display: flex;
    align-items: center;
}

nav .brand img {
    width: 65px;
    border-radius: 50%;
    border: 4px solid rgba(230, 235, 240, .8);
}

nav .brand p {
    color: #505257;
    font-weight: 500;
    font-style: italic;
    text-align: left;
    line-height: 22px;
    margin: 0 0 0 12px;
}

nav .brand p span {
    color: #3c3e43;
    display: block;
    font-size: 26px;
    font-style: normal;
}

nav .line {
    width: 100%;
    height: 2px;
    margin: 32px 0;
    border-radius: 30%;
    background: #87a3af;
}

nav .list {
    width: 100%;
}

nav .list li {
    display: flex;
    margin: 12px 0;
    padding: 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: .4s ease-in-out;
}

nav .list li:hover {
    background: rgba(230, 235, 240, .4);
}

nav .list li.active {
    background: #3681f6;
}
nav .list li:not(.active):hover {
    background: #3681f6;
}

nav .list li.active span {
    color: #fff;
}

nav .list li.active i {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    color: #e6ebf0;
}

nav .list i {
    font-size: 20px;
    background: linear-gradient(-135deg,
            #3c3e43,
            #838487);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav .list span {
    color: #505257;
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 0 12px;
}

nav .brand p,
nav .list span {
    opacity: 0;
    pointer-events: none;
    transform: translateX(20px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        pointer-events: unset;
        transform: translateX(0);
    }
}

nav:hover .brand p {
    animation: fadeIn .4s ease-out forwards;
    animation-delay: .4s;
}

nav:hover .list span {
    animation: fadeIn .4s ease-out forwards;
}

nav:hover .list li:nth-child(1) span {
    animation-delay: .5s;
}

nav:hover .list li:nth-child(2) span {
    animation-delay: .6s;
}

nav:hover .list li:nth-child(3) span {
    animation-delay: .7s;
}

nav:hover .list li:nth-child(4) span {
    animation-delay: .8s;
}

nav:hover .list li:nth-child(5) span {
    animation-delay: .9s;
}

nav:hover .list li:nth-child(7) span {
    animation-delay: 1s;
}
