*{
    margin: 0;padding: 0;touch-action: pan-y;
}

/*---------------------- 以下是导航栏 ------------------------------*/
#window-shadow{
    position: fixed;
    width: 100%;height: 100%;background-color: dimgray;opacity: 0.6;display: none;
    top: 0;left: 0;right: 0;bottom: 0;z-index: 10;
}
.topList{
    width: 350px;height: 80px;float: left;
}
#nav{
    width: 100%;
    height: 80px;
    position: fixed;
    background-color: white;
    transition: 0.2s ease-in-out;
    z-index: 10;
    box-shadow: lightgray 0 3px 8px;
}
nav{
    position: fixed;background-color: white;justify-content: space-between;
    top: 26px;left: 0;right: 0;display: flex;align-items: center;
    height: 80px;padding-right: 10px;
    margin: auto;max-width: 1300px;
    transition: 0.1s ease-in-out;
}
.logo{
    height: 80px;width: 160px;margin-left: 20px;
    flex: 1;
}
.nav-menu{
    flex: 1;
    display: flex;
    max-width: 560px;background-color: white;
}
.nav-menu li{
    width: 140px;height: 80px;float: left;cursor: pointer;
    color:dimgray;display: flex;align-items: center;/*text-align: center;line-height: 80px;*/
    font-family: KAITI;font-weight: bold;font-size: 15.5px;
}

@media screen and (min-width: 1728px){
    .nav-menu li{
        padding-top: 15px;
        font-size: 17.5px;
    }
    #nav{
        height: 100px;
    }
    .logo{
        margin-top: 5px;
        height: 90px;width: 180px;
    }
}

.burger div{
    width: 25px;height: 3px;background-color: dimgray;margin: 4px;
}
.burger{display: none;cursor: pointer}

#cancel-choice{display: none}

/*.burger{display: none}*/
@media screen and (max-width: 768px){
    .nav-menu{
        position: absolute;
        top: 80px;right: 0;bottom: 0;
        width: 250px;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        transform: translateX(100%);
        transition: 0.4s ease-in-out;
    }
    .nav-menu li{
        height: 8vh;margin-left: 50px;
        transform: translateX(20px);
        opacity: 0;
    }

    .nav-menu.open{
        transform: translateX(0);
    }

    /*以下按钮点击效果*/
    #window-shadow.show{
        display: block;
    }
    .burger{display: block}
    .burger.active div{
        transition: 0.3s ease-in-out 0.3s;
    }
    .burger.active .top-line{
        transform: rotate(45deg) translate(4px, 6px);
    }
    .burger.active .bottom-line{
        transform: rotate(-45deg) translate(4px, -6px);
    }
    .burger.active .middle-line{
        opacity: 0;
        transform: translateX(10px);
        transition: 0.3s ease-out;
    }

    @keyframes slideIn {
        from{
            transform: translateX(20px);
            opacity: 0;
        }
        to{
            transform: translateX(0);
            opacity: 1;
        }
    }


}

/*第二目录*/
#firstWindow{
    width: 380px;height: 105px;position: fixed;top: 106px;right: 0;
    background-color: white;display: none;z-index: 10;
}
.firstList{
    width: 125px;height: 35px;float: left;text-align: center;line-height: 35px;
}
.firstList a{
    color: dimgray;font-weight: bold;text-decoration: none;font-family: KAITI;
}
#secondWindow{
    width: 380px;height: 155px;position: fixed;top: 106px;right: 0;
    background-color: white;display: none;z-index: 10;
}
#secondGrey{
    width: 255px;height: 140px;float: left;background-color: whitesmoke
}
.secondList{
    width: 220px;height: 35px;float: left;text-align: center;line-height: 35px;
}
.secondList a{
    color: dimgray;font-weight: bold;text-decoration: none;font-family: KAITI;
}

@keyframes windowIn {
    from{
        transform: translateX(20px);
        opacity: 0;
    }
    to{
        transform: translateX(0);
        opacity: 1;
    }
}

@media screen and (max-width: 430px){
    /*第二目录的变动*/
    #firstWindow{
        width: 300px;
    }
    #firstWindow .firstList{
        width: 100px;
    }
    #secondWindow{
        width: 300px;
    }
    #secondGrey{
        width: 175px;
    }
    #secondWindow .secondList{
        width: 175px;
    }
}

@media screen and (min-width: 1400px){
    #firstWindow{
        right: calc((100vw - 1400px)/2 + 80px);
    }
    #secondWindow{
        right: calc((100vw - 1400px)/2 + 80px);
    }
}

/*-------------------------- 以上是导航栏 ----------------------------*/
.language{
    width: 80px;height: 26px;border: none;color: #3c3c3c;font-family: KAITI;background-color: whitesmoke;
}
.language:focus{
    outline: none;
}

/*轮播图*/
.understand{z-index: 10}
.understand:hover{
    background-color: #e38d13;
}
.understand:focus{
    outline: none;border: none;
}
#rotate_one{
    width: 600px;height: 450px;
}
#rotate_height{width: 100%;height:200px}


@media screen and (max-width: 540px){
    #rotate_height{
        height: 80px;
    }
}
@media  screen and (min-width: 1400px) {

    #rotate_height{height: 240px;}
    #rotate_two{font-size: 30px}
    #rotate_three{font-size: 19px}

}
@media  screen and (min-width: 1600px) {
    #rotate_height{height: 260px;}
    #rotate_two{font-size: 32px}
    #rotate_three{font-size: 21px}
}

@media  screen and (min-width: 1800px) {
    #rotate_height{height: 280px;}
    #rotate_two{font-size: 34px}
    #rotate_three{font-size: 23px}
}

@media  screen and (min-width: 2000px) {
    #rotate_height{height: 300px;}
    #rotate_two{font-size: 36px}
    #rotate_three{font-size: 25px}
}

@keyframes rightIn {
    from{
        transform: translateX(20px);
        opacity: 0;
    }
    to{
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes leftIn {
    from{
        transform: translateX(-20px);
        opacity: 0;
    }
    to{
        transform: translateX(0);
        opacity: 1;
    }
}

/*尾部*/
.fastSkip a{
    color: dimgray;text-decoration: none;cursor: auto;
}
.fastSkip a:hover{
    font-weight: bold;cursor: pointer;
}
#wechatLogo{
    font-size: 24px;cursor: pointer;color: dimgray;
}
#wechatLogo:hover{
    color: #3c3c3c;
}
#shopCart{
    font-size: 24px;cursor: pointer;color: dimgray;
}
#shopCart:hover{
    color: #3c3c3c;
}