html,body{
  padding: 0;
  margin: 0;
  cursor: none;
}
body{
  font-family:Helvetica Neue, sans-serif;
}
canvas{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    pointer-events: none;
    /* border: red 10px solid; */
}
.shubiaoyuan{
    width: 6px;
    height: 6px;
    background-color: black;
    position: fixed;
    left: 0;
    top: 0;
    border-radius: 50%;
    z-index: 101;
    pointer-events: none;
}
.shubiaoyuan.shubiaobian{
    width: 32px;
    height: 32px;
    background-color: #dcff7d;
    /* transition: all 0.1s ease-in-out; */
}

.box{
    /* border: 1px red solid; */
    padding: 20px;
    display: flex;
    /* width: 100%; */
    flex-direction: column;
    gap: 200px;
    overflow: hidden;
}


/* 第一部分 */
.p1{
    display: flex;
    flex-direction: column;
    gap: 100px;
}
.p1-top{
    display: flex;
    justify-content: space-between;
}
.p1-top > div{
    display: flex;
    gap: 10px;
}

.p1-botton{
    position: relative;
    width: fit-content;
}

.p1-botton > div:last-child{
    position: absolute;
    right: 0;
    top: 0;
}

/* 第一部分结构 */
.p1-top > span{
    font-size: 2rem;
    font-weight: 200;
}
.p1-top > div{
    display: flex;
    gap: 20px;
    justify-content: center;
    /* border: #7d7d7d 1px solid; */
}
.p1-top-img{
    position: relative;
    width: 80px;
    height: 80px;
}
.p1-top-img > img{
    width: 100%;
    position: absolute;
}
.weichup{
    opacity: 0;
    /* border: 1px solid rebeccapurple; */
    transition: opacity 0.3s ease-in-out;
}

