@font-face {
  font-family: "arial";
  src: url('../fonts/arial.ttf') format('truetype');
}
@font-face {
  font-family: "arial";
  src: url('../fonts/arialbold.ttf') format('truetype');
  font-weight: bold;
}
@font-face {
  font-family: "arial";
  src: url('../fonts/arialitalic.ttf') format('truetype');
  font-style: italic;
}
@font-face {
  font-family: "arial";
  src: url('../fonts/arialbolditalic.ttf') format('truetype');
  font-style: italic;
  font-weight: bold;
}
@font-face {
  font-family: "UTM Azuki";
  src: url('../fonts/UTM Azuki.ttf') format('truetype');
}
html,
body {
  padding: 0;
  margin: 0;
  font-family: arial;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
}
#left-char-canvas {
  bottom: 0;
  left: 0;
  position: absolute;
}
#right-char-canvas {
  bottom: 0;
  right: 0;
  position: absolute;
}
#canvasButtonDownLoad {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  margin: 0 auto;
}
body {
  height: 100%;
}
body .main-contain {
  height: 100%;
  position: relative;
  /*.ldplayer-icon {
            position: fixed;
            background: url(../img/icon.png) no-repeat;
            background-size: contain;
            bottom: 3%;
            left: 3%;
            width: 10%;
            height: 10%;
            min-width: 50px;
            min-height: 50px;
            z-index: 99;
            transform-origin: left bottom;

            a {
                position: absolute;
                width: 100%;
                height: 100%;
            }
        }*/

  /* .ldplayer-icon {
            position: fixed;
            background: url(../img/logo2.png) no-repeat;
            background-size: contain;
            bottom: 3%;
            left: 3%;
            width: 14%;
            height: 4%;
            min-width: 100px;
            min-height: 15px;
            z-index: 99;
            transform-origin: left bottom;

            a {
                position: absolute;
                width: 100%;
                height: 100%;
            }
        }

        .icon-new-sever {
            background: url('@{images}update_2021/new-PK.png');
            background-position: 0 0;
            width: 222px;
            height: 223px;
            position: absolute;
            right: 2.083333333vw;
            top: 30px;
            transform-origin: top right;
            animation: zoomIn 0.1s ease-out 0.2s both;
            -moz-animation: zoomIn 0.1s ease-out 0.2s both;
            -webkit-animation: zoomIn 0.2s ease-out 0.2s both;
            z-index: 9995;
        }*/

  /* Social Panel */

  /*  #left-char {
            background: url('@{images}update_2020/Nhan-Vat/nhan-vat-1.png') left no-repeat;
            width: 800px;
            height: 900px;
            position: absolute;
            z-index: 1;
            bottom: 0;
            left: 0;
            background-size: contain;
        }

        #right-char {
            background: url('@{images}update_2020/Nhan-Vat/nhan-vat-2.png') right no-repeat;
            width: 800px;
            height: 900px;
            position: absolute;
            z-index: 1;
            bottom: 0;
            right: 0;
            background-size: contain;
        }*/

}
body .main-contain .social-panel {
  right: 0;
  height: 5.208333333vw;
  top: 30%;
  transform: translateY(-50%);
  position: fixed;
  z-index: 9995;
}
body .main-contain .social-panel > a {
  background: url('Tab.png') no-repeat 0px 0px;
  background-size: 11.14583333vw 13.22916667vw;
  width: 2.083333333vw;
  height: 2.083333333vw;
  position: absolute;
  right: 8.333333333vw;
  top: 49%;
  margin-top: -0.260416667vw;
  z-index: 1;
}


body .main-contain .social-panel-show {
  width: 8.854166667vw;
  background-position: 0 0;
}
body .main-contain .social-panel-show ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
body .main-contain .social-panel-show ul li {

  background-position-x: -2.083333333vw;
  height: 3.28125vw;
  position: relative;
  width: 100%;
}


body .main-contain .social-panel-show ul li:nth-child(1) {
  background-position-y: 0px;
}
body .main-contain .social-panel-show ul li:nth-child(2) {
  background-position-y: -6.510416667vw;
}
body .main-contain .social-panel-show ul li a {
 
  height: calc(14.11458333vw / 4 );
  position: absolute;
  width: 100%;
  font-family: Arial;
  font-size: 20px;
  color: #ffa800;
  text-transform: uppercase;
  text-decoration: none;
}

