/* ----------------------------------------------
    frame
------------------------------------------------*/
nav {
    /*display: none;*/
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 0;
    z-index: 99;
    width: 100%;
    height: 180px;
    /*background-color: #000;*/
    transition: all .5s ease;



    /*animation: circle-open 0.8s ease-out 0.5s 1 both;*/
}

nav:hover,.nav-show {
    opacity: 1;
    transition: all .5s ease;
}

.nav-hide {
    opacity: 0;
    transition: all .5s ease;
}

nav:before {
    content: "";
    position: absolute;
    width: 120%;
    height: 100%;
    left: -10%;
    top: 10%;
    z-index: 0;
    /*! opacity: 0.9; */
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.03) 2%, rgba(0, 0, 0, 0.63) 46%, rgba(0, 0, 0, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.03) 2%, rgba(0, 0, 0, 0.63) 46%, rgba(0, 0, 0, 1) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.03) 2%, rgba(0, 0, 0, 0.63) 46%, rgba(0, 0, 0, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#000000', GradientType=0);

    filter: blur(15px);


    /*! right: 0; */
    /*! margin: auto; */
}

nav .menu-top {
    margin: auto;
    max-width: 888px;
}

@media screen and (max-width:1850px) {
    nav .menu-top {
        max-width: 800px;
    }
}

@media screen and (max-width:1280px) {
    nav .menu-top {
        max-width: 750px;
    }
}



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

    nav {

        /*! height: 5rem; */

    }

}



/*-----------------------------------------------
    list
-----------------------------------------------*/

.menu-list {
    display: flex;
    width: 547px;
    color: #fff;
    margin: 120px auto 0;
}

.menu-list li {
    min-width: 115px;
    position: relative;
    /*! text-align: center; */
    display: flex;
    width: 100%;
}

.menu-list a:hover {
    color: #dc3545;
}


.pc_ {
    display: inline-block;
    opacity: 1;
}


@media screen and (max-width:1400px)
{
.menu-list{
    transform: scale(0.8);

}

}


@media screen and (max-width: 768px) {
    .menu-list {
        position: absolute;
        bottom: 6%;
        left: 0;
        /*! z-index: 1; */
        width: 100%;

        right: 0;
        margin: auto;
        /*! transform: scale(0.6); */
    }

    /*! open & close */
    .menu-list-open {
        top: 0;
        transition: all .5s ease;
    }

    .menu-list-close {
        top: -100vh;
        transition: all .8s ease;
    }

        .menu-list a {
        color: #fff;
        text-align: center;
        font-size: 0.9rem;
        /*! line-height: 5rem; */
        padding: 0 6px;
        display: flex;
    }

    .pc_ {
        display: none;
        opacity: 0;
    }

    .menu-list li {
        min-width: 107px;
        flex: 1;
        text-align: center;
        /*! width: 25%; */
    }
}
@media screen and (max-width:414px)
{
    .menu-list {
        bottom: 15%;
        transform: scale(0.6);

    }
}




/* ----------------------------------------------
    a
------------------------------------------------*/


.menu-list li a {
    transition: 0.5s ease-in-out;

    overflow: visible;
    text-decoration: none;
    transition: 0.5s ease-in-out;
    color: #fff;
    padding: 0 0 0 15%;
    /*! font-size: 1.05rem; */
    letter-spacing: 0.5rem;
    /*!  */
}

.menu-list li:nth-child(1) a {
    animation: glowingPulse 2s linear 0s infinite;
}

.menu-list li:nth-child(2) a {
    animation: glowingPulse 2s linear 0.35s infinite;
}

.menu-list li:nth-child(3) a {
    animation: glowingPulse 2s linear 0.55s infinite;
}

.menu-list li:nth-child(4) a {
    animation: glowingPulse 2s linear 0.75s infinite;
}

.menu-list li:nth-child(5) a {
    animation: glowingPulse 2s linear 0.95s infinite;
}

.menu-list li:nth-child(6) a {
    animation: glowingPulse 2s linear 1.15s infinite;
}

.menu-list li a:hover {
    animation: none;
    /*color: #fff8a8;*/
    color: #fff;
    text-shadow: 0 0 4px rgb(0, 16, 255), 0 0 8px rgb(0, 159, 255), 0 0 12px rgb(0, 16, 255), 0 0 16px rgb(0, 40, 255), 0 0 20px rgb(0, 100, 255), 0 0 40px rgb(0, 4, 255);
}



@media screen and (max-width:768px)
{
.menu-list li a {

    padding: 0 0 0 10%;
    letter-spacing: 0.3rem;
}
}



/*-----------------------------------------------
    neon
-----------------------------------------------*/

/* Credits */

.neon {
    transition: 0.5s ease-in-out;
    color: #ff7d06;
    overflow: visible;
    animation: glowingPulse 2.5s linear infinite;
    text-decoration: none;
    display: block;
    letter-spacing: 0.01rem;
    text-align: right;
}