.p1-top-right{
    cursor: none;
}
.p1-top-right-top{
    width: 62px;
    height: 32px;
    border: 1px solid black;
    border-radius: 20px;
    position: relative;
    /* border: #7d7d7d 1px solid; */
}
.p1-top-r{
    /* border: #7d7d7d 1px solid; */
    height: 50px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
    /* position: relative; */
}
.p1-top-right-top::before{
    content: "";
    width: 28px;
    height: 28px;
    background-color: black;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease-in-out;
    background-image: url(imgs/star.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.p1-top-right > input{
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
}
.p1-top-right > input:checked + .p1-top-right-top::before{
    transform: translate(26px);
    background-color: transparent;
}
.p1-top-right-bottn{
    font-size: 0.8rem;
    display: flex;
    /* gap: 5px; */
    color: #7d7d7d;
}
.p1-top-right-bottn > span{
    width: 65px;
    position: absolute;
}
.p1-top-wenzi2{
    visibility: hidden;
}


.p1-zhong-top{
    font-size: 5vw;
    font-weight: 200;
    display: flex;
    flex-direction: column;
}
.p1-zhong-bottn{
    width: fit-content;
    height: 28px;
    /* border: 1px red solid; */
    position: relative;
    padding-right: 20px;
    overflow-x: hidden;
}
.p1-zhong-bottn::before{
    content: "";
    width: 100%;
    height: 1px;
    background-color: black;
    position: absolute;
    bottom: 2px;
    transition: all 0.3s ease-in-out;
}
.p1-zhong-bottn::after{
    content: "";
    background-image: url(imgs/arrow.svg);
    width: 12px;
    height: 12px;
    position: absolute;
    top: 8px;
    transform: translateX(7px);
}




.p1-botton{
    width: 30vw;
    height: 22vw;
}
.p1-botton-img{
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    /* background-color: rgb(129, 129, 129); */
}
.p1-botton-img > img{
    width: 500px;
    position: absolute;
    transform: translateY(-80px);
}
.p1-botton-img2{
    opacity: 1;
    transition: opacity 0.6s ease-in-out;
}

.p1-botton-yuan{
    width: 100px;
    height: 100PX;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(50%) translateY(-50%);
    /* border: 1PX solid red; */
}
.p1-botton-yuan > img{
    position: absolute;
    
}
.p1-botton-yuan2{
    width: 40px;
    transform: rotate(135deg);
}
.p1-botton-yuan1{
    animation: yuanxuanzhuan 10s infinite linear;
}

@keyframes yuanxuanzhuan{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}


/* 第二部分 */


.p2{
    /* border: 1px rgb(0, 0, 0) solid; */
    display: flex;
    flex-direction: column;
    gap: 100px;
    width: 100%;
}
.p2-title{
    font-size: 2rem;
    font-weight: 200;
    color: #969696;
}
.p2-leibiao{
    
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.p2-leibiao-one{
    counter-increment: workNum;
    display: flex;
    gap: 10px;
    font-size: 3vw;
    font-weight: 200;
    /* border: 1px rgb(0, 0, 0) solid; */
    position: relative;
    
}
.p2-leibiao-one-xian::before{
    content: "0"counter(workNum)" / ";
    font-size: 0.7rem;
    margin-right: 10px;
}
.p2-leibiao-one-buchong{
    color: black;
    text-decoration: none;
    display: flex;
    overflow: hidden;
    width: 100%;
}
.p2-leibiao-one-yin{
    position: absolute;
    transform: translateX(100%);
    right: 0;
    min-width: 100%;
    width: fit-content;
    white-space: nowrap;
    
    font-weight: 200;
    color: #a0a0a0;
    animation: textpingyi 8s infinite linear;
    animation-play-state: paused;
    opacity: 0;
    pointer-events: none
}
.p2-leibiao-one-yuan{
    width: 12vw;
    height: 12vw;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    /* opacity: 0; */
    pointer-events: none
}
.p2-leibiao-one-yuan > img{
    width: 160%;
    pointer-events: none
}



@keyframes textpingyi{
    from{
        transform: translateX(100%);
    }
    to{
        transform: translateX(-100%);
    }
}


/* 第三部分 */

.p3{
    display: flex;
    flex-direction: column;
    gap: 100px;
    
}
.p3-title{
    font-size: 2rem;
    color: #7e7e7e;
    font-weight: 200;
    
}

.p3-zhong{
    display: flex;
    justify-content: space-between;
}
.p3-zhong-right{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: end;
    position: relative;
}
.p3-zhong-left{
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100px;
    overflow-x: hidden;
}
.p3-wei{
    font-size: 5vw;
    font-weight: 200;
    position: relative;
    overflow: hidden;
    /* border: 1px solid red; */
}
.p3-zhong-left-xian{
    width: fit-content;
    position: relative;
}
.p3-zhong-left-xian::before{
    content: "";
    width: 100%;
    height: 1px;
    background-color: black;
    position: absolute;
    bottom: -1px;
    transform: translate(-102%);
    transition: all 0.3s ease-in-out;
}

video{
    width: 300px;
    position: absolute;
    top: 0;
    transform: translateY(-105%);
    opacity: 0;
    pointer-events: none;
}

.p3-zhong-right-tu{
    background-image: url(./icons/play.svg);
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
}
.p3-zhong-right-tu.p3tuhuan{
    background-image: url(icons/close.svg);
    border: 2px solid transparent;
    box-sizing: border-box;
}
.p3-zhong-right > div:nth-child(2){
    display: flex;
    align-items: center;
    gap: 6px;
}
.p3-wei::before{
    content: '';
    width: 100%;
    height: 1px;
    background-color: black;
    position: absolute;
    bottom: 0;
    transform: translateX(0px);
    transition: all 0.7s ease-in-out;
}
.p3-wei::after{
    content: '';
    background-image: url(./imgs/arrow.svg);
    width: 3vw;
    height: 3vw;
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateX(-10px) translateY(5px);
    top: 0;
    right: 0;
    transition: transfrom 0.3s ease-in-out;
}



/* 加载 */
.jiazai{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    transition: transform 0.3s cubic-bezier(.77, 0, .175, 1) 1.5s;
}
.jiazai1{
    
    z-index: 110;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 200;
}
.jiazai2{
    z-index: 109;
    background-color: #dcff7d;
    transition-delay: 1.8s;
}
.jiazaiguo{
    transform: translateY(-100%);
}
.jiazaijianyin{
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.jiazaijianyin1{
    opacity: 1;
}


/* 响应式 */

@media (max-width: 900px){
    .p1-top-img{
        width: 60px;
        height: 60px;
    }
    .p1-botton{
        width: 60vw;
        height: 37vw;
    }
}
@media (max-width: 700px){
    .p1-top-img{
        width: 50px;
        height: 50px;
    }
    .p1-botton{
        width: 80vw;
        height: 47vw;
    }
    .p3-zhong{
        flex-direction: column;
        justify-content:center;
        align-items: flex-start;
        gap: 20px;
    }
    .p3-zhong-right{
        align-items: flex-start;
    }
    .p2-leibiao-one{
        font-size: 8vw;
    }
}
/* 电脑 */
@media (hover: hover){
    .weichup:hover{
        opacity: 1;

    }
    .p1-zhong-bottn:hover::before{
        transform: translateX(100%);
    }
    .p1-botton-img:hover > .p1-botton-img2{
        opacity: 0.3;
    }
    .p1-botton-yuan1:hover{
        animation-play-state: paused;
    }
    .p2-leibiao-one-xian:hover{
        opacity: 0;
    }
    .p2-leibiao-one-xian:hover + .p2-leibiao-one-yin{
        animation-play-state: running;
        opacity: 1;
    }
    .p3-zhong-left-xian:hover::before{
        transform: translate(0px);
    }
    .p3-zhong-right:hover video{
        opacity: 1;
    }
    .p3-wei:hover::after{
        transform: translateX(0px) translateY(0px);
    }
    .p3-wei:hover::before{
        transform: translateX(105%);
    }
}

/* 手机 */
@media (hover: none){
    canvas,.shubiaoyuan{
        display: none;
        opacity: 0;
    }
    .box{
        gap: 50px;
    }
    .p1{
        gap: 30px;
    }
    .p1-botton-yuan{
        width: 30px;
        height: 30px;
    }
    .p1-botton-yuan2{
        width: 15px;
        /* height: 20px; */
    }
    .p2{
        gap: 30px;
    }
    .p2-leibiao-one{
        font-size: 5vw;
    }
    .p3{
        gap: 30px;
    }
}