/*按钮动画*/
.mousebtn{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 2;
}
.mousebtn .mouse{
    background: transparent;
    position: relative;
    width: 16px;
    height: 24px;
    border-radius: 16px;
    background-size: 100% 200%;
    animation: colorSlide 10s linear infinite, nudgeMouse 10s ease-out infinite;
    overflow: hidden;
    box-shadow: inset 0 0 0 2px #fff;
    margin-bottom: 10px;
}
.mousebtn .mouse:before{
    width: 16px;
    height: 24px;
    background-color: transparent;
    border-radius: 16px;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

.mousebtn .mouse:after{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    background-color: #ffffff;
    width: 2px;
    height: 4px;
    -webkit-animation: trackBallSlide 10s linear infinite;
    animation: trackBallSlide 10s linear infinite;
}

.mouse-text{
    color: #fff;
    font-size: 14px;
}

/*第二屏幕颜色*/
.about-page .mousebtn{
    bottom: 70px;
}
.about-page .mousebtn .mouse{
    box-shadow: inset 0 0 0 2px #808080;
}

.about-page .mousebtn .mouse:after{
    background-color: #808080;
}

.about-page .mouse-text{
    color: #222;
}
/*第三屏幕颜色*/
.news-page .mousebtn{
    bottom: 20px;
}
.news-page .mousebtn .mouse{
    box-shadow: inset 0 0 0 2px #808080;
}

.news-page .mousebtn .mouse:after{
    background-color: #808080;
}

.news-page .mouse-text{
    color: #222;
}

/*第四屏幕颜色*/
.study-page .mousebtn{
    bottom: 20px;
}
.study-page .mousebtn .mouse{
    box-shadow: inset 0 0 0 2px #808080;
}

.study-page .mousebtn .mouse:after{
    background-color: #808080;
}

.study-page .mouse-text{
    color: #222;
}
@keyframes colorSlide {
    0% {
        background-position: 0% 100%;
    }
    20% {
        background-position: 0% 0%;
    }
    21% {
        background-color: transparent;
    }
    29.99% {
        background-color: transparent;
        background-position: 0% 0%;
    }
    30% {
        background-color: transparent;
        background-position: 0% 100%;
    }
    50% {
        background-position: 0% 0%;
    }
    51% {
        background-color: transparent;
    }
    59% {
        background-color: transparent;
        background-position: 0% 0%;
    }
    60% {
        background-color: transparent;
        background-position: 0% 100%;
    }
    80% {
        background-position: 0% 0%;
    }
    81% {
        background-color: transparent;
    }
    90%, 100% {
        background-color: transparent;
    }
}
@keyframes trackBallSlide {
    0% {
        opacity: 1;
        -webkit-transform: scale(1) translateY(-15px);
        transform: scale(1) translateY(-15px);
    }
    6% {
        opacity: 1;
        -webkit-transform: scale(0.9) translateY(3px);
        transform: scale(0.9) translateY(3px);
    }
    14% {
        opacity: 0;
        -webkit-transform: scale(0.4) translateY(20px);
        transform: scale(0.4) translateY(20px);
    }
    15%, 19% {
        opacity: 0;
        -webkit-transform: scale(0.4) translateY(-15px);
        transform: scale(0.4) translateY(-15px);
    }
    28%, 29.99% {
        opacity: 1;
        -webkit-transform: scale(1) translateY(-15px);
        transform: scale(1) translateY(-15px);
    }
    30% {
        opacity: 1;
        -webkit-transform: scale(1) translateY(-15px);
        transform: scale(1) translateY(-15px);
    }
    36% {
        opacity: 1;
        -webkit-transform: scale(0.9) translateY(3px);
        transform: scale(0.9) translateY(3px);
    }
    44% {
        opacity: 0;
        -webkit-transform: scale(0.4) translateY(20px);
        transform: scale(0.4) translateY(20px);
    }
    45%, 49% {
        opacity: 0;
        -webkit-transform: scale(0.4) translateY(-15px);
        transform: scale(0.4) translateY(-15px);
    }
    58%, 59.99% {
        opacity: 1;
        -webkit-transform: scale(1) translateY(-15px);
        transform: scale(1) translateY(-15px);
    }
    60% {
        opacity: 1;
        -webkit-transform: scale(1) translateY(-15px);
        transform: scale(1) translateY(-15px);
    }
    66% {
        opacity: 1;
        -webkit-transform: scale(0.9) translateY(3px);
        transform: scale(0.9) translateY(3px);
    }
    74% {
        opacity: 0;
        -webkit-transform: scale(0.4) translateY(20px);
        transform: scale(0.4) translateY(20px);
    }
    75%, 79% {
        opacity: 0;
        -webkit-transform: scale(0.4) translateY(-15px);
        transform: scale(0.4) translateY(-15px);
    }
    88%, 100% {
        opacity: 1;
        -webkit-transform: scale(1) translateY(-15px);
        transform: scale(1) translateY(-15px);
    }
}
@keyframes nudgeMouse {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    20% {
        -webkit-transform: translateY(8px);
        transform: translateY(8px);
    }
    30% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    50% {
        -webkit-transform: translateY(8px);
        transform: translateY(8px);
    }
    60% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    80% {
        -webkit-transform: translateY(8px);
        transform: translateY(8px);
    }
    90% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}
@keyframes nudgeText {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    20% {
        -webkit-transform: translateY(2px);
        transform: translateY(2px);
    }
    30% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    50% {
        -webkit-transform: translateY(2px);
        transform: translateY(2px);
    }
    60% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    80% {
        -webkit-transform: translateY(2px);
        transform: translateY(2px);
    }
    90% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/*第二屏小球特效*/
.about-circle-first{
    transition: all .8s  ease 0s;
    animation: myfirstd linear infinite 2s;
}

.about-circle-second{
    transition: all .8s  ease 0s;
    animation: myfirstd linear infinite 2s;
    animation-delay: .5s;
}

.about-circle-third{
    transition: all .8s  ease 0s;
    animation: myfirstd linear infinite 2s;
    animation-delay: 1s;
}

.about-circle-fourthly{
    transition: all .8s  ease 0s;
    animation: myfirstd linear infinite 2s;
    animation-delay: .5s;
}
/*.about-circle-second{*/
/*    transition: all .8s  ease 0s;*/
/*    animation: myfirstd linear infinite 2s;*/
/*    animation-delay: .5s;*/
/*}*/

.about-circle:hover{
    transform: scale(1.2);
    transition: all .8s;
}

@keyframes myfirstd {
    0% {
        margin-top: 0px;
    }
    25%{
        margin-top: 10px;
    }
    50% {
        margin-top: 15px;
    }
    75%{
        margin-top: 10px;
    }
    100% {
        margin-top: 0px;
    }
}



/*鼠标移入图片的效果*/

.news-content-img , .study-img , .activity-img{
    overflow: hidden;
}
.news-content-img img ,.study-img img ,.activity-img img {
    transition: all .8s;
}

.news-content-img img:hover , .study-img img:hover, .activity-img img:hover{
    transform: scale(1.1);
    transition: all .8s;
}



@keyframes about-item1 {
    0% {
        top: -500px;
        opacity: 0;
        /* 起始位置，小球在容器的顶部 */
    }
    70%{
        top: 410px;
        opacity: 1;
    }
    80%{
        top: 400px;
        opacity:1;
    }
    90%{
        top: 390px;
        opacity: 1;
    }

    100% {
        top:380px ;
        opacity: 1;
        /* 结束位置，小球在容器的底部（根据容器的高度调整） */
    }
}

@keyframes about-item2 {
    0% {
        top: -500px;
        opacity: 0;
        /* 起始位置，小球在容器的顶部 */
    }
    70%{
        top: 230px;
        opacity: 1;
    }
    80%{
        top: 220px;
        opacity:1;
    }
    90%{
        top: 210px;
        opacity: 1;
    }

    100% {
        top:200px ;
        opacity: 1;
        /* 结束位置，小球在容器的底部（根据容器的高度调整） */
    }
}

@keyframes about-item3 {
    0% {
        top: -500px;
        opacity: 0;
        /* 起始位置，小球在容器的顶部 */
    }
    70%{
        top: 230px;
        opacity: 1;
    }
    80%{
        top: 220px;
        opacity:1;
    }
    90%{
        top: 210px;
        opacity: 1;
    }

    100% {
        top:200px ;
        opacity: 1;
        /* 结束位置，小球在容器的底部（根据容器的高度调整） */
    }
}


@keyframes about-item4 {
    0% {
        top: -500px;
        opacity: 0;
        /* 起始位置，小球在容器的顶部 */
    }
    70%{
        top: 410px;
        opacity: 1;
    }
    80%{
        top: 400px;
        opacity:1;
    }
    90%{
        top: 390px;
        opacity: 1;
    }

    100% {
        top:380px ;
        opacity: 1;
        /* 结束位置，小球在容器的底部（根据容器的高度调整） */
    }
}



@keyframes to_right {
    0%{
        right: 20px;
    }
    50%{
        right: 25px;
    }
    100%{
        right: 20px;
    }
}

@keyframes unit-btn {
    0%{
        right: 25px;
    }
    50%{
        right: 30px;
    }
    100%{
        right: 25px;
    }
}