/* Inline Animation & 3D */
@keyframes glowingPulse {
    0% {
        opacity: 1;
        text-shadow: 0 0 2px rgba(255, 153, 0, 0.2), 0 0 8px rgba(255, 153, 0, 0.3), 0 0 10px rgba(0, 40, 255, 0.2), 0 0 8px rgb(0, 100, 255), 0 0 10px rgb(0, 64, 255), 0 0 12px rgb(0, 40, 255);
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 1px rgba(255, 153, 0, 0), 0 0 2px rgba(255, 153, 0, 0), 0 0 4px rgba(255, 0, 0, 0), 0 0 8px rgba(255, 0, 0, 0), 0 0 10px rgba(255, 0, 0, 0), 0 0 13px rgba(255, 0, 0, 0);
    }

    100% {
        opacity: 1;
        text-shadow: 0 0 3px rgba(255, 153, 0, 0.2), 0 0 8px rgba(255, 153, 0, 0.3), 0 0 15px rgba(32, 0, 255, 0.5), 0 0 16px rgb(0, 28, 255), 0 0 10px rgb(0, 4, 255), 0 0 15px rgb(0, 40, 255);
    }
}



/*-----------------------------------------------
    menu-btn - m
-----------------------------------------------*/
.menu-btn {
    display: none;
}

@media screen and (max-width:768px) {
    .menu-btn {
        display: flex;
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 99;
        width: 40px;
        height: 40px;
        cursor: pointer;
        border: 0;
        transition: all .5s ease-in-out;
        background: transparent;
        align-items: center;
        justify-content: center;
    }

    .menu-btn_burger {
        position: relative;
        width: 22px;
        height: 3px;
        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: 3px;
        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(-7px);
    }

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

    /* 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);
    }
}




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

.social-link {
    position: absolute;
    z-index: 50;
    max-width: 100px;
    width: 13%;
    height: 30px;
    top: 1px;
    left: 72%;
    /*! right: 0; */
    /*background: url(../images/social-link-bg.png) 0 0 no-repeat;*/
}

.social-link ul {
    display: flex;
    max-width: 100%;
    margin-left: 0;
}

.social-link ul li {
    flex: 1;
    height: 100%;
    margin: 0;
    /*background-color: #e8151582;*/
    text-indent: -300%;
    transform: scale(1);
    transition: all .3s ease;
}
.social-link ul li:hover {
    transform: scale(1.2);
    transition: all .3s ease;
}


.social-link ul li a {
    display: block;
    height: 100%;
    text-align: center;
    line-height: 89px;
}

.btn-fb{    background: url(../images/social-link.png) 50% 2% /42px no-repeat;}
.btn-yt{    background: url(../images/social-link.png) 50% 33% /42px no-repeat;}
.btn-home{    background: url(../images/social-link.png) 50% 64% /42px no-repeat;}



@media screen and (max-width:1400px)
{
.social-link{
    transform: scale(0.85);

    /*! left: 65%; */
    /*! top: -15px; */
}
}



@media screen and (max-width:768px)
{
.social-link{
    transform: scale(1);

    left: 63%;
    top: 2%;
    width: 36%;
    position: fixed;
    max-width: 120px;
}
.btn-fb{    background: url(../images/social-link.png) 50% 0% /35px no-repeat;}
.btn-yt{    background: url(../images/social-link.png) 50% 32% /35px no-repeat;}
.btn-home{    background: url(../images/social-link.png) 50% 66% /35px no-repeat;}
.btn-nav{    background: url(../images/social-link.png) 50% 99% /35px no-repeat;}


.social-link ul li a.btn-nav-hide{
    /*background:rgba(250,250,250,0.6);*/
     background: url(../images/social-link.png) 50% 100% /35px no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
}

}



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

.download {
    position: fixed;
    z-index: 50;
    width: 150px;
    height: 50px;
    bottom: 9%;
    margin: auto;
    left: 1%;

}

.download>ul {
    /*! display: flex; */
}

.download>ul>li {
    flex: 1;
    height: 40px;
    border-radius: 6px;
    margin: 4%;
    /*! background-color: #000; */
    border: 1px solid #2b2b2b;
    transform: scale(1);
    transition: all .3s ease;
}

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

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

    height: 100%;
    text-align: center;
    line-height: 80px;
    transition: all .3s ease;
    /*! border: 1px solid #fff; */
    border-radius: 5px;
    /*! 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 {
    transform: scale(0.8);

}

}



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

        width: 69%;
        height: 7vh;

        left: 0;
        right: 0;
        bottom: 9%;
    }
    .download ul{

        display: flex;

    }
}


/* 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;
}


/*-----------------------------------------------
    circle-open 圓形張開
-----------------------------------------------*/

@keyframes circle-open {
    0% {
        clip-path: polygon(49% 0, 58% 0, 46% 99%, 38% 100%);
        opacity: 0;
    }

    80% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        opacity: 1;
    }

    81% {
        clip-path: none;
    }
}