/* ----------------------------------------------
    frame
------------------------------------------------*/
nav {
    position: fixed;
    top: 40%;
    left: 45%;
    padding: 0;
    z-index: 0;
    width: 50%;
    height: 4rem;
    /*background: #ffff;*/
    transform: translate(0, -50%);
    opacity: 0;
    animation: blur .5s ease-out 1s 1 both;
}



nav .menu-top {
    margin: auto;
    max-width: 1024px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

nav>ul {
    /*! display: flex; */
}


nav> ul> li {
    width: 100%;
    max-width: 300px;
    height: 70px;
}



nav>ul>li>a {
    padding: 0 10px;
    height: 4rem;
    line-height: 4rem;
    color: #555;
    font-size: 1rem;
    letter-spacing: .6rem;
    transition: all .3s ease;
}
nav>ul>li>a:hover {
    transition: all .3s ease;
    color: #00aeffb3;
}

nav>ul>li>a:after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 10px;
    height: 0.08rem;
    width: 17px;
    background: #5eccffb3;
    transition: all .3s ease;
}



nav>ul>li>a:hover:after {

    width: 85px;
    transition: all .8s ease;

}
nav>ul>li:nth-child(3) >a:hover:after {

    width: 117px;
    transition: all .8s ease;

}

nav>ul>li:nth-child(4) >a:hover:after {

    width: 170px;
    transition: all .8s ease;

}


/*hover*/
nav>ul>li>a:before {
    opacity:0;
    content: '';
    position: absolute;
    bottom: 17px;
    left: 100px;
    height: 10px;
    width: 10px;
    border:0.1rem solid #00aeffb3;
    border-radius: 50%;

    transition: all .3s ease;
}
nav>ul>li>a:hover:before {
    content: '';
    animation:circleFadeIn .6s ease-out 0s 1 both;

    transition: all .3s ease;
}
nav>ul>li:nth-child(3) >a:hover:before {

    left: 130px;

}
nav>ul>li:nth-child(4) >a:hover:before {

    left: 186px;

}
@media screen and (max-width:768px) {
    nav .menu-top {
        padding-right: 0rem;
        padding-left: 0rem;
        height: 100vh;
        flex-direction: column;
    }
    nav {
    left: 43%;

}

}





/*-----------------------------------------------
    menu-btn
-----------------------------------------------*/

.menu-btn-hide{
    opacity: 0;
    cursor: default;
}
.menu-btn-show{
    opacity: 1;
    cursor: pointer;
}

.menu-btn {

    display: flex;
    position: fixed;
    top: 12px;
    right: 20px;
    z-index: 99;
    width: 45px;
    height: 45px;
    cursor: pointer;
    border: 0;
    transition: all .5s ease-in-out;
    background: #ffffffd9;
    align-items: center;
    justify-content: center;
}

.menu-btn_burger {
    position: relative;
    width: 22px;
    height: 2px;
    border-radius: 5px;
    transition: all .5s ease-in-out;
    background: #000;
    /*! box-shadow: 0 2px 5px rgba(255, 101, 47, .2); */
}

.menu-btn_burger::before,
.menu-btn_burger::after {
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    border-radius: 5px;
    content: '';
    transition: all .5s ease-in-out;
    background: #000;
    /*! box-shadow: 0 2px 5px rgba(255, 101, 47, .2); */
}

.menu-btn_burger::before {
    transform: translateY(-9px);
}

.menu-btn_burger::after {
    transform: translateY(9px);
}

/* ANIMATION */
.menu-btn.open .menu-btn_burger {
    transform: translateX(-20px);
    background: transparent;
    box-shadow: none;
}

.menu-btn.open .menu-btn_burger::before {
    transform: rotate(45deg) translate(15px, -15px);
}

.menu-btn.open .menu-btn_burger::after {
    transform: rotate(-45deg) translate(15px, 15px);
}


@media screen and (min-width:1921px) {
.menu-btn {


    right: 25rem;

}
}



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



.menu-btn {

    top: 8px;
    right: 8px;
    width: 35px;
    height: 35px;
}

.menu-btn_burger {
    width: 17px;
    height: 2px;
    background: #000;
}

