// 蓝色
.theme-blue {
    --theme-text: rgb(36, 77, 159);

    --theme-title-linear-start: #5d95f7;
    --theme-title-linear-end: #3066c2;
    --theme-title-linear-deep:  #0f439b;

    --theme-item-linear-start:  #3065c1;
    --theme-item-linear-end:    #72b6f8;

    --theme-item-rgba:  rgba(48, 102, 194, .8);

    background: url(../images/blue-bg.jpg) no-repeat top center;
}

// 绿色
.theme-green {
    --theme-text: rgb(0, 86, 109);

    --theme-title-linear-start: #f1d5a6;
    --theme-title-linear-end:   #ecc685;
    --theme-title-linear-deep:  #be9652;

    --theme-item-linear-start:  #008fb4;
    --theme-item-linear-end:    #009fa5;

    --theme-item-rgba:  rgba(0, 86, 109, .8);

    background: url(../images/green-bg.jpg) no-repeat top center;
}

// 红色
.theme-red {
    --theme-text: #bf3c23;
    --theme-title-linear-start: #cc492a;
    --theme-title-linear-end:   #931009;
    --theme-title-linear-deep:  #610015;

    --theme-item-linear-start:  #cc3b33;
    --theme-item-linear-end:    #e68f55;

    --theme-item-rgba:  rgba(147, 16, 9, .7);

    background: url(../images/red-bg.jpg) no-repeat top center;
}


// 紫色
.theme-purple {
    --theme-text: #392fa2;

    --theme-title-linear-start: #5e96f8;
    --theme-title-linear-end:   #36269b;
    --theme-title-linear-deep:  #2a0845;

    --theme-item-linear-start:  #43349e;
    --theme-item-linear-end:    #888ad9;

    --theme-item-rgba:  rgba(93, 150, 247, .7);

    background: url(../images/purple-bg.jpg) no-repeat top center;

}

