/* hero section */
.herotittle1 {
    position: relative;
    bottom: 400px;
    margin: 0px 0px 0px 54px;
    width: 85%;
}

a.view-all-gear {
    text-decoration: none;
    font-weight: bold;
    border: 2px solid rgb(255, 255, 255);
    padding: 10px 20px;
    border-radius: 100px;
    margin: 8px;
    color: var(--colorwhite);
    font-size: 24px;
}

/* section1 */
.section1 {
    position: relative;
    top: -100px;
    margin: 0px 54px;
    /* 整个section1的margin */
}

.tittle1 {
    text-align: center;
}

.tittle1 h5 {
    margin: 0;
    opacity: 70%;
}

.tittle1 h1 {
    margin: 0;
}

/* box的调整 */
.boxsection1 {
    width: 45%;
}

/* 四个box */
.fourbox {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 55px;
}

.fourboximg img {
    max-width: 80%;
    max-height: 70%;
    object-fit: contain;
    margin-bottom: 10px;
}

/* section2 */
.section2 {
    background-color: var(--colorwhite);
    margin: 0px 54px;
    /* 整个section2的margin */
    border-radius: 46px;
    overflow: hidden;
    padding-bottom: 40px;

}

.tittle2 {
    position: relative;
    top: 20px;
    text-align: center;
}

.tittle2 h5 {
    color: var(--colorblack);
    margin: 0;
    opacity: 70%;
}

.tittle2 h1 {
    color: var(--colorblack);
    margin: 0;
}

.scrollsection {
    margin: 55px 0;
    padding: 0 20px;
}

.scrollcontainer {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 10px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    cursor: grab;
    scrollbar-width: none;
}

.scrollcontainer::-webkit-scrollbar {
    display: none;
}

.scrollcontainer.active {
    cursor: grabbing;
}

/* scrollbox */
.boxsection2 {
    flex-shrink: 0;
    display: block;
    width: 291.04px;
    height: auto;
    flex-shrink: 0;
    text-decoration: none;
}

.boxsection2 h5 {
    text-align: center;
}

.gradient-card-inner h5 {
    margin: 20px 0 0 0;
}

/* section3 */
.section3 {
    position: relative;
    top: 50px;
    margin: 0px 54px;
    /* 整个section3的margin */
}

.tittle3 {
    text-align: center;
}

.tittle3 h5 {
    margin: 0;
    opacity: 70%;
}

.tittle3 h1 {
    margin: 0;
}

.section3pc {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 47px 0;
}

.sponsorlogo {
    position: relative;
    top: 155px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.sponsorlogo img {
    width: calc(100%/6);
}

/* section4 */
.leaderintro {
    background-color: var(--colorwhite);
    align-items: normal;
}

.leaderintro h2,
p {
    color: var(--colorblack);
}

.leaderintro h2 {
    margin: 0px auto 20px;
}

.boxaboutintro {
    display: flex;
    gap: 80px;
}

.intro {
    width: 90%;
}

.intro p {
    line-height: 2.5;
}

.section4 {
    position: relative;
    top: 262px;
    margin: 0px 54px;
    /* 整个section4的margin */
}

.tittle4 h1 {
    text-align: center;
}

.leaderimg {
    width: 100%;
    padding: 0;
}

.leaderimg img {
    border-radius: 38px;
}

.sectionbutton4 {
    margin: 0;
}

/* footer */
footer {
    position: relative;
    top: 192px;
}

/* 交互动画 */
.gradient-card-inner img {
    transition: transform 0.5s ease;
}

.gradient-card:hover .gradient-card-inner img {
    transform: scale(1.1);
}

.section4 .gradient-card:hover {
    transform: none;
}

.section4 .gradient-card:hover .gradient-card-inner img {
    transform: none;
}


.section3pc img {
    transition: filter 0.3s ease, transform 0.3s ease;
    filter: brightness(0.8);
    cursor: pointer;
}

.section3pc img:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
    z-index: 10;
}

.animation {
    animation: reveal 5s both;
    animation-timeline: view();
    animation-range: entry 50% cover 80%;
}

@keyframes reveal {
    0% {
        opacity: 0;
        filter: blur(20px);
        transform: translateY(80px);
    }

    30% {
        filter: blur(0px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 平板响应式 */

@media screen and (max-width:1080px) {

    /* section3 picture */
    .section3pc img {
        width: 1000px;
        max-width: 100%;
    }

    .sponsorlogo {
        grid-gap: 40px;
        top: 100px;
    }

    .herotittle1 {
        position: relative;
        bottom: 300px;

    }

}

@media screen and (max-width:1000px) {

    /* hero section */
    .herotittle1 {
        bottom: 300px;

    }
}



@media screen and (max-width:900px) {

    .boxaboutintro {
        flex-direction: column;
        gap: 30px;
        margin: 0 0 30px 0;
        align-items: center;
    }

    .sectionbutton4 {
        margin: auto;
    }

    .boxsection1 {
        width: 80%;
    }

    .tittle1 {
        margin-top: -10px;
    }
}


@media screen and (max-width:780px) {
    .herotittle1 {
        bottom: 300px;

    }

    /* teambox */
    .tittlebox {
        margin: 15px;
        text-align: center;
    }

    .tittlebox h1 {
        font-size: 24px;
    }

    .pcborder {
        margin: 55px;
    }

    .tittlebox img {
        display: block;
        margin: 20px auto;
    }

    .pcborder {
        display: none;
    }

    .tittlebox {
        width: 100%;
    }


}

@media screen and (max-width:720px) {
    .herotittle1 {
        bottom: 200px;
    }

    a.view-all-gear {
        font-size: 16px;
        margin: 0;
    }

    .tittle1 {
        margin-top: 50px;
    }
}

@media screen and (max-width:700px) {

    .herotittle1 {
        bottom: 200px;

    }
}

@media screen and (max-width:600px) {

    /* header */
    .herotittle1 {
        position: relative;
        bottom: 170px;
        margin: 0px 0px 0px 54px;
    }

    a.view-all-gear {
        font-size: 13px;
        margin: 0;
    }

    .sponsorlogo {
        grid-gap: 40px;
        top: 100px;
    }

    .sponsorlogo img {
        width: 40%;
    }

    footer {
        top: 252px;
    }

    .scrollsection {
        padding: 0;
    }

}

@media screen and (max-width:425px) {

    .intro p {
        line-height: 1.5;
    }
}