*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
}

.nav a:hover{
    animation: laclu .5s linear infinite;
    text-decoration: none;
}
.wrapper {
    background-image: url('/assets/img/bg_pc.jpg');
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: #220000;
    /* height: 4000px; */
    overflow: hidden;
    height: auto;
}

.nav {
    display: flex;
    justify-content: center;
    align-content: center;
    height: 3vw;
    line-height: 3vw;
}

.nav a {
    font-family: 'Roboto', sans-serif;
    margin: 0 2vw;
    color: #fff;
    font-weight: 700;
    font-size: 1.5vw;
}

.btn-play {
    margin-top: 15vw;
    text-align: center;
}

.btn-play img, .napthe_btn img {
    animation: scaleAnimation 2s ease-in-out infinite;
}

.btn-play img {
    width: 6.5vw;
}


.box_tientich {
    margin-top: 20vw;
    margin-left: 39vw;
    display: flex;
}

.download_btn {
    width: 21vw;
}

.download_btn img {
    width: 10vw;
    margin-bottom: 4px;
}

.download_btn img:hover{
    animation: laclu .5s linear infinite;
}

.napthe_btn {
    transform: translateY(-1.5vw);
}

.napthe_btn img {
    width: 8vw;
}

.p2 {
    margin-top: 10vw;
    text-align: center;
}

.p2 a {
    margin: 1vw;
}

.p2 img {
    width: 6vw;
}

.p2 img:hover {
    transform: scale(1.1);
    transition: .5s;
}

.p3 {
    margin-top: 7vw;

}

.sonhangia {
    text-align: center;
}

.sonhangia p {
    color: #712323;
    font-size: 1.5vw;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    width: 30vw;
    margin: 0 auto;
    background-image: url("/assets/img/bg_point.png");
    background-size: 100%;
    background-repeat: no-repeat;
    padding: 4px 0;
}

.timeline {
    position: relative;
    top: 0;
    left: 0;
    height: 18vw;
}

.timeline-img  {
    position: relative;
    top: 4vw;
    left: 0;
    text-align: center;
}

.timeline-img img {
    position: absolute;
    width: 60vw;
    height: 1.5vw;
    top: 0vw;
    left: 20vw;
}

.grey {
    filter: brightness(0);
}



.mocqua a{
    position: absolute;
    filter: grayscale(1);
}

.mocqua img {
    width: 8vw;
}

.mocqua img:hover {
    transform: scale(1.1);
    transition: .5s;
}

.moc1{
    top: 1.5vw;
    left: 22vw;
}

.moc2{
    top: 1.5vw;
    left: 33vw;
}

.moc3{
    top: 1.5vw;
    left: 53vw;
}

.moc4{
    top: 1.5vw;
    left: 70vw;
}

.disable {
    filter: grayscale(1);
}

.btn_thamgia {
    text-align: center;
}

.btn_thamgia img {
    width: 20vw;
}

.btn_thamgia img:hover {
    animation: laclu .5s linear infinite;

}

.p4 {
    margin-top: 10vw;
    padding-bottom: 5vw;
}

.p4-tab {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
}

.p4-tab li {
    margin: 1vw;
    filter: grayscale(1);
    cursor: pointer;
}

.p4-tab li img {
    width: 5vw;

}

.p4-tab .active {
    filter: grayscale(0);
}


#showcase {
    width: 100%;
    /* height: 600px; */
    height: 33vw;
    overflow: unset!important;
    background-image: url("/assets/img/showcase-bottom.png");
    /* background-size: 80% 60%; */
    background-size: 65vw 20vw;
    background-repeat: no-repeat;
    background-position: center;
}

#showcase img {
    cursor: pointer;
    width: 8vw;
    transition: .1s;
    filter: grayscale(1);
}

#showcase img.active_char {
    width: 10vw;
    filter: grayscale(0);

}

.active img{
    transform: scale(1.5);
    transition: .3s;
}

.reflected{
    opacity: 1!important;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1vw 0;
}

.footer img {
    width: 150px;
}

.footer-content {
    text-align: center;
    margin: 0 40px;
	z-index: 1;
    color: #fff;
}


  @keyframes laclu {
    0% {
        transform: translate(0,0) rotate(0);
    }
    25% {
        transform: translate(-4px,4px) rotate(4deg);
    }
    50% {
        transform: translate(0,0) rotate(0);
    }
    75% {
        transform: translate(-4px,4px) rotate(-4deg);
    }
    100% {
        transform: translate(0,0) rotate(0);
    }

  }

  @keyframes scaleAnimation {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }

  @keyframes loader1Anim {
    from,to {
       transform: scale3d(1.15, 0.80, 1);
    }
    42% {
      transform: translateY(-45px) ;
    }
    88%{
      transform: scale3d(1,1,1);
    }
    95%{
      transform:  scale3d(1.05, 0.85, 1);
    }
    98% {
      transform: scale3d(1.15, 0.80, 1);
    }
  }
  .loading{
    position: relative;
    height: 0;
    width: 0;
    left: 50%;
    top: 60px;
  }




  .loading span{
    display: block;
    height: 20px;
    width: 20px;
    background: #fff;
    position: absolute;
    border-radius: 50%;
}