.menu-btn_burger::before,
.menu-btn_burger::after {
    left: 0;
    width: 17px;
    height: 2px;
    border-radius: 5px;
    content: '';

}

.menu-btn_burger::before {
    transform: translateY(-7px);
}

.menu-btn_burger::after {
    transform: translateY(7px);
}




}








/*-----------------------------------------------
    menu-top
-----------------------------------------------*/
.menu-top {
    position: absolute;
    bottom: 10%;
    left: 0;
    padding: 0;
    z-index: 99;
    width: 90%;
    height: 6rem;
    /*border-bottom: 1px solid #00aeff66;*/
    /*! background:
    linear-gradient(120deg, #BDECFF 0%, #6bd3f6 100%); */

    margin: auto;
    transition: all .5s ease;
    box-shadow: 0px 0px #b2dcf169;
    max-width: 1400px;
    right: 0;
}

.menu-top>ul {
    display: flex;
    max-width: 620px;
    /*! width: 50%; */
}


.menu-top>ul>li>a:before {
    opacity:0;

    content: '';
    position: absolute;
    bottom: 31px;
    right: 6px;
    height: 10px;
    width: 10px;
    border:1px solid #00aeffb3;
    border-radius: 50%;

    transition: all .3s ease;
}
.menu-top>ul>li>a:hover:before {
    content: '';
    animation:circleFadeIn .6s ease-out 0s 1 both;

    transition: all .3s ease;
}


@media screen and (max-width:1600px)
{
.menu-top{
    transform: scale(0.8);
    bottom: 9%;
}
}


@media screen and (max-width:1400px)
{
.menu-top{
    bottom: 8%;
}
}


@media screen and (max-width:960px)
{
.menu-top{
    bottom: 2%;
}
}

@media screen and (max-width:768px)
{
.menu-top>ul {
    width: 110%;
    margin: 0 0 0 0%;
}

}



/*-----------------------------------------------
    bounceInUp - 跳起來
-----------------------------------------------*/
@keyframes circleFadeIn
{
0%,60%{opacity:0;}
100%{opacity:1;}
}


.menu-top>ul>li>a:after {
    content: '';
    position: absolute;
    bottom: 35px;
    left: 13px;
    height: 1px;
    width: 17px;
    background: #5eccffb3;
    transition: all .3s ease;
}

.menu-top>ul>li>a {
    padding: 0 16px;
    height: 5rem;
    line-height: 5rem;
    color: #000;
    font-size: 1.1rem;
    text-align: center;
    letter-spacing: .4rem;
    font-weight: 500;
}

.menu-top>ul>li>a:hover {
    transition: all .3s ease;
    color: #00aeffb3;
}

.menu-top>ul>li>a:hover:after {

    width: 82px;
    transition: all .8s ease;

}
.menu-top>ul>li:nth-child(3) >a:hover:after {

    width: 107px;
    transition: all .8s ease;

}
.menu-top>ul>li:nth-child(4) >a:hover:after {

    width: 155px;
    transition: all .8s ease;

}
@media screen and (max-width:768px)
{
.menu-top {
    bottom: 30px;

    transform: scale(0.8);
    width: 100%;
}
.menu-top>ul>li>a {
    padding: 0 10px;
    height: 5rem;
    line-height: 5rem;
    color: #000;
    font-size: 0.95rem;
    text-align: left;
    letter-spacing: .2rem;
    font-weight: 500;
}
.menu-top>ul>li {
    /*! width: 100%; */
    max-width: 150px;
}
.menu-top>ul>li>a:hover:after {

    width: 45px;

}
.menu-top>ul>li:nth-child(4) >a:hover:after {

    width: 90px;

}
}

/*-----------------------------------------------
    social-link
-----------------------------------------------*/

.social-link {
    position: absolute;
    max-width: 120px;
    height: 75px;
    right: 0;
    top: -10%;
    width: 100%;
}

