html,
body {
    height: 100%;
    /* 确保HTML元素和body元素都被拉伸到整个视口 */
    margin: 0;
    /* 去除默认边距 */
    padding: 0;
    /* 去除默认内边距 */
}

.part1 {
    position: relative;
    overflow: hidden;
    background-image: url(https://cdn.marmot-cloud.com/storage/2024/06/14/5b2da533-cf8e-4435-92a7-18a1422d623b.png);
    background-repeat: repeat;
    background-size: cover;
    height: 1440px;
    padding-bottom: 100px;
    box-sizing: content-box;
}

#target {
    position: absolute;
    top: 50%;
    width: 1px;
    height: 1px;
}

#topMark,
#bottomMark {
    width: 100%;
    height: 1px;
}

#bottomMark {
    position: absolute;
    bottom: 0;
}

.star_container {
    /* height: 540px; */
    width: 100%;
    /* 宽度为全部屏幕宽度 */
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 350px;
}

.coinContainer {
    position: absolute;
    display: flex;
    /* top: 62%!important; */
    /* bottom: 80px!important; */
    left: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.coin {
    margin-left: 25px;
}

.coinImg {
    width: 18vw;
}

.textContiner {
    color: #FFF;
    text-align: center;

    font-style: normal;
    width: 800px;
    top: 220px;
    z-index: 2;
    left: calc(50% - 400px);
}

.firstText {
    opacity: 1;
    transition: all 0.3s;
    position: absolute;
}

.secondText {
    opacity: 0;
    position: absolute;
    transition: opacity 0.3s;
}

.title {
    font-family: "Roboto", sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 56px;
    /* text-transform: uppercase; */
    margin-bottom: 24px;
}

.desc {
    font-family: Roboto;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.desc span {
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
}

.starAndCoinWrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.star {
    position: relative;
    margin: 0 auto;
    transition: width 0.1s, height 0.1s;
}

.starImg {
    width: 100%;
}

/*气泡部分*/
.bubbleContainer {
    width: 1200px;
    height: 800px;
}

.bubbleImg {
    width: 7vw;
}

.bubble1 {
    position: absolute;
    top: 22%;
    left: 20%;
}

.bubble2 {
    position: absolute;
    top: 12%;
    left: 30%;
}

.bubble3 {
    position: absolute;
    top: 28%;
    left: 33%;
}

.bubble4 {
    position: absolute;
    top: 18%;
    left: 44%;
}

.bubble5 {
    position: absolute;
    top: 8%;
    left: 51%;
}

.bubble6 {
    position: absolute;
    top: 26%;
    left: 56%;
}

.bubble7 {
    position: absolute;
    top: 12%;
    left: 64%;
}

.bubble8 {
    position: absolute;
    top: 21%;
    left: 72%;
}

/*当页面宽度大于767px且小于1024px的时候执行，767-1024*/
@media screen and (min-width: 767px) and (max-width: 1024px) {
    .starAndCoinWrapper {
        height: 800px;
    }
    .star_container {
        height: 690px;
        padding-top: 280px;
    }
    .textContiner {
        width: 600px;
        left: calc(50% - 300px);
    }
    .title {
        font-size: 46px;
        line-height: 48px;
        margin-bottom: 18px;
    }

    .desc {
        font-size: 14px;
        line-height: 20px;
    }

    .desc span {
        font-size: 18px;
        line-height: 26px;
    }

    .bubbleImg {
        width: 9vw;
    }

    .bubble1 {
        top: 32%;
    }

    .bubble2 {
        top: 24%;
    }

    .bubble3 {
        top: 38%;
    }

    .bubble4 {
        top: 29%;
    }

    .bubble5 {
        top: 19%;
    }

    .bubble6 {
        top: 35%;
    }

    .bubble7 {
        top: 23%;
    }

    .bubble8 {
        top: 32%;
    }
}

/*当页面宽度大于667且小于767px的时候执行，667-767*/
@media screen and (min-width: 667px) and (max-width: 767px) {
    .starAndCoinWrapper {
        height: 800px;
    }
    .star_container {
        height: 560px;
        padding-top: 260px;
    }

    .textContiner {
        width: 500px;
        left: calc(50% - 250px);
    }

    .title {
        font-size: 40px;
        line-height: 44px;
        margin-bottom: 18px;
    }

    .desc {
        font-size: 12px;
        line-height: 18px;
    }

    .desc span {
        font-size: 16px;
        line-height: 24px;
    }

    .bubbleImg {
        width: 9vw;
    }

    .bubble1 {
        top: 34%;
    }

    .bubble2 {
        top: 26%;
    }

    .bubble3 {
        top: 40%;
    }

    .bubble4 {
        top: 31%;
    }

    .bubble5 {
        top: 21%;
    }

    .bubble6 {
        top: 37%;
    }

    .bubble7 {
        top: 25%;
    }

    .bubble8 {
        top: 34%;
    }
}

/*当页面宽度大于500px小于667px的时候执行，500-667*/
@media screen and (min-width: 500px) and (max-width: 667px) {
    .starAndCoinWrapper {
        height: 600px;
    }
    .star_container {
        height: 430px;
        padding-top: 196px;
    }

    .textContiner {
        width: 400px;
        left: calc(50% - 200px);
    }

    .title {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 14px;
    }

    .desc {
        font-size: 12px;
        line-height: 14px;


    }

    .desc span {
        font-size: 14px;
        line-height: 20px;
    }

    .bubbleImg {
        width: 9vw;
    }

    .bubble1 {
        top: 38%;
    }

    .bubble2 {
        top: 30%;
    }

    .bubble3 {
        top: 44%;
    }

    .bubble4 {
        top: 35%;
    }

    .bubble5 {
        top: 25%;
    }

    .bubble6 {
        top: 41%;
    }

    .bubble7 {
        top: 29%;
    }

    .bubble8 {
        top: 38%;
    }

}

/*当页面宽度小于500px的时候执行，0-500*/
@media screen and (max-width: 500px) {
    .starAndCoinWrapper {
        height: 400px;
    }
    .star_container {
        height: 400px;
        padding-top: 220px;
    }

    .textContiner {
        top: 137px;
        width: 300px;
        left: calc(50% - 150px);
    }

    .coin {
        margin-left: 10px;
    }

    .title {
        font-size: 24px;
        line-height: 24px;
        margin-bottom: 14px;
    }

    .desc {
        font-size: 12px;
        line-height: 14px;
        width: 106%;
    }

    .desc span {
        font-size: 14px;
        line-height: 20px;
    }

    .bubbleImg {
        width: 9vw;
    }

    .bubble1 {
        top: 48%;
    }

    .bubble2 {
        top: 40%;
    }

    .bubble3 {
        top: 54%;
    }

    .bubble4 {
        top: 45%;
    }

    .bubble5 {
        top: 35%;
    }

    .bubble6 {
        top: 51%;
    }

    .bubble7 {
        top: 39%;
    }

    .bubble8 {
        top: 48%;
    }
}