// 浅紫色
.theme-lilac {
    --theme-text: #525ce8;

    --theme-title-linear-start: #7b7bff;
    --theme-title-linear-end:   #4d59e6;
    --theme-title-linear-deep:  #1c2ac4;

    --theme-item-linear-start:  #6168f1;
    --theme-item-linear-end:    #80c5f1;

    --theme-item-rgba:  rgba(83, 132, 239, .7);

    background:  linear-gradient(to bottom, #4d57e5, #58a3f7);
}

.banner-cloud {
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: 11;
    opacity: 0;
    animation: bannerCloud 40s linear 20s infinite normal;
}

.banner-cloud.c2 {
    opacity: 0.8;
    animation: bannerCloud 40s linear 0s infinite normal;
}

@keyframes bannerCloud {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    10%, 80% {
        opacity: 0.7;
    }

    100% {
        opacity: 0;
        transform: scale(3);
    }
}


@media (min-width: 900px) {
    .mobile {
        display: none;
    }
    .banner-first {
        width: 100vw;
        height: 100vh;
        position: relative;
        overflow: hidden;
        background: url(../images/banner-bg.png) no-repeat center center;
        background-size: 100% 100%;

        .banner-foc {
            position: absolute;
            z-index: 1;
            width: 100%;
            height: auto;
            top: 2%;
            text-align: center;
            > img {
                width: 90%;
            }
        }

        .banner-title {
            width: 100%;
            height: auto;
            text-align: center;
            z-index: 12;

            .img1 {
                width: 100%;
                position: absolute;
                text-align: center;
                font-size: 1.5vw;
                bottom: 25%;
                z-index: 111;
                color: #fff;
            }
            .img2 {
                width: 100%;
                position: absolute;
                text-align: center;
                font-size: 1vw;
                bottom: 32%;
                z-index: 111;
                color: #fff;
            }
        }

        .btn-con {
            text-align: center;

            a {
                cursor: pointer;
                display: inline-block;
                color: #fff;
                font-size: 1.5vw;
                position: absolute;
                bottom: 15%;
                left: 50%;
                transform: translate(-50%);
                z-index: 111;
            }
            a:first-child {
                background: #e3ca90;
                color: #001f78;
                padding: .5vw 2vw;
                border-radius: 50vw;
            }
            a + a {
                width: 2vw;
                bottom: 10%;
                z-index: 111;
                animation: loadingUpDown 1.5s infinite;
                -o-animation: loadingUpDown 1.5s infinite ease-in-out;
                -moz-animation: loadingUpDown 1.5s infinite ease-in-out;
                -webkit-animation: loadingUpDown 1.5s infinite;
                img {
                    width: 100%;
                    margin-left: -35%;
                }
            }
        }

        @keyframes loadingUpDown {
            0%,
            30% {
                opacity: 0;
                transform: translate(0, 10px);
            }
            70% {
                opacity: 1;
                transform: translate(0, 0);
            }
            100% {
                opacity: 0;
                transform: translate(0, 5px);
            }
        }

        .logo-con {
            width: 100%;
            height: auto;
            margin: 0 auto;
            position: relative;

            .logo {
                position: absolute;
                height: 6vh;
                top: 5vh;
                left: 5vw;
            }
        }
    }
    #app {
        background-size: cover;
        overflow: hidden;

        //.banner {
        //    width: 100%;
        //    min-width: 1200px;
        //    max-width: 1920px;
        //    max-height: 480px;
        //    min-height: 480px;
        //    margin: 0 auto;
        //    background: #dfdfdf;
        //    overflow: hidden;
        //
        //    img {
        //        width: 100%;
        //    }
        //}
        .banner {
            position: relative;
            overflow: hidden;
            .pc {
                width: 100%;
                height: auto;
                img {
                    width: 100%;
                }
            }
            .mobile {
                display: none;
            }

            .banner-title {
                width: 100%;
                height: auto;
                text-align: center;
                position: absolute;
                top: 0;
                left: 0;
                z-index: 12;

                .img2 {
                    width: 70%;
                    margin: 5% auto;
                }

                .img3 {
                    width: 29%;
                    margin-top: -15px;
                }
            }

            .pulse {
                -webkit-animation: pulse 2s;
                -moz-animation: pulse 2s;
                -ms-animation: pulse 2s;
                animation: pulse 2s
            }
        }

        .container {
            width: 1200px;
            margin: 0 auto;
            text-align: center;
        }

        .theme-block {
            width: 1200px;
            padding: 70px 55px;
            border-radius: 15px;
            background: #fff;
            margin-top: 100px;
            margin-bottom: 115px;
            position: relative;
            background-size: 100% 100%;
            box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1);

            .theme-block-title {
                position: absolute;
                top: -19px;
                left: 50%;
                transform: translate(-50%);
                display: inline-block;
                width: auto;
                height: 52px;

                .title-text {
                    display: inline-block;
                    width: 100%;
                    height: 100%;
                    font-size: 24px;
                    color: #fff;
                    background: linear-gradient(to bottom, var(--theme-title-linear-start), var(--theme-title-linear-end));
                    position: relative;

                    .icon {
                        font-size: 61px;
                        position: absolute;
                        top: 0;
                    }

                    .icon.lf {
                        left: -60px;
                    }

                    .icon.rt {
                        right: -60px;
                    }

                    .text {
                        color: var(#fff);
                        font-size: 26px;
                        line-height: 50px;
                    }
                }


            }

            .theme-block-title-small {
                font-size: 20px;
                text-align: left;
                color: var(--theme-text);
                margin-bottom: 10px;
            }

            p, a {
                font-size: 14px;
                line-height: 1.8;
                margin: 3px 0;
                text-align: justify;
            }

            a {
                display: inline-block;
                padding: 10px 30px;
                color: #fff;
                background: var(--theme-text);
                line-height: 1;
                border-radius: 30px;
                margin-top: 20px;
            }

            .theme-block-box {
                display: flex;
                justify-content: space-between;
                align-items: center;
                text-align: left;
            }
            .theme-block-box.grid-2 {
                display: grid;
                grid-template-columns: repeat(2, 49%);
                grid-gap: 2%;
                align-items: normal;
                //padding-bottom: 80px;
            }
            .grid-2 .theme-block-item {
                max-height: 300px;
                //overflow-y: scroll;
            }
            .theme-block-box.grid-3 {
                display: grid;
                grid-template-columns: repeat(3, 31.8%);
                grid-gap: 2%;
                align-items: normal;
                padding-bottom: 80px;
            }
            .theme-block-box.grid-4 {
                display: grid;
                grid-template-columns: repeat(4, 23.5%);
                grid-gap: 2%;
                align-items: normal;
                padding-bottom: 80px;
            }

            .theme-block-box.img {
                margin-bottom: 30px;

                .theme-block-item {
                    width: 250px;
                    height: 190px;
                    background: #dfdfdf;
                    overflow: hidden;

                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
            }

            .theme-block-box-center {
                width: 80%;
                margin: 0 auto;
                padding: 30px 40px;
                background: var(--theme-item-rgba);

                p {
                    color: #fff;
                    font-size: 14px;
                    line-height: 2;
                }
            }

            .theme-block-lf-50, .theme-block-rt-50 {
                width: 47%;
            }

            .theme-block-rt-50 {
                height: 300px;
                background: #dfdfdf;
                overflow: hidden;

                img {
                    width: 100%;
                }
            }

            .theme-block-lf-70 {
                width: 64%;

                .theme-block-title-small {
                    font-size: 16px;
                    color: var(--theme-text);
                    margin-bottom: 0;
                    margin-top: 20px;
                }
            }

            .theme-block-rt-30 {
                width: 30%;

                div {
                    background: #dfdfdf;
                    overflow: hidden;
                }

                div + div {
                    margin-top: 28px;
                }

                img {
                    width: 100%;
                }
            }

            .theme-block-lf-80 {
                width: 74%;
            }

            .theme-block-rt-20 {
                width: 200px;
                height: 200px;
                background: #dfdfdf;
                overflow: hidden;

                img {
                    width: 100%;
                }
            }

            .theme-block-item {
                //width: 300px;
                height: 125px;
                font-size: 24px;
                justify-content: center;
                align-items: center;
                text-align: center;
                border-radius: 10px;
                background: linear-gradient(140deg, var(--theme-item-linear-start), var(--theme-item-linear-end));

                > div {
                    font-size: 24px;
                    color: #fff;
                    margin-top: 20px;

                }

                .theme-block-item-title {
                    position: relative;

                    &:before {
                        position: absolute;
                        content: '';
                        width: 2em;
                        height: 2px;
                        background: #fff;
                        bottom: -3px;
                        left: 50%;
                        transform: translate(-50%);
                    }
                }

            }

            .theme-block-item.left {
                padding: 1em;
                height: auto;

                .theme-block-item-title {
                    text-align: left;
                    margin-top: 0;
                    font-size: 20px;

                    &:before {
                        width: 1.2em;
                        background: #fff;
                        bottom: -3px;
                        left: .8em;
                    }
                }

                .theme-block-item-text {
                    text-align: justify;
                    font-size: 14px;
                    line-height: 1.8;
                }
            }
        }
    }
}

@media (max-width: 900px) {
    .pc {
        display: none;
    }
    .banner-first {
        width: 100vw;
        height: 100vh;
        position: relative;
        overflow: hidden;
        background: url(../images/banner-bg-m.png) no-repeat center center;
        background-size: cover;

        .banner-foc {
            position: absolute;
            z-index: 1;
            width: 100%;
            height: auto;
            top: -10%;
            text-align: center;
            > img {
                width: 100%;
                margin-left: 0;
            }
        }

        .banner-title {
            width: 100%;
            height: auto;
            text-align: center;
            z-index: 12;

            .img1 {
                width: 100%;
                position: absolute;
                text-align: center;
                font-size: 4vw;
                top: 65%;
                z-index: 111;
                color: #fff;
            }
            .img2 {
                width: 100%;
                position: absolute;
                text-align: center;
                font-size: 3.7vw;
                top: 75%;
                z-index: 111;
                color: #fff;
            }
        }

        .btn-con {
            text-align: center;
            width: 100vw;
            a:first-child {
                width: 75%;
                padding: 1vw 3vw;
                border-radius: 10vw;
                background: #e3ca90;
                color: #001f78;
            }
            a {

                cursor: pointer;
                display: inline-block;
                color: #fff;
                font-size: 4vw;
                position: absolute;
                bottom: 22%;
                left: 50%;
                transform: translate(-50%);
                z-index: 111;
            }
            a + a {
                width: 6vw;
                bottom: 15%;
                z-index: 111;
                animation: loadingUpDown 1.5s infinite;
                -o-animation: loadingUpDown 1.5s infinite ease-in-out;
                -moz-animation: loadingUpDown 1.5s infinite ease-in-out;
                -webkit-animation: loadingUpDown 1.5s infinite;
                img {
                    width: 100%;
                    margin-left: -35%;
                }
            }
        }

        @keyframes loadingUpDown {
            0%,
            30% {
                opacity: 0;
                transform: translate(0, 10px);
            }
            70% {
                opacity: 1;
                transform: translate(0, 0);
            }
            100% {
                opacity: 0;
                transform: translate(0, 5px);
            }
        }

        .logo-con {
            width: 100%;
            height: auto;
            margin: 0 auto;
            position: relative;

            .logo {
                position: absolute;
                width: 60vw;
                height: auto;
                top: 8vw;
                right: 10vw;
            }
        }
    }
    #app {
        background-size: cover;
        overflow: hidden;

        .banner {
            position: relative;
            overflow: hidden;
            .pc {
                display: none;
            }
            .mobile {
                width: 100%;
                height: auto;
                img {
                    width: 100%;
                }
            }
        }

        .container {
            width: 94%;
            margin: 0 auto;
            text-align: center;
        }

        .theme-block {
            width: 100%;
            padding: 10vw 4vw 4vw;
            border-radius: 15px;
            background: #fff;
            margin-top: 12vw;
            margin-bottom: 12vw;
            position: relative;
            background-size: 100% 100%;
            box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1);

            .theme-block-title {
                position: absolute;
                top: -4vw;
                left: 50%;
                transform: translate(-50%);
                display: inline-block;
                width: auto;
                height: 11vw;

                .title-text {
                    display: inline-block;
                    width: 100%;
                    height: 100%;
                    font-size: 4vw;
                    color: #fff;
                    background: linear-gradient(to bottom, var(--theme-title-linear-start), var(--theme-title-linear-end));
                    position: relative;

                    .icon {
                        font-size: 12.9vw;
                        position: absolute;
                        top: 0;
                    }

                    .icon.lf {
                        left: -12.8vw;
                    }

                    .icon.rt {
                        right: -12.8vw;
                    }

                    .text {
                        color: var(#fff);
                        font-size: 4vw;
                        line-height: 10vw;
                    }
                }


            }

            .theme-block-title-small {
                font-size: 4vw;
                text-align: left;
                color: var(--theme-text);
                margin-bottom: 10px;
            }

            p, a {
                font-size: 3.2vw;
                line-height: 1.8;
                margin: 3px 0;
                text-align: justify;
            }

            a {
                display: inline-block;
                padding: 10px 30px;
                color: #fff;
                background: var(--theme-text);
                line-height: 1;
                border-radius: 30px;
                margin-top: 5vw;
            }

            .theme-block-box {
                display: block;
            }

            .theme-block-box.img {
                margin-bottom: 4vw;

                .theme-block-item {
                    width: 100%;
                    height: auto;
                    background: #dfdfdf;
                    overflow: hidden;

                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
            }

            .theme-block-box-center {
                width: 100%;
                margin: 0 auto;
                padding: 4vw;
                background: var(--theme-item-rgba);

                p {
                    color: #fff;
                    font-size: 3.2vw;
                    line-height: 2;
                }
            }

            .theme-block-lf-50, .theme-block-rt-50 {
                width: 100%;
            }

            .theme-block-rt-50 {
                width: 100%;
                margin-top: 4vw;
                background: #dfdfdf;
                overflow: hidden;

                img {
                    width: 100%;
                }
            }

            .theme-block-lf-70 {
                width: 100%;

                .theme-block-title-small {
                    font-size: 4vw;
                    color: var(--theme-text);
                    margin-bottom: 0;
                    margin-top: 4vw;
                }
            }

            .theme-block-rt-30 {
                width: 100%;
                margin-top: 3.2vw;
                div {
                    background: #dfdfdf;
                    overflow: hidden;
                    width: 100%;
                }

                div + div {
                    margin-top: 4vw;
                }

                img {
                    width: 100%;
                }
            }

            .theme-block-lf-80 {
                width: 100%;
            }

            .theme-block-rt-20 {
                margin-top: 3.2vw;
                width: 100%;
                height: auto;
                background: #dfdfdf;
                overflow: hidden;

                img {
                    width: 100%;
                }
            }
            .theme-block-item + .theme-block-item {
                margin-top: 4vw;
            }
            .theme-block-item {
                width: 100%;
                height: 24vw;
                padding-top: 1px;
                font-size: 4vw;
                justify-content: center;
                align-items: center;
                text-align: center;
                border-radius: 10px;
                background: linear-gradient(140deg, var(--theme-item-linear-start), var(--theme-item-linear-end));

                > div {
                    font-size: 4vw;
                    color: #fff;
                    margin-top: 4vw;

                }

                .theme-block-item-title {
                    position: relative;

                    &:before {
                        position: absolute;
                        content: '';
                        width: 2em;
                        height: 2px;
                        background: #fff;
                        bottom: -3px;
                        left: 50%;
                        transform: translate(-50%);
                    }
                }

            }

            .theme-block-item.left {
                padding: 1em;
                height: auto;

                .theme-block-item-title {
                    text-align: left;
                    margin-top: 0;
                    font-size: 4vw;

                    &:before {
                        width: 1.2em;
                        background: #fff;
                        bottom: -3px;
                        left: .8em;
                    }
                }

                .theme-block-item-text {
                    text-align: justify;
                    font-size: 3.2vw;
                    line-height: 1.8;
                }
            }
        }
    }
}