body .main-contain .social-panel-hide {
  background-position-x: 2.864583333vw;
  width: 2.864583333vw;
  display: none;
}
body .main-contain .social-panel-hide > a {
  background: url('Tab.png') no-repeat 0px -2.083333333vw;
  background-size: 11.14583333vw 13.22916667vw;
  right: 1.875vw;
}
body .main-contain #bg-imgage {
  background: url('../img//update_2021/BG.jpg') no-repeat center;
  background-size: cover;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: fixed;
}
body .main-contain #bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: fixed;
}
body .main-contain #pannel-content {
  background: url('img/khung.png');
  background-size: 58.95833333vw 38.80208333vw;
  width: 58.95833333vw;
  height: 38.80208333vw;
  position: absolute;
  z-index: 9999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6.510416667vw 6.25vw;
  display: none;
}
body .main-contain #pannel-content #close-pannel-content {
  background: url('../img/element.png');
  background-size: 30.10416667vw 43.90625vw;
  background-position: 5.78125vw -8.645833333vw;
  position: absolute;
  right: 5.208333333vw;
  top: 6.770833333vw;
  width: 2.239583333vw;
  height: 2.239583333vw;
  cursor: pointer;
  z-index: 99;
}
body .main-contain #pannel-content .detail-pannel-content {
  width: 100%;
  height: 100%;
  position: relative;
}
body .main-contain #pannel-content .detail-pannel-content #title-pannel-content {
  /*background: url('@{images}element.png');
                    background-position-x: 0;*/
  margin: auto;
  width: 27.08333333vw;
  height: 4.89583333vw;
  position: relative;
  margin-bottom: 1.041666667vw;
  background-size: contain;
}
body .main-contain #pannel-content .detail-pannel-content #title-pannel-content::after {
  content: '';
  position: absolute;
  background: url('../img/element.png');
  background-size: 30.10416667vw 43.90625vw;
  background-position: 0 11.19791667vw;
  width: 14.0625vw;
  height: 1.041666667vw;
  bottom: -1.041666667vw;
  left: 50%;
  transform: translateX(-50%);
}
body .main-contain #pannel-content .detail-pannel-content .detail-post {
  width: 100%;
  height: calc( 100% - 4.427083333vw );
  position: relative;
  overflow: auto;
  padding: 0 1.041666667vw;
  margin-top: 15px;
}
body .main-contain #pannel-content .detail-pannel-content .detail-post h2 {
  left: 35%;
  top: 45%;
  position: absolute;
  font-family: "UTM Azuki";
  font-size: 46px;
  color: #500000;
}
body .main-contain #pannel-content .detail-pannel-content .detail-post img {
  display: block;
  margin: auto;
  max-width: 100%;
  height: auto;
}
body .main-contain #dark-fix-bg-popup {
  background-color: #000000;
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  opacity: 0.75;
  z-index: 9998;
}
body .main-contain #pannel-content-newServer {
  background: url('img/popup-may-chu-pk.jpg');
  background-size: 46.30208333vw 26.77083333vw;
  width: 46.30208333vw;
  height: 26.77083333vw;
  position: absolute;
  z-index: 9999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  border-radius: 0.520833333vw 0.520833333vw 0.520833333vw 0.520833333vw;
}
body .main-contain #pannel-content-newServer #close-pannel-content-newServer {
  background: url('../img/element.png');
  background-size: 30.10416667vw 43.90625vw;
  background-position: 5.78125vw -8.645833333vw;
  position: absolute;
  right: 0.520833333vw;
  top: 0.520833333vw;
  width: 2.239583333vw;
  height: 2.239583333vw;
  cursor: pointer;
  z-index: 99;
}
body .main-contain .main-content {
  width: 100%;
  height: 100%;
  position: relative;
  margin: auto;
  transform-origin: center bottom;
  z-index: 5;
  /*  .icon-new-sever-small {
                background: url('@{images}element.png');
                background-size: 30.10416667vw 43.90625vw;
                background-position: 0 0;
                width: 12.5vw;
                height: 7.8125vw;
                position: absolute;
                transform-origin: top left;
                animation: zoomIn2 0.1s ease-out 0.2s both;
                -moz-animation: zoomIn2 0.1s ease-out 0.2s both;
                -webkit-animation: zoomIn2 0.2s ease-out 0.2s both;
                z-index: 99;
                display: none;
            }*/

  /*  #cover-txt-title-page {
                bottom: 500px;
                position: absolute;
                width: 100%;

                .txt-title-page {
                    background: url('@{images}txt.png');
                    width: 815px;
                    height: 369px;
                    margin: auto;
                    zoom: .8;
                    animation: play-title-page 1s steps(15) infinite;

                    &:hover {
                        background: url('@{images}txt_hover.png');
                    }
                }
            }*/

}
body .main-contain .main-content #btn-download {
  background: url('img/btn/btn-downgame-0.png') no-repeat 0 0;
  background-size: 18.22916667vw 14.0625vw;
  width: 18.22916667vw;
  height: 14.0625vw;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