.social-link>ul {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link>ul>li>a,
.social-link>ul>li {
    width: 100%;
    height: 38px;
    text-indent: -200%;
    overflow: hidden;
    margin: 0 2%;
}


.social-link>ul>li {
    transform: scale(1);
    transition: all .3s ease;
}

.social-link>ul>li:hover {
    transform: scale(1.3);
    transition: all .3s ease;
}


.btn-yt {
    background: url(../images/social-link.png) center -2% / 100% no-repeat;
}

.btn-twitter {
    background: url(../images/social-link.png) center 46% / 100% no-repeat;
}

.btn-fb {
    background: url(../images/social-link.png) center 46% / 100% no-repeat;
}

.btn-ig {
    background: url(../images/social-link.png) center 22% / 100% no-repeat;
}

.btn-home {
    background: url(../images/social-link.png) center 93% / 100% no-repeat;
}



@media screen and (max-width:768px) {
    .social-link {
        max-width: 95px;
        height: 38px;
        top: -59px;
        right: -9%;
    }

    .social-link>ul {
        /*! flex-direction: column; */
    }

    .btn-yt {
        background: url(../images/social-link.png) center -2% / 100% no-repeat;
    }

    .btn-twitter {
        background: url(../images/social-link.png) center 49% / 100% no-repeat;
    }

    .btn-fb {
        background: url(../images/social-link.png) center 46% / 100% no-repeat;
    }

    .btn-ig {
        background: url(../images/social-link.png) center 23% / 100% no-repeat;
    }

    .btn-home {
        background: url(../images/social-link.png) center 99% / 100% no-repeat;
    }
}


@media screen and (max-width:400px)
{
   .social-link {
        max-width: 94px;
        height: 32px;
        top: -9px;
        right: -10%;
    }
}




/*-----------------------------------------------
    download
-----------------------------------------------*/

.download {
    position: absolute;
    z-index: 50;
    width: 30%;
    height: 60px;
    top: -73px;
    margin: auto;
    left: 0;
    right: 0;
    max-width: 370px;
}

.download>ul {
    display: flex;
}

.download>ul>li {
    flex: 1;
    height: 45px;
    margin: 1% 2%;
    transform: scale(1);
    transition: all .3s ease;
}

.download>ul>li:hover {
    transform: scale(1.1);
}

.download>ul>li>a {
    display: block;

    height: 100%;
    text-align: center;
    line-height: 80px;
    transition: all .3s ease;
    /*! border: 1px solid #fff; */
    border-radius: 8px;
    /*! background-color: #000; */
}


.and a {
    background: #000 url(../images/download.jpg) no-repeat -2% center /380%;
}

.ios a {
    background: #000 url(../images/download.jpg) no-repeat 33% center /380%;
}

.apk a {
    background: #000 url(../images/download.jpg) no-repeat 67% center /380%;
}

.pc_ a {
    background: #000 url(../images/download.jpg) no-repeat 100% center /380%;
}



@media screen and (max-width:1400px)
{
.download {
    top: -60px;
    width: 28%;
}
.download>ul>li {
    height: 40px;
}
}

@media screen and (max-width:768px) {
    .download {

        width: 61%;
        top: -53px;
    }
.download>ul>li {
    height: 35px;
}
}
@media screen and (max-width:400px)
{
    .download {

        width: 59%;
        top: -30px;
    }
}


/* run - 跑光效果*/

@keyframes run {
    0% {
        right: -200%;
        filter: brightness(1);
    }

    50% {
        right: 300%;
        filter: brightness(1.5);
    }

    100% {
        right: -200%;
        filter: brightness(1);
    }
}

.run {
    animation: btn-open 1s ease-out 0s 1 both;
}


/*usage: add "run-effect" to class in Html */
.run-effect1,
.run-effect2,
.run-effect3 {
    position: relative;
    overflow: hidden;
}

.run-effect1:after,
.run-effect2:after,
.run-effect3:after {
    position: absolute;
    top: -10%;
    right: -200%;
    z-index: 0;
    opacity: .2;
    width: 50%;
    height: 120%;
    color: #fff;
    content: '';
    transition: all 300ms;
    transform: skewX(40deg);
    animation: run 3.5s ease 0s infinite both;
    background: #fff;
    filter: brightness(.5);
}

.run-effect2:after {
    animation: run 3.5s ease 0.2s infinite both;
}

.run-effect3:after {
    animation: run 3.5s ease 0.4s infinite both;
}