/* ----------------------------------------------
    frame
------------------------------------------------*/
nav,.nav-hide {
    position: fixed;
    top: -40px;
    left: 0;
    padding: 0;
    z-index: 10;
    width: 100%;
    height: 110px;
    /*! border-bottom: 1px solid #ddd; */
    background-color: rgba(250, 250, 250, 0.95);
    max-width: 1920px;
    margin: auto;
    right: 0;
    transition: all .8s ease;
    opacity: 0;
    /*! top: 0; */
}



nav:hover,.nav-show {
    opacity: 1;
    transition: all .8s ease;
    top: 0;


}

nav .menu-top {
    /*! margin: auto; */
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    position: relative;
}

@media screen and (min-width:1921px) {
nav,.nav-hide {

    max-width: 100%;

}

}


@media screen and (max-width:1400px)
{
    nav {
        height: 80px;
    }
}


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

    nav {
        height: 60px;
        top: initial;
        opacity: 1;
        bottom: 0px;
    }

    nav .menu-top {
        padding-right: 0rem;
        padding-left: 0rem;
        flex-direction: column;
    }
nav:hover {
    opacity: 1;
    transition: all 0s ease;
    /*! bottom:-93vh; */


    top: initial;
}
}



/*-----------------------------------------------
    icon
-----------------------------------------------*/

.menu-icon {
    position: relative;
    z-index: 15;

    width: 350px;
    padding: 0.8% 0 0 1.5%;
}

.menu-icon a {
    display: flex;
}

.game-name {
    font-size: 1.2rem;

    display: flex;
    flex-direction: column;
    margin: 7% 10px 0;
}

.game-name span {
    margin: 13px 0 -2px 0;
    font-size: .8rem;
    color: #555;
    letter-spacing: 0.05rem;
}

.menu-icon img {
    width: 25%;
    height: 25%;
}

@media screen and (max-width:1400px) {
    .menu-icon {
        transform: scale(0.7) translate(-19.5%, -16.5%);
        /*! width: auto; */
    }
    .game-name {
    /*! font-size: 1.5rem; */
    margin: 4% 10px 0;
}

}
@media screen and (max-width:1280px) {
    .menu-icon {
        transform: scale(0.7) translate(-20.5%, -8%);
        /*! width: auto; */
    }


}


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

    .menu-icon {
        transform: scale(0.85) translate(-7.5%, -1.5%);
        width: 45%;
        min-width: 280px;
    }

    .menu-icon img {
        width: 20%;
    }

    .game-name {

        margin: 1% 10px 0;
        font-size: 1rem;
    }
}



/*-----------------------------------------------
    list
-----------------------------------------------*/
.menu-list {
    margin: 0 17% 0 0%;
    width: 40%;
}

.menu-list ul {
    display: flex;
}


.menu-list ul li {
    width: 100%;
    max-width: 260px;
}

.menu-list ul li a {
    padding: 0 10px;
    height: 110px;
    line-height: 110px;
    color: #000;
    font-size: 1rem;
    text-align: center;
    letter-spacing: .2rem;
}


.menu-list ul>li>a:hover {
    color: #066bbd;
}


@media screen and (max-width:1400px)
{
    .menu-list {
    width: 50%;
}

.menu-list ul li a {
    height: 80px;
    line-height: 80px;

    font-size: 0.8rem;
    padding: 0;
}

}

@media screen and (max-width:768px) {
    .menu-list {
        position: absolute;
        bottom: -110vh;
        left: 0;
        z-index: 10;
        width: 100%;
        height: 110vh;
        background: rgba(250, 250, 250, 0.9);

    }

    .menu-list ul {
        z-index: 1;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .menu-list ul li a {
        border-top: 1px solid rgba(0, 0, 0, 0.2);
            height: 60px;
    line-height: 60px;

    font-size: 0.8rem;
    padding: 0;
    }

    .menu-list ul li:nth-child(1) a {
        border-top: 0px solid #555;
    }

    .menu-list ul li a:hover {
        width: 100%;
        color: #dc3545;

        text-align: center;
    }

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

    .menu-list-close {
         bottom: -115vh;
        transition: all .8s ease;
    }


}




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

.social-link {
    position: absolute;
    z-index: 50;
    max-width: 100px;
    width: 87px;
    height: 28px;
    top: 20px;
    left: 33%;
}



.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%;
    transition: all .3s ease;
}

