body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

html.lenis,html.lenis body{
    height: auto;
}
.lenis.lenis-smooth{
    scroll-behavior: auto !important;
}

a {
    color: black;
    text-decoration: none;
}

* {
    padding: 0;
    margin: 0;
    font-family: "Kanit Medium";
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: #8b8b8b;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #636363;
}

li {
    list-style: none;
}

/* zt */
@font-face {
    font-family: Kanit Medium;
    src: url("/src/font/Kanit-Medium.ttf");
}

@font-face {
    font-family: Kanit-Regular;
    src: url("/src/font/Kanit-Regular.ttf");
}

@font-face {
    font-family: Kanit-SemiBold;
    src: url("/src/font/Kanit-SemiBold.ttf");
}

@font-face {
    font-family: 思源黑体;
    src: url("/src/font/SourceHanSansSC-Medium.otf");
}

@font-face {
    font-family: pingfang Medium;
    src: url("/src/font/pingfang sc medium.otf");
}

@font-face {
    font-family: MyriadPro-Regular;
    src: url("/src/font/MyriadPro-Regular.otf");

}

@font-face {
    font-family: PingFang Regular;
    src: url("/src/font/PingFang Regular.ttf");
}

@font-face {
    font-family: PublicSans-Bold;
    src: url("/src/font/PublicSans-Bold.ttf");
}

@font-face {
    font-family: PublicSans-Regular;
    src: url("/src/font/PublicSans-Regular.otf");
}

/* 样式 */

.headerBox {
    width: 100%;
    position: fixed;
    display: flex;
    padding: 1% 5%;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    z-index: 50;
    transition: all 1s ease;
}

.PcBox {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    align-items: end;
    /* padding-top: 10px; */
}

.PcBox>ul {
    display: flex;
}

.PcBox>ul>li {
    position: relative;
    margin: 0 0 0 2.5vw;
    cursor: pointer;
}

.langBox {
    cursor: pointer;
}

.hlistBox {
    max-height: 0;
    position: absolute;
    left: -50%;
    top: 150%;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 0 50%;
    white-space: nowrap;
    transition: all .6s ease;
    overflow: hidden;
    border-radius: 10px;
}

.hlistBox>a {
    line-height: 200%;
    transition: all .3s ease;
}

.hlistBox>a:first-child {
    margin-top: 5%;
}

.hlistBox>a:last-child {
    margin-bottom: 5%;
}

.hlistBox>a::before {
    content: '';
    display: block;
    width: 0px;
    height: 1px;
    background-color: #07a650;
    transition: all .3s ease;
    position: absolute;
    top: 50%;
    transform: translateX(-120%);
}

.hlistBox>a:hover::before {
    width: 10px;
}

.hlistBox>a:hover {
    transform: translateX(10px);
    color: #07a650;
}

.PcBox>ul>li:hover>a {
    color: #d3913f !important;
}

.PcBox>ul>li:hover>.hlistBox,
.langBox:hover>.hlistBox {
    max-height: 400px;
    box-shadow: 0px 4px 5px 1px rgba(0, 0, 0, 0.1);
}

.PcBox>ul>li>a {
    font-size: max(18px, 1vw);
    font-family: "Kanit Medium";
    /* font-weight: 500; */
    color: #fff;
    transition: color .3s ease;
}

.langBox {
    width: 25px;
    height: 25px;
    position: relative;
    /* margin-left: 0; */
}

.search>a>svg>path {
    fill: #fff;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: auto;
    height: auto;
    object-fit: contain;

}

.on {
    /* width: 80%;
    top: 10px;
    left: 10%;
    border-radius: 50px;
    background-color: #fff;
    padding: 0 5%;
    box-shadow: 0px 4px 5px 1px rgba(0, 0, 0, 0.1) */

    width: 100%;
    background-color: #fff;
    box-shadow: 0px 4px 5px 1px rgba(0, 0, 0, 0.1);

}

.on>.PcBox {
    justify-content: center;
}

.on>.logo>svg>path:nth-child(1) {
    fill: #050101;
}

.on>.logo>svg>path:nth-child(2) {
    fill: #060506;
}

.on>.PcBox>ul>li>a {
    color: #000;
}

.on .search>a>svg>path {
    fill: #060506 !important;
}

.on .langBox>img {
    filter: invert();
}

.on .PcBox>ul {
    align-items: center;
}

.hlisLang {
    min-width: 50px;
}

.hlisLang>a {
    padding-left: 30%;

}

.Hamburg {
    display: none;
    align-items: center;
}

.Headcheckbox {
    display: none;
}

.toggle {
    position: relative;
    width: 35px;
    height: 40px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition-duration: .5s;
}

.bars {
    width: 100%;
    height: 4px;
    background-color: rgb(27, 89, 194);
    border-radius: 4px;
}

#bar2 {
    transition-duration: .8s;
}

#bar1,
#bar3 {
    width: 70%;
}

#Headcheckbox:checked+.toggle .bars {
    position: absolute;
    transition-duration: .5s;
}

#Headcheckbox:checked+.toggle #bar2 {
    transform: scaleX(0);
    transition-duration: .5s;
}

#Headcheckbox:checked+.toggle #bar1 {
    width: 100%;
    transform: rotate(45deg);
    transition-duration: .5s;
}

#Headcheckbox:checked+.toggle #bar3 {
    width: 100%;
    transform: rotate(-45deg);
    transition-duration: .5s;
}

#Headcheckbox:checked+.toggle {
    transition-duration: .5s;
    transform: rotate(180deg);
}

.MoBox {
    width: 100%;
    height: 0;
    display: none;
    transition: all .3s ease;
    overflow: hidden;
}

.MoBox>ul {
    width: 100%;
    box-sizing: border-box;
    padding: 100px 5% 0 5%;
}

.MoBox>ul>li {
    line-height: 300%;
    border-bottom: 1px solid #eee;
    /* display: flex; */
    position: relative;
    transition: all .3s ease;
}

.MoBox>ul>li>div:nth-child(1) {
    width: 100%;
    display: flex;
}

.MoBox>ul>li>div:nth-child(1)>a {
    width: 100%;
}

.HeadMoIcon {
    float: right;
    margin-left: auto;
    transition: all .3s ease;
}

.HeadMoIcon>.icon {
    width: 16px;
    height: 16px;

    transform: rotate(180deg);

}

.HeadNavLevel2 {
    max-height: 0px;
    background: #fff;
    transition: all 1s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #eee;
    padding: 0 5%;
}

.HeadNavLevel2>a {
    line-height: 200%;
    color: #666;
}

@media (max-width: 1200px) {
    .logo>svg {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {

    .on {
        width: 100%;
        top: 0;
        left: 0;
        border-radius: 0;
    }

    .PcBox {
        display: none;
    }

    .Hamburg {
        width: auto;
        display: flex;
        margin-right: 5%;
    }

    .MoBox {
        display: flex;
        justify-content: center;
        position: absolute;
        top: 0;
        left: 0;
        background-color: #fff;
        z-index: -1;
    }
}

@media(max-width:768px) {
    .Hamburg {
        margin-left: auto;
    }

    .langBox {
        display: none;
    }

    .ip2Slide span,
    .ip3Slide>span {
        font-size: max(16px, 1.1vw);
    }
}

@media(max-width:480px) {}