body .main-contain .main-content #btn-download a {
  position: absolute;
  top: 4.166666667vw;
  left: 4.427083333vw;
  right: 4.427083333vw;
  bottom: 0.78125vw;
}
body .main-contain .main-content #list-menu {
  position: absolute;
  bottom: 8.854166667vw;
  width: 100%;
  z-index: 9999;
  animation: appear-list-menu 1.2s infinite alternate;
}
body .main-contain .main-content #list-menu ul {
  margin: auto;
  padding: 0;
  list-style-type: none;
  width: max-content;
  zoom: 0.9;
}
body .main-contain .main-content #list-menu ul li {
  float: left;
  /*background: url('@{images}element.png');*/
  height: 17.23958333vw;
  width: 8.229166667vw;
  /*margin: 0 10px;*/
  position: relative;
  /*&:nth-child(5) {
                            background: url('@{images}update_2020/Buttons/button-5/button-5-normal.png');*/

  /*animation: appear-menu-item5 0.1s ease-out 0.8s both;*/

  /*&:hover {
                                background: url('@{images}update_2020/Buttons/button-5/button-5-hover.png');
                            }
                        }*/

}
body .main-contain .main-content #list-menu ul li a {
  position: absolute;
  width: 100%;
  height: 100%;
}
body .main-contain .main-content #list-menu ul li:hover {
  animation: menu-item-hover 0.5s steps(19) !important;
}
body .main-contain .main-content #list-menu ul li:nth-child(1) {
  background: url('img/btn/btn-4-animation.png');
  background-size: 10.41666667vw 318.75vw;
  animation: menu-item-active 1.2s steps(14) infinite !important;
  width: 10.41666667vw;
  height: 21.25vw;
  margin: 1.041666667vw 0 0;
}
body .main-contain .main-content #list-menu ul li:nth-child(2) {
  background: url('img/btn/btn-1.png');
  background-size: 8.229166667vw 17.23958333vw;
  /*animation: appear-menu-item1 0.1s ease-out 0.2s both;*/

}
body .main-contain .main-content #list-menu ul li:nth-child(2):hover {
  background: url('img/btn/btn-1-animation.png');
  background-size: 8.229166667vw 344.7916667vw;
}
body .main-contain .main-content #list-menu ul li:nth-child(3) {
  background: url('img/btn/btn-2.png');
  background-size: 8.229166667vw 17.23958333vw;
  /*animation: appear-menu-item2 0.1s ease-out 0.35s both;*/

}
body .main-contain .main-content #list-menu ul li:nth-child(3):hover {
  background: url('img/btn/btn-2-animation.png');
  background-size: 8.229166667vw 344.7916667vw;
}
body .main-contain .main-content #list-menu ul li:nth-child(4) {
  background: url('img/btn/btn-3.png');
  background-size: 8.229166667vw 17.23958333vw;
  /*animation: appear-menu-item3 0.1s ease-out 0.5s both;*/
  margin: 2.604166667vw 0.520833333vw 0;
}
body .main-contain .main-content #list-menu ul li:nth-child(4):hover {
  background: url('img/btn/btn-3-animation.png');
  background-size: 8.229166667vw 344.7916667vw;
}
body .main-contain .main-content #cover-logo-game {
  position: absolute;
  top: 0px;
  width: 100%;
}
body .main-contain .main-content #cover-logo-game .logo-game {
  background: url('Logo.png') no-repeat;
  background-size: 15.15625vw 8.854166667vw;
  width: 15.15625vw;
  height: 8.854166667vw;
}
@keyframes play-btn-download {
  100% {
    background-position: 0 -4050px;
  }
}
@keyframes play-title-page {
  0% {
    background: url('img/txt_hover.png');
  }
  50% {
    background: url('img/txt.png');
  }
  100% {
    background: url('img/txt_hover.png');
  }
}
@keyframes zoomIn {
  0% {
    background-size: 444px;
    width: 444px;
    height: 446px;
    right: 0;
    top: 0;
    opacity: 0;
  }
  100% {
    background-size: 222px;
    width: 222px;
    height: 223px;
    right: 2.083333333vw;
    top: 30px;
    opacity: 1;
  }
}
@keyframes zoomIn2 {
  0% {
    background-size: 1156px;
    width: 480px;
    height: 300px;
    left: 0;
    bottom: 400px;
    opacity: 0;
  }
  100% {
    background-size: 578px;
    width: 240px;
    height: 150px;
    left: 2.083333333vw;
    bottom: 455px;
    opacity: 1;
  }
}
@keyframes appear-menu-item1 {
  0% {
    transform: scale(0.5);
    opacity: 0;
    left: calc(50% - 42.5px);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    left: 0;
  }
}
@keyframes appear-menu-item2 {
  0% {
    transform: scale(0.5);
    opacity: 0;
    left: calc(25% - 42.5px);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    left: 0;
  }
}
@keyframes appear-menu-item3 {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes appear-menu-item4 {
  0% {
    transform: scale(0.5);
    opacity: 0;
    right: calc(25% - 42.5px);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    right: 0;
  }
}
@keyframes appear-menu-item5 {
  0% {
    transform: scale(0.5);
    opacity: 0;
    right: calc(25% - 42.5px);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    right: 0;
  }
}
@keyframes appear-list-menu {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(6px);
  }
}
@keyframes menu-item-active {
  100% {
    background-position-y: -297.5vw;
  }
}
@keyframes menu-item-hover {
  100% {
    background-position-y: -327.5520833vw;
  }
}
@keyframes play-left-char {
  0% {
    background-position: 0px -14400px;
  }
  100% {
    background-position: 0px 0px;
  }
}
@keyframes play-right-char {
  0% {
    background-position: 0px -14416px;
  }
  100% {
    background-position: 0px 0px;
  }
}
::-webkit-scrollbar {
  width: 4px;
  height: 8px;
}
/* Track */