.loading span:nth-child(1){
    left: -40px;
    animation: loader1Anim 1.2s linear;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-direction: forwards;
    
}

.loading span:nth-child(2){
    left:-10px;
      animation: loader1Anim 1.2s linear;
      animation-delay: .2s;
      animation-iteration-count: infinite;
      animation-direction: forwards;
}

.loading span:nth-child(3){
    left: 20px;
      animation: loader1Anim 1.2s linear;
      animation-delay: .4s;
      animation-iteration-count: infinite;
      animation-direction: forwards;
}

/* modal trailer */

#modal_play   iframe {
    width: 53vw;
    height: 29vw;
}

#modal_play .modal-dialog.modal-dialog-centered {
    width: fit-content;
    margin-top: 7vw;
    margin-left: 23vw;
}

/* modal */
.modal-content {
    background-color: transparent;
    border: none;
    box-shadow: none;
}


#modal_nhanvat .modal-content img{
    width: 50vw;
}

#modal_nhanvat  .modal-dialog.modal-dialog-centered {
    width: fit-content;
    margin-top: 6vw;
    margin-left: 25vw;
}

.close span img {
    width: 70px!important;
}

.close {
    opacity: 1;
}

.close:hover{
    opacity: 1;
}

.mob {
    display: none;
}

.pc {
    display: block;
}

#modal_info .modal-bg {
    background-image: url(/assets/img/bg_popup.webp);
    background-size: 100%;
    background-repeat: no-repeat;
    height: 31vw;
}

#modal_info .modal-text {
    padding: 30px;
}
#modal_info .modal-dialog-centered {
    margin-top: 10vw;
}

#modal_info .title {
    margin-top: 60px;
}
#modal_info .btn-info {
    margin-top: 20px;
}
#div_copy_1999 {
    color: red;
    font-weight: 700;
    font-size: 20px;
}

@media only screen and (max-width: 768px) {
    .mob {
        display: block;
    }

    .pc {
        display: none;
    }

    .wrapper {
        background-image: url('/assets/img/bg_mob.jpg');
        overflow: hidden;
    }

    
    .btn-menu-m {
        width: 100px;
        height: 100px;
        margin-left: calc(100vw - 100px);
        position: fixed;
        top: 0;
    }

    .menu-m {
        background-image: url(/assets/img/bg-menu-mob.png);
        background-repeat: no-repeat;
        background-size: 100%;
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 100vw;
        z-index: 100;
        transition: all 1s ease;
    }

    .close-menu {
        width: 100px;
        height: 120px;
    }

    .active-menu {
        left: 0;
    }

    .menu {
        display: flex;
        flex-wrap: wrap;
        width: 200px;
        margin-left: 200px;
    }
    .menu a {
        margin-bottom: 50px;
        font-size: 40px;
        font-weight: 700;
        color: #fff;
        font-family: 'Roboto', sans-serif;
    }

    .menu img {
        transform: scale(1.5);
    }

    .btn-play {
        margin: 0;
        padding-top: 70vw;
    }

    .btn-play img {
        width: 100px;
    }

    .box_tientich {
        margin-top: 40vw;
        margin-left: 13vw;
    }

    .download-m {
        margin-top: 4vw;
        margin-right: 5vw;
    }

    .download-m a img{
        width: 300px;
    }

    .napthe_btn a img {
        width: 150px;
    }

    .p2 {
        margin-top: 40vw;
    }

    .p2 img {
        width: 15vw;
    }

    .p3 {
        margin-top: 25vw;
    }

    .sonhangia p {
        font-size: 5vw;
        width: 85vw;
    }

    .timeline {
        height: 40vw;
        top: 5vw;
    }

    .timeline-img img {
        width: 80vw;
        height: 2vw;
        left: 10vw;
    }

    .mocqua img {
        width: 15vw;
    }

    .moc1 {
        top: -1vw;
        left: 10vw;
    }


    .moc2 {
        top: -1vw;
        left: 30vw;
    }


    .moc3 {
        top: -1vw;
        left: 50vw;
    }


    .moc4 {
        top: -1vw;
        left: 75vw;
    }

    .btn_thamgia img {
        width: 50vw;
    }

    .p4 {
        margin-top: 40vw;
    }

    .p4-tab li img {
        width: 8vw;
    }

    #showcase {
        height: 60vw;
        background-size: 80vw 30vw;
    }
    
    #showcase img {
        width: 14vw;
    }

    #showcase img.active_char {
        width: 15vw;
    }

    .footer img {
        width: 100px;
    }

    .footer-content {
        margin: 0 26px;
    }

    #modal_nhanvat .modal-content img {
        width: 90vw;
    }

    #modal_nhanvat .modal-dialog.modal-dialog-centered {
        margin-top: 45vw;
        margin-left: 5vw;
    }

    /*modal play  */
    #modal_play   iframe {
        width: 90vw;
        height: 52vw;
    }
    
    #modal_play .modal-dialog.modal-dialog-centered {
        margin-top: 50vw;
        margin-left: 5vw;
    }

    #modal_info .modal-bg {
        height: 60vw;
    }

    #modal_info .modal-dialog-centered {
        margin-top: 50vw;
    }

    #modal_info .title {
        margin-top: 70px;
    }
    #modal_info .btn-info {
        margin-top: 20px;
    }
}