@imageRoot : "@/assets/images/loadPage";



.panda_civbase_style_load_page_center_container {
    // display: flex;
    // flex-direction: row;
    position: relative;


    &_icon {
        position: relative;

        &_image {
            position: relative;
            z-index: 10;
            width: 239px;
            height: 219px;

        }

        // &_bg {
        //     left: 50%;
        //     transform: translateX(-58%);
        //     top: 9px;
        //     position: absolute;
        //     z-index: 5;

        //     >div {
        //         border-radius: 50%;
        //         position: absolute;
        //         left: 50%;
        //         top: 50%;
        //         transform: translate(-50%, -50%);
        //         background: radial-gradient(rgba(50, 64, 82, 0) 50%, #3e4b5c 100%);
        //         width: 0;
        //         height: 0;
        //     }

        //     >div:nth-child(1) {
        //         animation: circleFirst 4s linear 0s infinite none running;
        //     }

        //     >div:nth-child(2) {
        //         animation: circleFirst 4s linear 1.5s infinite none running;
        //     }

        //     >div:nth-child(3) {
        //         animation: circleFirst 4s linear 3s infinite none running;
        //     }

        // }
    }

    &_logo {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        position: relative;
        z-index: 10;

        >img {
            margin-bottom: 33px;
            margin-top: 24px;
        }

        &_progress {
            position: relative;
            width: 100%;
            height: 20px;
            background: #0A1E36;
            border: 1px solid #6A798E;
            border-radius: 10px;
            white-space: nowrap;
            overflow: hidden;
            padding: 3px 5px;

            &_inside {
                width: 100%;
                height: 100%;
                overflow: hidden;
                background: linear-gradient(to right, rgb(6, 164, 246), rgb(24, 178, 150));
                border-radius: 5px;
                transition: width 0.1s linear;

                &_percent {
                    position: absolute;
                    left: 50%;
                    top: 50%;
                    transform: translate(-50%, -50%);
                    font-weight: bold;
                    color: #fff;
                    font-size: 20px;
                    font-family: YouSheBiaoTiHei;
                    z-index: 10;
                    -webkit-text-stroke: 1px #091D35;
                    text-stroke: 1px #091D35;
                }

                &_current {
                    left: 0;
                    top: 0;
                    height: 100%;
                    width: 100%;
                    background: url('@{imageRoot}/小黑条.png') repeat-x center center;
                    animation: imageMove 3s linear 0s infinite;
                }
            }
        }

        &_text {
            color: #fff;
            text-align: center;
            margin-top: 5px;
        }
    }

    &[data-type="mask"] {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;

        .panda_civbase_style_load_page_center_container_icon {
            position: relative;
            margin-right: 0;
            text-align: center;

            &_image {
                width: 120px;
                max-height: 100%;
            }

            &_bg {
                >div:nth-child(1) {
                    animation: smallCircleFirst 4s linear 0s infinite none running;
                }

                >div:nth-child(2) {
                    animation: smallCircleFirst 4s linear 1.5s infinite none running;
                }

                >div:nth-child(3) {
                    animation: smallCircleFirst 4s linear 3s infinite none running;
                }
            }
        }

        .panda_civbase_style_load_page_center_container_logo {
            margin-top: 8px;

            &_progress {
                width: 240px;

                &_inside {
                    &_percent {
                        font-size: 18px;
                        -webkit-text-stroke: 0.5px #091D35;
                        text-stroke: 0.5px #091D35;
                    }
                }
            }

            &_text {
                color: #fff;
                text-align: center;
                margin-top: 5px;
            }
        }
    }

}



@keyframes circleFirst {
    0% {
        width: 0px;
        height: 0px;
    }

    70% {
        opacity: 1;
    }

    100% {
        width: 450px;
        height: 450px;
        opacity: 0;
    }
}


@keyframes smallCircleFirst {
    0% {
        width: 0px;
        height: 0px;
    }

    70% {
        opacity: 1;
    }

    100% {
        width: 220px;
        height: 220px;
        opacity: 0;
    }
}

@keyframes imageMove {
    to {
        background-position: 100% 0;
    }

    from {
        background-position: 0 0;
    }
}

@keyframes circleSecond {
    0% {
        width: 0px;
        height: 0px;
    }

    25% {
        width: 0px;
        height: 0px;
    }

    75% {
        width: 450px;
        height: 450px;
    }

    100% {
        width: 450px;
        height: 450px;
    }
}

@keyframes circleThrid {
    0% {
        width: 0px;
        height: 0px;
    }


    66% {
        width: 0px;
        height: 0px;
    }

    100% {
        width: 450px;
        height: 450px;
    }
}