* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:"Pingfang SC","Microsoft Yahei",sans-serif;
}


.shortcut {
    height: 80px;
    line-height: 80px;
    background-color: #f1f1f1;
    position: sticky;
    top: 0;
    z-index: 100;
}


.fr {
    float: right;
    height: 80px; 
    position: relative; 
}


.burger {
    display: none;
    position: absolute; 
    top: 60%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 101;
    padding: 10px;
    margin: -10px;
    line-height: normal; 
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #dadbdd;
    margin: 4px 0;
    transition: all 0.3s ease;
}


@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -10px;
        bottom: 0;
        width: 50vw;
        height: calc(100vh - 80px); 
        background-color: #f1f1f1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        transform: translateX(100%);
        transition: 0.4s ease-in-out;
        padding-top: 40px; 
    }
    .nav-menu.open{
        transform: translateX(0);
    }
    .nav-menu.active {
        transform: translateX(0); 
    }
    
    .nav-menu li {
        margin: 0;
        float: none; 
        width: 100%; 
        text-align: center; 
        transform: translateX(20px);
        opacity: 0;
    }
    
    .pad1 {
        padding-right: 0; 
    }
    
    .burger {
        display: block !important;
    }
    
    .burger.active .top-line {
        transform: rotate(45deg) translate(4px, 6px);
    }
    
    .burger.active .middle-line {
        opacity: 0; 
    }
    
    .burger.active .bottom-line {
        transform: rotate(-45deg) translate(4px, -6px);
    }
    
    .burger.active div {
        transition: 0.3s ease-in-out;
    }
    @keyframes slideIn {
        from {
            transform: translateX(20);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
}

.nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}