.social-link ul li a {
    display: block;
    height: 100%;
    text-align: center;
    line-height: 80px;
    transition: all .3s ease;
}

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

.social-link ul li:nth-child(1) {
    background: url(https://tw-media.game-beans.com/media/pictures/mp/news/img/social-link.png) 5px 6px/22px no-repeat;
}

.social-link ul li:nth-child(2) {
    background: url(https://tw-media.game-beans.com/media/pictures/mp/news/img/social-link.png) 5px -53px/22px no-repeat;
}

.social-link ul li:nth-child(3) {
    background: url(https://tw-media.game-beans.com/media/pictures/mp/news/img/social-link.png) 5px -25px/23px no-repeat;
}
    .social-link ul li:nth-child(4) {
        background: url(https://tw-media.game-beans.com/media/pictures/mp/news/img/social-link.png) 5px -100px/80% no-repeat;
    }
@media screen and (max-width:1400px) {
    .social-link {
        transform: scale(0.85) translate(-9%, -70%);
    }
}

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

    .social-link ul li:nth-child(1) {
        /*! background: url(https://tw-media.game-beans.com/media/pictures/mp/news/img/social-link.png) 5px -14%/80% no-repeat; */
    }
}


@media screen and (max-width:768px) {
    .social-link {
        /*! max-width: 69px; */
        width: 72%;
        /*! height: 30px; */
        top: -5px;
        left: 34%;
        transform: scale(1) translate(-29%, -44%);
    }

    .social-link ul li:nth-child(1) {
        background: url(https://tw-media.game-beans.com/media/pictures/mp/news/img/social-link.png) 5px 6px/22px no-repeat;
    }

    .social-link ul li:nth-child(2) {
        background: url(https://tw-media.game-beans.com/media/pictures/mp/news/img/social-link.png) 5px -53px/22px no-repeat;
    }

    .social-link ul li:nth-child(3) {
        background: url(https://tw-media.game-beans.com/media/pictures/mp/news/img/social-link.png) 5px -25px/23px no-repeat;
    }
}



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

.download {
    position: absolute;
    z-index: 50;
    width: 600px;
    height: 65px;
    top: 70vh;
    margin: auto;
    left: 0;
    right: 0;
}

.download>ul {
    display: flex;
}

.download>ul>li {
    flex: 1;
    height: 45px;
    border-radius: 6px;
    margin: 1%;
    /*! background-color: #000; */
    border: 1px solid #fff;
    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(../../img/kariz/download.jpg) no-repeat -2% center /380%;
}

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

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

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

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

        width: 95%;
        height: 7vh;

    }

}


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


/*-----------------------------------------------
   btn
-----------------------------------------------*/
.go-cbt {
    position: absolute;
    right: 0;
    top: 0;
    width: 13%;
    height: 110px;
    background: rgb(154, 179, 220);
    z-index: 15;
    transition: all .8s ease;
}

.go-cbt a {
    width: 100%;
    height: 100%;
    display: block;
    color: #fff;
    text-align: center;
    line-height: 110px;
    letter-spacing: 0.2rem;
}

@media screen and (max-width:1400px)
{
.go-cbt {

    height: 80px;

}

.go-cbt a {

    line-height: 80px;
    font-size:0.8rem;

}
}

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




    .go-cbt {
        right: 0;
        top: 0;
        width: 25%;
        height: 60px;
    }


    .go-cbt a {

        line-height: 60px;

    }

}