::-webkit-scrollbar-track {
  background: #d7d7d7;
  box-shadow: inset 0 0 5px grey;
  border-radius: 50px;
}
/* Handle */

::-webkit-scrollbar-thumb {
  background: #331611;
  box-shadow: inset 0 0 5px grey;
  border-radius: 50px;
}
/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
  background: #555;
}
/*::-webkit-scrollbar-thumb {
    background: #9c6d33;
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}*/

/*@media (max-height: 985px) {
    .icon-new-sever, .icon-new-sever-small {
        transform: scale(.9) !important;
    }

    .main-content #list-menu {
        bottom: 170px !important;

        ul {
            li {
                transform: scale(.8) !important;
            }
        }
    }
}

@media (max-height: 885px) {
    .icon-new-sever, .icon-new-sever-small {
        transform: scale(.8) !important;
    }

    .main-content #list-menu {
        ul {
            li {
                transform: scale(.8) !important;
            }
        }
    }
}

@media (max-height: 785px) {
    .icon-new-sever, .icon-new-sever-small {
        transform: scale(.7) !important;
    }

    .main-content #list-menu {
        ul {
            li {
                transform: scale(.7) !important;
            }
        }
    }
}

@media (max-height: 685px) {
    .icon-new-sever, .icon-new-sever-small {
        transform: scale(.6) !important;
    }

    .main-content #list-menu {
        ul {
            li {
                transform: scale(.6) !important;
            }
        }
    }
}

@media (max-height: 585px) {
    .main-content #list-menu, .icon-new-sever, .icon-new-sever-small {
        transform: scale(.5) !important;
    }

    .main-content #list-menu {
        ul {
            li {
                transform: scale(.5) !important;
            }
        }
    }
}

@media (max-width: 1300px) {*/

/* .icon-new-sever {
        display: none;
    }

    .icon-new-sever-small {
        display: block !important;
    }*/

/*}*/

