/* 跳转设置 */

html {
    scroll-behavior: smooth;
}

/* 锚点跳转平滑滚动过渡 */


/* CSS淡入淡出跳转样式 */
body.fade-out {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

body.fade-in {
    opacity: 1;
    transition: opacity 1s ease-in-out;
}


/* 副页面跳转预设 */

body {
    opacity: 0;

}









/* 视频banner */
/* 默认样式，适用于较大的视口 */

body {
    /* background-color: #fff; */
    background-color: black
        /* height: 6000px; */
}



.base {
    position: fixed;
    /* background-color: rgba(20, 20, 20, 0.9); */
    background-color: transparent;


}


.head {
    /* 让head脱标不占用位置，使得图片能叠于下方，但同时container响应性不起作用 */
    position: fixed;



}







/* 大图片底图 */

.banner {
    position: relative;
    z-index: 1;

}

.banner .img img {

    width: 100%;
    height: 100vh;
    object-fit: cover;

}



.banner .img .text {
    position: absolute;
    top: 25vh;
    font-family: 'Sans-bold';
    font-weight: 700;
    color: #fff;

}

.banner .img .text h2 {
    font-size: 5em;
}

.banner .img .text p {
    margin-top: 30px;
    font-size: 1.3em;
    line-height: 25px;
    font-weight: 400;
}

.banner .img .nav {
    position: absolute;
    bottom: 80px;
    right: 6.5%;
    padding: 10px;
}

.banner .img .nav ul li {

    padding: 10px;
}

.banner .img .nav ul li a {
    font-size: 1.05em;
}

.banner .nav-1 a {
    text-decoration: underline !important;
    text-underline-offset: 5px;
    text-decoration-thickness: 20px;
}









.footer {
    margin-top: 100px;
}





.line-grey {
    padding: 0 15px;
}

.line-grey hr {
    border: 0;
    /* 去除默认的边框样式 */
    height: 0.5px;
    /* 设置横线的高度 */
    background-color: #777777;
    /* 设置横线的颜色 */
    z-index: 2;
}







/* 响应式布局 */


/* mediatx文字相对大小 */
.box2 .row .media .dataall,
.box2 .row .media .data,
.box2 .row .media .left,
.box2 .row .media .right,
.box2 .row .media .text,
.box2 .row .media .text2 {
    font-size: 1em;
    /* 默认字体大小 */
}

/* 在不同屏幕尺寸下文字进行调整 */


/* xs */

@media (max-width: 767px) {

    .box2 .row ul li {
        font-size: 1em;

    }


    /* 无限轮播图片 */


    .color-box-0 .box .row .imglink img {
        border-radius: 20px;
    }

    #marquee-container {
        width: 90%;
        overflow: hidden;
    }

    #scrolling-container {
        display: flex;
        animation: marquee 10s linear infinite;
        /* 调整滚动速度，单位为秒 */
        animation-timing-function: linear;
    }

    .index {
        flex: 0 0 auto;
        margin-right: 0px;
        /* 设置图片之间的间隙 */
        padding-top: 10px;
    }

    .index img {
        max-height: 45%;
        width: auto;
    }

    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

        100% {

            transform: translateX(-100%);
            /* #marquee-container width: 85%时 */
            /* 滚动的距离，根据图片数量和间隙调整 */
            /* 0%为多走图片盒子右边距0px，使得每轮循环衔接的丝滑 */

        }
    }




}

/* sm */

@media screen and (min-width: 768px) {

    .box2 .row ul li {
        font-size: 1.1em;

    }


    /* 无限轮播图片 */

    .color-box-0 .box .row .imglink img {
        border-radius: 15px;
    }

    .color-box-0 #marquee-container {
        width: 87%;
        overflow: hidden;
    }

    #scrolling-container {
        display: flex;
        animation: marquee 20s linear infinite;
        /* 调整滚动速度，单位为秒 */
        animation-timing-function: linear;
    }

    .index {
        flex: 0 0 auto;
        margin-right: 0px;
        /* 设置图片之间的间隙 */
        padding-top: 10px;
    }

    .index img {
        max-height: 60%;
        width: auto;
    }

    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

        100% {

            transform: translateX(-100%);
            /* #marquee-container width: 85%时 */
            /* 滚动的距离，根据图片数量和间隙调整 */
            /* 0%为多走图片盒子右边距0px，使得每轮循环衔接的丝滑 */

        }
    }

}



/* md */

@media screen and (min-width: 1200px) {

    .box2 .row ul li {
        font-size: 1.2em;

    }



    /* 无限轮播图片 */

    .color-box-0 .box .row .imglink img {
        border-radius: 20px;
    }

    #marquee-container {
        width: 88%;
        overflow: hidden;
    }

    #scrolling-container {
        display: flex;
        animation: marquee 20s linear infinite;
        /* 调整滚动速度，单位为秒 */
        animation-timing-function: linear;
    }

    .index {
        flex: 0 0 auto;
        margin-right: 10px;
        /* 设置图片之间的间隙 */
        padding-top: 10px;
    }

    .index img {
        max-height: 70%;
        width: auto;
    }

    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

        100% {


            transform: translateX(-103.7%);
            /* #marquee-container width: 85%时 */
            /* 滚动的距离，根据图片数量和间隙调整 */
            /* 3.7%为多走图片盒子右边距10px，使得每轮循环衔接的丝滑 */

        }
    }





}

/* lg */

@media (min-width: 1700px) {

    .box2 .row ul li {
        font-size: 1.3em;

    }



    /* 无限轮播图片 */

    .color-box-0 .box .row .imglink img {
        border-radius: 25px;
    }

    #marquee-container {
        width: 85%;
        overflow: hidden;
    }

    #scrolling-container {
        display: flex;
        animation: marquee 20s linear infinite;
        /* 调整滚动速度，单位为秒 */
        animation-timing-function: linear;
    }

    .index {
        flex: 0 0 auto;
        margin-right: 20px;
        /* 设置图片之间的间隙 */
        padding-top: 10px;
    }

    .index img {
        max-height: 80%;
        width: auto;
    }

    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-104.2%);
            /* #marquee-container width: 100%时 */
            /* 滚动的距离，根据图片数量和间隙调整 */
            /* 4.2%为多走图片盒子右边距20px，使得每轮循环衔接的丝滑 */

            transform: translateX(-105%);
            /* #marquee-container width: 85%时 */
            /* 滚动的距离，根据图片数量和间隙调整 */
            /* 4.2%为多走图片盒子右边距20px，使得每轮循环衔接的丝滑 */

        }
    }
}



















/* 方案三 */

/* .head {
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 1;
    
}

.base {
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 1;
} */




/* 字体图标声明 */